summaryrefslogtreecommitdiff
path: root/dev-python/fastapi
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-08 07:13:47 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-08 07:13:47 +0000
commita6a2723d14d4f75c9ff0ca130d38adb96945ada5 (patch)
treeace138fb5a1eb1ee0988577ad0689b2c01c3dabd /dev-python/fastapi
parent63cc2c766bddbc62e012b702853544b13e1d9612 (diff)
downloadbaldeagleos-repo-a6a2723d14d4f75c9ff0ca130d38adb96945ada5.tar.gz
baldeagleos-repo-a6a2723d14d4f75c9ff0ca130d38adb96945ada5.tar.xz
baldeagleos-repo-a6a2723d14d4f75c9ff0ca130d38adb96945ada5.zip
Adding metadata
Diffstat (limited to 'dev-python/fastapi')
-rw-r--r--dev-python/fastapi/Manifest4
-rw-r--r--dev-python/fastapi/fastapi-0.135.2.ebuild (renamed from dev-python/fastapi/fastapi-0.127.0.ebuild)27
-rw-r--r--dev-python/fastapi/fastapi-0.135.3.ebuild (renamed from dev-python/fastapi/fastapi-0.125.0.ebuild)33
-rw-r--r--dev-python/fastapi/files/fastapi-0.115.6-httpx-0.28-test-fix.patch26
4 files changed, 38 insertions, 52 deletions
diff --git a/dev-python/fastapi/Manifest b/dev-python/fastapi/Manifest
index f1bdf804dff1..3ceb1c1acf6b 100644
--- a/dev-python/fastapi/Manifest
+++ b/dev-python/fastapi/Manifest
@@ -1,3 +1,3 @@
-DIST fastapi-0.125.0.tar.gz 370550 BLAKE2B 0aff60b022fbe6252981ca962aab599aef2a4bbff06e44d919aa23ebdb587605327690c9572d3b021ad24df5d6b83acdc223a21c86598cfe38e1017552962170 SHA512 45ac3cce536ad8efe12f01db9a3347b9d8d023433f07a76efc2c10363db747abcaecbea9c597f571fa6f90355e5b75ec9416e5648660240427d9a77155b44b0a
-DIST fastapi-0.127.0.tar.gz 369269 BLAKE2B 5d7372892fdc63b3f8e9b75f3c7d9d23a902792badb91298e423e1d4630c77edf03ececef01db4fb0da750b6f5df4ec774e13da16c076f191aeeaf89fb2d72a4 SHA512 ec453a68385904b5d2d073ff362062a903b6b91c47cfce50e482715f4acd11574052c6d0d63f9a3932895226cff92d2c3771400b2d1230ebe55e1c9a45845c60
DIST fastapi-0.135.1.tar.gz 394962 BLAKE2B 95e002ac88880562fb19c51d6a9fa5b3a10f58ebfed32d70f8e4fcb9dd2e3c3366c5cbdefc3b4a8cd4d0fee8dc2e64dd9b1f5393d479cb6b3a62d5ee9b34abca SHA512 bd9b2789dbf98fbf566f340f9c890229ccb6f283066df54a82fab62763bd417a08b5fe3aa287409f224c30dbb4879b78f48e0a90d2261303879926621f4bc326
+DIST fastapi-0.135.2.tar.gz 395833 BLAKE2B 2177788bea82b840256beb46b1b15414a4aa26753c727107a3528101dd51f1f5f05e02f3603d4076df07c62824ba76d769aa72ad41c023c52072fa3e7c02d5b1 SHA512 62744ff30649569e74ee067c8d8fc96308f17a4d9ed055cb70b61cb38b7f0d0dd6d06a218294e2e6b96bd41a7b8b54947d75a56534f4b65af41e89c5cb108760
+DIST fastapi-0.135.3.tar.gz 396524 BLAKE2B 83ad655935be38c602c3a851910ab02dcc5e744241bb0e8f90864d97d37304a65e6d93790dbf8d7f05cc2d8e65e7d4ff1e5f934b4b272bbec43229db2a78e2d9 SHA512 3813ef68b3b090bb37970acdc43b29e468f9d17f48ebd960422188cc73854204eb425f743c13e84df622926475b971c74dacfac062f8392e1608b3ee1a47511c
diff --git a/dev-python/fastapi/fastapi-0.127.0.ebuild b/dev-python/fastapi/fastapi-0.135.2.ebuild
index 3cc081489421..ec8d2b8f0c24 100644
--- a/dev-python/fastapi/fastapi-0.127.0.ebuild
+++ b/dev-python/fastapi/fastapi-0.135.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024-2025 Gentoo Authors
+# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,22 +28,25 @@ SLOT="0"
RDEPEND="
>=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}]
- >=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}]
- <dev-python/starlette-0.51.0[${PYTHON_USEDEP}]
- >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-2.9.0[${PYTHON_USEDEP}]
+ >=dev-python/starlette-0.46.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/aiosqlite[${PYTHON_USEDEP}]
>=dev-python/anyio-3.2.1[${PYTHON_USEDEP}]
dev-python/argon2-cffi[${PYTHON_USEDEP}]
+ <dev-python/a2wsgi-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/a2wsgi-1.9.0[${PYTHON_USEDEP}]
dev-python/dirty-equals[${PYTHON_USEDEP}]
dev-python/email-validator[${PYTHON_USEDEP}]
- >=dev-python/flask-1.1.2[${PYTHON_USEDEP}]
+ <dev-python/flask-4.0.0[${PYTHON_USEDEP}]
+ >=dev-python/flask-3.0.0[${PYTHON_USEDEP}]
>=dev-python/inline-snapshot-0.21.1[${PYTHON_USEDEP}]
>=dev-python/jinja2-3.1.5[${PYTHON_USEDEP}]
- dev-python/orjson[${PYTHON_USEDEP}]
+ >=dev-python/orjson-3.9.3[${PYTHON_USEDEP}]
>=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}]
>=dev-python/pydantic-extra-types-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}]
@@ -51,17 +54,19 @@ BDEPEND="
>=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}]
<dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
+ <dev-python/strawberry-graphql-1.0.0[${PYTHON_USEDEP}]
+ >=dev-python/strawberry-graphql-0.200.0[${PYTHON_USEDEP}]
dev-python/sqlmodel[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
- dev-python/ujson[${PYTHON_USEDEP}]
+ dev-python/typer[${PYTHON_USEDEP}]
+ >=dev-python/ujson-5.8.0[${PYTHON_USEDEP}]
+ dev-python/uvicorn[${PYTHON_USEDEP}]
)
"
# brotli and zstd due to starlette based tests expecting it
-PATCHES=(
- "${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch"
-)
-
+# Hung once
+: ${EPYTEST_TIMEOUT:=60}
EPYTEST_PLUGINS=( anyio )
distutils_enable_tests pytest
diff --git a/dev-python/fastapi/fastapi-0.125.0.ebuild b/dev-python/fastapi/fastapi-0.135.3.ebuild
index d02d1761c364..ec8d2b8f0c24 100644
--- a/dev-python/fastapi/fastapi-0.125.0.ebuild
+++ b/dev-python/fastapi/fastapi-0.135.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024-2025 Gentoo Authors
+# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,40 +28,45 @@ SLOT="0"
RDEPEND="
>=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}]
- <dev-python/pydantic-3.0.0[${PYTHON_USEDEP}]
- >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}]
- <dev-python/starlette-0.51.0[${PYTHON_USEDEP}]
- >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-2.9.0[${PYTHON_USEDEP}]
+ >=dev-python/starlette-0.46.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/aiosqlite[${PYTHON_USEDEP}]
>=dev-python/anyio-3.2.1[${PYTHON_USEDEP}]
dev-python/argon2-cffi[${PYTHON_USEDEP}]
+ <dev-python/a2wsgi-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/a2wsgi-1.9.0[${PYTHON_USEDEP}]
dev-python/dirty-equals[${PYTHON_USEDEP}]
dev-python/email-validator[${PYTHON_USEDEP}]
- >=dev-python/flask-1.1.2[${PYTHON_USEDEP}]
+ <dev-python/flask-4.0.0[${PYTHON_USEDEP}]
+ >=dev-python/flask-3.0.0[${PYTHON_USEDEP}]
>=dev-python/inline-snapshot-0.21.1[${PYTHON_USEDEP}]
>=dev-python/jinja2-3.1.5[${PYTHON_USEDEP}]
- dev-python/orjson[${PYTHON_USEDEP}]
+ >=dev-python/orjson-3.9.3[${PYTHON_USEDEP}]
>=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}]
- dev-python/pydantic-settings[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-extra-types-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}]
dev-python/pyjwt[${PYTHON_USEDEP}]
>=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}]
<dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
+ <dev-python/strawberry-graphql-1.0.0[${PYTHON_USEDEP}]
+ >=dev-python/strawberry-graphql-0.200.0[${PYTHON_USEDEP}]
dev-python/sqlmodel[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
- dev-python/ujson[${PYTHON_USEDEP}]
+ dev-python/typer[${PYTHON_USEDEP}]
+ >=dev-python/ujson-5.8.0[${PYTHON_USEDEP}]
+ dev-python/uvicorn[${PYTHON_USEDEP}]
)
"
# brotli and zstd due to starlette based tests expecting it
-PATCHES=(
- "${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch"
-)
-
+# Hung once
+: ${EPYTEST_TIMEOUT:=60}
EPYTEST_PLUGINS=( anyio )
distutils_enable_tests pytest
@@ -104,6 +109,8 @@ pkg_postinst() {
optfeature "forms and file uploads" dev-python/python-multipart
optfeature "validate emails" dev-python/email-validator
optfeature "uvicorn with uvloop" dev-python/uvicorn
+ optfeature "settings management" dev-python/pydantic-settings
+ optfeature "extra Pydantic data types" dev-python/pydantic-extra-types
optfeature_header "Alternative JSON responses"
optfeature "ORJSONResponse" dev-python/orjson
optfeature "UJSONResponse" dev-python/ujson
diff --git a/dev-python/fastapi/files/fastapi-0.115.6-httpx-0.28-test-fix.patch b/dev-python/fastapi/files/fastapi-0.115.6-httpx-0.28-test-fix.patch
deleted file mode 100644
index 1ce4fe1d97d9..000000000000
--- a/dev-python/fastapi/files/fastapi-0.115.6-httpx-0.28-test-fix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py
-+++ b/tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py
-@@ -14,6 +14,22 @@ def test_endpoint_works():
- def test_exception_handler_body_access():
- response = client.post("/", json={"numbers": [1, 2, 3]})
- assert response.json() == IsDict(
-+ {
-+ 'detail': {
-+ 'body': '{"numbers":[1,2,3]}',
-+ 'errors': [
-+ {
-+ 'input': {'numbers': [1, 2, 3]},
-+ 'loc': ['body'],
-+ 'msg': 'Input should be a valid list',
-+ 'type': 'list_type'
-+ }
-+ ]
-+ }
-+ }
-+ ) | IsDict(
-+ # Pre httpx-0.28.0 json output
-+ # https://github.com/encode/httpx/pull/3367
- {
- "detail": {
- "errors": [
-