python3Packages.fastapi: use httpx in optional dependencies

And explicitly add httpx2 to tests inputs. This is a fixup to commit
40d7bc5a60 .
This commit is contained in:
Doron Behar
2026-07-12 14:17:26 +03:00
parent 6304b10b43
commit 243cd8239c

View File

@@ -18,6 +18,7 @@
a2wsgi,
dirty-equals,
flask,
httpx2,
inline-snapshot,
pwdlib,
pyjwt,
@@ -27,7 +28,7 @@
# optional-dependencies
fastapi-cli,
httpx2,
httpx,
jinja2,
itsdangerous,
python-multipart,
@@ -64,7 +65,7 @@ buildPythonPackage (finalAttrs: {
optional-dependencies = {
all = [
fastapi-cli
httpx2
httpx
jinja2
python-multipart
itsdangerous
@@ -79,7 +80,7 @@ buildPythonPackage (finalAttrs: {
standard = [
fastapi-cli
# FIXME package fastar
httpx2
httpx
jinja2
python-multipart
email-validator
@@ -91,7 +92,7 @@ buildPythonPackage (finalAttrs: {
++ uvicorn.optional-dependencies.standard;
standard-no-fastapi-cloud-cli = [
fastapi-cli
httpx2
httpx
jinja2
python-multipart
email-validator
@@ -109,6 +110,7 @@ buildPythonPackage (finalAttrs: {
a2wsgi
dirty-equals
flask
httpx2
inline-snapshot
pwdlib
pyjwt