mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user