diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-29 19:07:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-29 19:07:49 +0000 |
| commit | 332b12c47c65e7075746dc873b96d8dc7ed3207c (patch) | |
| tree | 6b75c8b1b60b93672ed27632cc400830bab51960 /dev-python/fastapi | |
| parent | 7b3196ae40be194e76de4ffc8b62f2c0faecd410 (diff) | |
| download | baldeagleos-repo-332b12c47c65e7075746dc873b96d8dc7ed3207c.tar.gz baldeagleos-repo-332b12c47c65e7075746dc873b96d8dc7ed3207c.tar.xz baldeagleos-repo-332b12c47c65e7075746dc873b96d8dc7ed3207c.zip | |
Adding metadata
Diffstat (limited to 'dev-python/fastapi')
| -rw-r--r-- | dev-python/fastapi/Manifest | 4 | ||||
| -rw-r--r-- | dev-python/fastapi/fastapi-0.115.13.ebuild | 110 | ||||
| -rw-r--r-- | dev-python/fastapi/fastapi-0.115.14.ebuild | 110 | ||||
| -rw-r--r-- | dev-python/fastapi/fastapi-0.120.0.ebuild (renamed from dev-python/fastapi/fastapi-0.116.0.ebuild) | 9 | ||||
| -rw-r--r-- | dev-python/fastapi/files/fastapi-0.115.14-starlette-bump.patch | 22 |
5 files changed, 5 insertions, 250 deletions
diff --git a/dev-python/fastapi/Manifest b/dev-python/fastapi/Manifest index 7218f9567f97..97dd0ac025c5 100644 --- a/dev-python/fastapi/Manifest +++ b/dev-python/fastapi/Manifest @@ -1,3 +1 @@ -DIST fastapi-0.115.13.tar.gz 295680 BLAKE2B 04fa6fec81e25045f6e6601dc6207973fa4afe7b2fe6ebd27645a48f5b6f0a30758581dba947972fbcfb62e6e5dcf119c03f007c9f31ddc80236f1ea7e39d453 SHA512 0c337265d118ce86e1800251caba4f55ece9c8262870000cf5b3b36f21467079043377a136c1c5aa17f96b724c3633cc600c96093192ced7a2ffa18eba7c8171 -DIST fastapi-0.115.14.tar.gz 296263 BLAKE2B 196cf0043d43b9b03b24198c9c001e1fcd9a37ba608ae0190908024dfb0cff2789f85a8a1b5f9b61f66101df5b28c701638e15f414e446b5a57b64d482d52b9e SHA512 48831b78c6a4738b02ba32327d4cef251e776126180b265877fcf3bab3d7631dbb20434b63c5845781d3dae495cce9fb12ee59e35edc656c8806efbddbfc0e53 -DIST fastapi-0.116.0.tar.gz 296518 BLAKE2B c3b157e3723bc4491a0cc25215de0cd0deb1b9918c2bcd7a9cdc4eceac3fbe2306c64374c80668aa3bd1a6c62836fdcad373667a75aadc95885e8ae37d14b5d1 SHA512 1b74671b746c77aa31861979187e387b1e867d43985420adc5dee056f9f97104e754c6e6e9cbbfe96a59b83cdc2e3a67bb9f49d954f6f16d08b441e1be1e63bb +DIST fastapi-0.120.0.tar.gz 337603 BLAKE2B 0150e31be14538831e13fdce62148c8c29bd4dd033b87c08f628b0890815fc2621d07eb2ef2d4606c7c7141cedcaf7f74dabdf9fffc2a9891d6a1925e8852213 SHA512 656de3e759232151c558e14223261a616ddb7ecb027830453abe599919bcae6a1e46d6da0ce9e81d34a10f6e84546c7339b1e387d6aa786e6d4d9857d89a8256 diff --git a/dev-python/fastapi/fastapi-0.115.13.ebuild b/dev-python/fastapi/fastapi-0.115.13.ebuild deleted file mode 100644 index a5274f3e3b9b..000000000000 --- a/dev-python/fastapi/fastapi-0.115.13.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production" -HOMEPAGE=" - https://fastapi.tiangolo.com/ - https://pypi.org/project/fastapi/ - https://github.com/fastapi/fastapi -" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fastapi/fastapi.git" -else - inherit pypi - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - <dev-python/pydantic-3.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}] - <dev-python/starlette-0.48.0[${PYTHON_USEDEP}] - >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - >=dev-python/anyio-3.2.1[${PYTHON_USEDEP}] - dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/email-validator[${PYTHON_USEDEP}] - >=dev-python/flask-1.1.2[${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/passlib-2.0.0[${PYTHON_USEDEP}] - >=dev-python/passlib-1.7.2[${PYTHON_USEDEP}] - dev-python/pydantic-settings[${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/sqlmodel[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - ) -" -# brotli and zstd due to starlette based tests expecting it - -PATCHES=( - "${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch" - "${FILESDIR}/${PN}-0.115.14-starlette-bump.patch" -) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Depends on coverage - "tests/test_fastapi_cli.py::test_fastapi_cli" - # Test result affected by unrelated packages such as brotli and zstd - # https://github.com/fastapi/fastapi/blob/7c6f2f8fde68f488163376c9e92a59d46c491298/tests/test_tutorial/test_header_param_models/test_tutorial001.py#L77 - "tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore" - # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa196ca0cb1604875847b1b84fa64896a06f6e - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_upload" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_no_multipart_installed" - "tests/test_multipart_installation.py::test_no_multipart_installed_file" - "tests/test_multipart_installation.py::test_no_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_no_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_no_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_old_multipart_installed" - # Hangs with network-sandbox - "tests/test_tutorial/test_websockets/test_tutorial003_py39.py::test_websocket_handle_disconnection" - -) - -python_prepare_all() { - # Dont install fastapi executable as fastapi-cli is supposed to handle it - sed -i -e '/\[project.scripts\]/,/^$/d' pyproject.toml || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "commandline interface" dev-python/fastapi-cli - optfeature "test client" dev-python/httpx - optfeature "templates" dev-python/jinja2 - optfeature "forms and file uploads" dev-python/python-multipart - optfeature "validate emails" dev-python/email-validator - optfeature "uvicorn with uvloop" dev-python/uvicorn - optfeature_header "Alternative JSON responses" - optfeature "ORJSONResponse" dev-python/orjson - optfeature "UJSONResponse" dev-python/ujson -} diff --git a/dev-python/fastapi/fastapi-0.115.14.ebuild b/dev-python/fastapi/fastapi-0.115.14.ebuild deleted file mode 100644 index a5274f3e3b9b..000000000000 --- a/dev-python/fastapi/fastapi-0.115.14.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production" -HOMEPAGE=" - https://fastapi.tiangolo.com/ - https://pypi.org/project/fastapi/ - https://github.com/fastapi/fastapi -" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fastapi/fastapi.git" -else - inherit pypi - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - <dev-python/pydantic-3.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}] - <dev-python/starlette-0.48.0[${PYTHON_USEDEP}] - >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - >=dev-python/anyio-3.2.1[${PYTHON_USEDEP}] - dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/email-validator[${PYTHON_USEDEP}] - >=dev-python/flask-1.1.2[${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/passlib-2.0.0[${PYTHON_USEDEP}] - >=dev-python/passlib-1.7.2[${PYTHON_USEDEP}] - dev-python/pydantic-settings[${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/sqlmodel[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - ) -" -# brotli and zstd due to starlette based tests expecting it - -PATCHES=( - "${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch" - "${FILESDIR}/${PN}-0.115.14-starlette-bump.patch" -) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Depends on coverage - "tests/test_fastapi_cli.py::test_fastapi_cli" - # Test result affected by unrelated packages such as brotli and zstd - # https://github.com/fastapi/fastapi/blob/7c6f2f8fde68f488163376c9e92a59d46c491298/tests/test_tutorial/test_header_param_models/test_tutorial001.py#L77 - "tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore" - # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa196ca0cb1604875847b1b84fa64896a06f6e - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_upload" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_no_multipart_installed" - "tests/test_multipart_installation.py::test_no_multipart_installed_file" - "tests/test_multipart_installation.py::test_no_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_no_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_no_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_old_multipart_installed" - # Hangs with network-sandbox - "tests/test_tutorial/test_websockets/test_tutorial003_py39.py::test_websocket_handle_disconnection" - -) - -python_prepare_all() { - # Dont install fastapi executable as fastapi-cli is supposed to handle it - sed -i -e '/\[project.scripts\]/,/^$/d' pyproject.toml || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "commandline interface" dev-python/fastapi-cli - optfeature "test client" dev-python/httpx - optfeature "templates" dev-python/jinja2 - optfeature "forms and file uploads" dev-python/python-multipart - optfeature "validate emails" dev-python/email-validator - optfeature "uvicorn with uvloop" dev-python/uvicorn - optfeature_header "Alternative JSON responses" - optfeature "ORJSONResponse" dev-python/orjson - optfeature "UJSONResponse" dev-python/ujson -} diff --git a/dev-python/fastapi/fastapi-0.116.0.ebuild b/dev-python/fastapi/fastapi-0.120.0.ebuild index b56c27e79759..e56dde4ff2f9 100644 --- a/dev-python/fastapi/fastapi-0.116.0.ebuild +++ b/dev-python/fastapi/fastapi-0.120.0.ebuild @@ -27,9 +27,10 @@ LICENSE="MIT" 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.48.0[${PYTHON_USEDEP}] + <dev-python/starlette-0.49.0[${PYTHON_USEDEP}] >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] " @@ -37,15 +38,14 @@ BDEPEND=" test? ( dev-python/aiosqlite[${PYTHON_USEDEP}] >=dev-python/anyio-3.2.1[${PYTHON_USEDEP}] - dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] dev-python/dirty-equals[${PYTHON_USEDEP}] dev-python/email-validator[${PYTHON_USEDEP}] >=dev-python/flask-1.1.2[${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/passlib-2.0.0[${PYTHON_USEDEP}] - >=dev-python/passlib-1.7.2[${PYTHON_USEDEP}] + >=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}] dev-python/pydantic-settings[${PYTHON_USEDEP}] dev-python/pyjwt[${PYTHON_USEDEP}] >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] @@ -60,7 +60,6 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch" - "${FILESDIR}/${PN}-0.115.14-starlette-bump.patch" ) EPYTEST_PLUGINS=( anyio ) diff --git a/dev-python/fastapi/files/fastapi-0.115.14-starlette-bump.patch b/dev-python/fastapi/files/fastapi-0.115.14-starlette-bump.patch deleted file mode 100644 index 9c0b391638fd..000000000000 --- a/dev-python/fastapi/files/fastapi-0.115.14-starlette-bump.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://github.com/fastapi/fastapi/pull/13743 - -From 037aff6a9c4e3ea94d9312f734efd79220ac94d2 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" <code@musicinmybrain.net> -Date: Thu, 29 May 2025 13:25:06 -0400 -Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20Starlette=20to=20al?= - =?UTF-8?q?low=20up=20to=200.47.0:=20`>=3D0.40.0,<0.48.0`?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -43,7 +43,7 @@ classifiers = [ - "Topic :: Internet :: WWW/HTTP", - ] - dependencies = [ -- "starlette>=0.40.0,<0.47.0", -+ "starlette>=0.40.0,<0.48.0", - "pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0", - "typing-extensions>=4.8.0", - ] |
