diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-18 06:46:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-18 06:46:39 +0000 |
| commit | 1cb3dfc58c877081451f367584b23c5d9f3211eb (patch) | |
| tree | 464cdadb21b43100a2e2f1eb7d1bf7dbd1e1443d /dev-python/fastapi | |
| parent | ea2f4386f269c7dafe96753c0cfa00bc5258d97e (diff) | |
| download | baldeagleos-repo-1cb3dfc58c877081451f367584b23c5d9f3211eb.tar.gz baldeagleos-repo-1cb3dfc58c877081451f367584b23c5d9f3211eb.tar.xz baldeagleos-repo-1cb3dfc58c877081451f367584b23c5d9f3211eb.zip | |
Adding metadata
Diffstat (limited to 'dev-python/fastapi')
| -rw-r--r-- | dev-python/fastapi/fastapi-0.115.12-r1.ebuild (renamed from dev-python/fastapi/fastapi-0.115.12.ebuild) | 13 | ||||
| -rw-r--r-- | dev-python/fastapi/files/fastapi-0.115.12-starlette-0.48.0.patch | 26 | ||||
| -rw-r--r-- | dev-python/fastapi/files/fastapi-0.115.6-httpx-0.28-test-fix.patch (renamed from dev-python/fastapi/files/fastaapi-0.115.6-httpx-0.28-test-fix.patch) | 0 |
3 files changed, 35 insertions, 4 deletions
diff --git a/dev-python/fastapi/fastapi-0.115.12.ebuild b/dev-python/fastapi/fastapi-0.115.12-r1.ebuild index fe85c6f57fc3..4225a3bbe3b4 100644 --- a/dev-python/fastapi/fastapi-0.115.12.ebuild +++ b/dev-python/fastapi/fastapi-0.115.12-r1.ebuild @@ -22,7 +22,7 @@ KEYWORDS="~amd64" RDEPEND=" <dev-python/pydantic-3.0.0[${PYTHON_USEDEP}] >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}] - <dev-python/starlette-0.47.0[${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}] " @@ -48,10 +48,11 @@ BDEPEND=" dev-python/ujson[${PYTHON_USEDEP}] ) " -# brottli and zstd due to starlette based tests expecting it +# brotli and zstd due to starlette based tests expecting it PATCHES=( - "${FILESDIR}"/fastaapi-0.115.6-httpx-0.28-test-fix.patch + "${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch" + "${FILESDIR}/${PN}-0.115.12-starlette-0.48.0.patch" ) distutils_enable_tests pytest @@ -59,7 +60,7 @@ 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 brottli and zstd + # 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" # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa196ca0cb1604875847b1b84fa64896a06f6e @@ -74,6 +75,10 @@ EPYTEST_DESELECT=( "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" + + # formatting changes? + "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore" + "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid" ) python_prepare_all() { diff --git a/dev-python/fastapi/files/fastapi-0.115.12-starlette-0.48.0.patch b/dev-python/fastapi/files/fastapi-0.115.12-starlette-0.48.0.patch new file mode 100644 index 000000000000..7783ed459a43 --- /dev/null +++ b/dev-python/fastapi/files/fastapi-0.115.12-starlette-0.48.0.patch @@ -0,0 +1,26 @@ +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 + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 1c540e2f63b66..a0fe805cdb3b3 100644 +--- 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", + ] diff --git a/dev-python/fastapi/files/fastaapi-0.115.6-httpx-0.28-test-fix.patch b/dev-python/fastapi/files/fastapi-0.115.6-httpx-0.28-test-fix.patch index 1ce4fe1d97d9..1ce4fe1d97d9 100644 --- a/dev-python/fastapi/files/fastaapi-0.115.6-httpx-0.28-test-fix.patch +++ b/dev-python/fastapi/files/fastapi-0.115.6-httpx-0.28-test-fix.patch |
