repo/gentoo:master commit in: dev-python/uvicorn/
MichaŠGórny <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786681273.6a61a9ca614505c27a1c147947289de8fa6a3da5.mgorny@gentoo> |
commit: 6a61a9ca614505c27a1c147947289de8fa6a3da5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 03:47:12 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 04:21:13 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a61a9ca
dev-python/uvicorn: Bump to 0.52.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/uvicorn/Manifest | 2 +
dev-python/uvicorn/uvicorn-0.52.3.ebuild | 70 ++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
index 2e70d14fdcab..3723f13f508c 100644
--- a/dev-python/uvicorn/Manifest
+++ b/dev-python/uvicorn/Manifest
@@ -2,3 +2,5 @@ DIST uvicorn-0.51.0.tar.gz 94412 BLAKE2B 80334c8fbde6624072a2b13391d80493affe6ae
DIST uvicorn-0.51.0.tar.gz.provenance 9737 BLAKE2B 2ec83d01d615cecd97da8478ac37bae91759e01f9b37c73be204a4c0f08d00710e7eda005f6161191dd6466845a058bf5030fb999f9ea3a3d4a2aba3ce86a9ef SHA512 2acd44c85fde7059e1f857544cd611c12d2b243e870a2875767ddd07f794b42243c93fdbeadf1f5d2a867558ea397dcd8ef7e98a942c4f11ea802a9d1ef2b58b
DIST uvicorn-0.52.1.tar.gz 100571 BLAKE2B 3db0bcc0dab7cfec06b96d714fd561b22aa400fd3df53d8f4e2c8eca47e907aa6cf41445668e1cdb4d29f09f5e8e20393c45eeeec0d0f4cca4772d09e2c17eee SHA512 a6ee1766ab44971c0aa51b9a31654bcea2d885e6cea3ffd4bc67607aed2a18fbe2475cc7e7a05796a51a40904122b5f8eca1cefc70eaabc61ac308161be8b2c6
DIST uvicorn-0.52.1.tar.gz.provenance 9377 BLAKE2B 334badcd244016c352712863d8afdd8aec93b6d909d18a1dcde5e0919b77cfd6d290a5afc38e1dcd10c2ecc69a07f7dbb34e3f41aced067025a7467b14029e62 SHA512 1d27ae7d57c993bb93908632253533cda966789f67943098237e56b37cf0b4e4b4634f760bec417eda824288c8be67608ed1cc138019af1d3b903420d7ad51fe
+DIST uvicorn-0.52.3.tar.gz 100621 BLAKE2B dc1041554e622bbd43fc9c34b6b9022a859f07ba17f4f432ace2553777fe89f4d3218d7d87b9f30942b6c5f7e0d6e7a5c248217ebb55b884ae6c1eebc4bad9fe SHA512 c4733d59e597134a1221a923802dddf7220a18715b08a56fccec1bc2ed5cd2858c6a05549bb24b94f67b48342ecfe2e9f0093361176f80814145eaa847597e19
+DIST uvicorn-0.52.3.tar.gz.provenance 9802 BLAKE2B d6e9972bb59bdd2e517628a605c90879456a68b2e2394a2ba53186e5af7039d4ba7d33ee20f6204539db78dd6bdc894c00cda47242383cf3d5b510d4f321fd37 SHA512 6a5a87767eea9e3ddd512e8de39679ddbe4317d89d4205ac7b491d1c03a69b64625502d895aa9113f770a053a253ae359752b73628010e85ed874a29c278f3fc
diff --git a/dev-python/uvicorn/uvicorn-0.52.3.ebuild b/dev-python/uvicorn/uvicorn-0.52.3.ebuild
new file mode 100644
index 000000000000..5be8404ed520
--- /dev/null
+++ b/dev-python/uvicorn/uvicorn-0.52.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/Kludex/uvicorn
+PYTHON_COMPAT=( python3_{12..15} )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Lightning-fast ASGI server implementation"
+HOMEPAGE="
+ https://uvicorn.dev/
+ https://github.com/Kludex/uvicorn/
+ https://pypi.org/project/uvicorn/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test-rust"
+
+RDEPEND="
+ >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}]
+ >=dev-python/click-7.0[${PYTHON_USEDEP}]
+ >=dev-python/h11-0.8[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/a2wsgi[${PYTHON_USEDEP}]
+ >=dev-python/httptools-0.8.0[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.28[${PYTHON_USEDEP}]
+ dev-python/python-dotenv[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ >=dev-python/websockets-13.0[${PYTHON_USEDEP}]
+ dev-python/wsproto[${PYTHON_USEDEP}]
+ test-rust? (
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/trustme[${PYTHON_USEDEP}]
+ >=dev-python/watchfiles-0.20[${PYTHON_USEDEP}]
+ )
+ )
+"
+
+EPYTEST_PLUGINS=( anyio pytest-mock )
+EPYTEST_RERUNS=5
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # too long path for unix socket
+ tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers
+ # TODO
+ 'tests/protocols/test_http.py::test_close_connection_with_multiple_requests[httptools]'
+ 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[httptools-max=defaults sent=defaults+1]'
+ 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[h11-max=defaults sent=defaults+1]'
+ # tests broken with non-ancient dev-python/websockets
+ tests/protocols/test_websocket.py::test_fragmented_message_exceeding_max_size
+ tests/protocols/test_websocket.py::test_fragmented_message_reassembly
+)
+
+EPYTEST_IGNORE=(
+ tests/benchmarks
+)
+
+pkg_postinst() {
+ optfeature "auto reload on file changes" dev-python/watchfiles
+}