summaryrefslogtreecommitdiff
path: root/dev-python/fastapi
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-01 20:47:42 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-01 20:47:42 +0000
commit5d247b8408a6f5dfe82cb9f64ec52480aa51892f (patch)
treeee3834ceeba79f2740e09798f6b224c35015fc26 /dev-python/fastapi
parent74755341b8504dc85ac08673144c0ec341b3a166 (diff)
downloadbaldeagleos-repo-5d247b8408a6f5dfe82cb9f64ec52480aa51892f.tar.gz
baldeagleos-repo-5d247b8408a6f5dfe82cb9f64ec52480aa51892f.tar.xz
baldeagleos-repo-5d247b8408a6f5dfe82cb9f64ec52480aa51892f.zip
Adding metadata
Diffstat (limited to 'dev-python/fastapi')
-rw-r--r--dev-python/fastapi/Manifest2
-rw-r--r--dev-python/fastapi/fastapi-0.115.13.ebuild2
-rw-r--r--dev-python/fastapi/fastapi-0.115.14.ebuild (renamed from dev-python/fastapi/fastapi-0.115.12-r1.ebuild)23
-rw-r--r--dev-python/fastapi/files/fastapi-0.115.14-starlette-bump.patch (renamed from dev-python/fastapi/files/fastapi-0.115.12-starlette-0.48.0.patch)8
4 files changed, 20 insertions, 15 deletions
diff --git a/dev-python/fastapi/Manifest b/dev-python/fastapi/Manifest
index f09dd65d38a5..8cedfa132f74 100644
--- a/dev-python/fastapi/Manifest
+++ b/dev-python/fastapi/Manifest
@@ -1,2 +1,2 @@
-DIST fastapi-0.115.12.tar.gz 295236 BLAKE2B 224b74553668721dde3592a50a3d5b02a967a58f55d3beb6bec753755cddfbb803f0661ce6cc41af3ddfc28bb304d053f41aad8ab9d8965048ff80cad6c3207e SHA512 8eb8d998643ca748744b9c00e14cdd62f02e58145e2a64dcf090361d56fa52a12b643b8fc3dc98f41af74c06d46b787acf92ae2be828d99b6d4290c20ced7f6f
DIST fastapi-0.115.13.tar.gz 295680 BLAKE2B 04fa6fec81e25045f6e6601dc6207973fa4afe7b2fe6ebd27645a48f5b6f0a30758581dba947972fbcfb62e6e5dcf119c03f007c9f31ddc80236f1ea7e39d453 SHA512 0c337265d118ce86e1800251caba4f55ece9c8262870000cf5b3b36f21467079043377a136c1c5aa17f96b724c3633cc600c96093192ced7a2ffa18eba7c8171
+DIST fastapi-0.115.14.tar.gz 296263 BLAKE2B 196cf0043d43b9b03b24198c9c001e1fcd9a37ba608ae0190908024dfb0cff2789f85a8a1b5f9b61f66101df5b28c701638e15f414e446b5a57b64d482d52b9e SHA512 48831b78c6a4738b02ba32327d4cef251e776126180b265877fcf3bab3d7631dbb20434b63c5845781d3dae495cce9fb12ee59e35edc656c8806efbddbfc0e53
diff --git a/dev-python/fastapi/fastapi-0.115.13.ebuild b/dev-python/fastapi/fastapi-0.115.13.ebuild
index b103db4dcacc..47fc0a37175b 100644
--- a/dev-python/fastapi/fastapi-0.115.13.ebuild
+++ b/dev-python/fastapi/fastapi-0.115.13.ebuild
@@ -60,7 +60,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch"
- "${FILESDIR}/${PN}-0.115.12-starlette-0.48.0.patch"
+ "${FILESDIR}/${PN}-0.115.14-starlette-bump.patch"
)
distutils_enable_tests pytest
diff --git a/dev-python/fastapi/fastapi-0.115.12-r1.ebuild b/dev-python/fastapi/fastapi-0.115.14.ebuild
index 4225a3bbe3b4..47fc0a37175b 100644
--- a/dev-python/fastapi/fastapi-0.115.12-r1.ebuild
+++ b/dev-python/fastapi/fastapi-0.115.14.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( python3_{9,10,11,12,13} )
-inherit distutils-r1 optfeature pypi
+inherit distutils-r1 optfeature
DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production"
HOMEPAGE="
@@ -15,9 +15,16 @@ HOMEPAGE="
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"
-KEYWORDS="~amd64"
RDEPEND="
<dev-python/pydantic-3.0.0[${PYTHON_USEDEP}]
@@ -30,10 +37,11 @@ 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[${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}]
@@ -52,7 +60,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch"
- "${FILESDIR}/${PN}-0.115.12-starlette-0.48.0.patch"
+ "${FILESDIR}/${PN}-0.115.14-starlette-bump.patch"
)
distutils_enable_tests pytest
@@ -63,6 +71,8 @@ EPYTEST_DESELECT=(
# 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"
@@ -75,10 +85,9 @@ 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"
+ # Hangs with network-sandbox
+ "tests/test_tutorial/test_websockets/test_tutorial003_py39.py::test_websocket_handle_disconnection"
- # 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.14-starlette-bump.patch
index 7783ed459a43..9c0b391638fd 100644
--- a/dev-python/fastapi/files/fastapi-0.115.12-starlette-0.48.0.patch
+++ b/dev-python/fastapi/files/fastapi-0.115.14-starlette-bump.patch
@@ -1,3 +1,5 @@
+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
@@ -7,12 +9,6 @@ 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 = [