diff mbox series

[meta-python,11/22] python3-uvicorn: Upgrade 0.54.0 -> 0.55.0

Message ID 20261130084821.1501209-12-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, new recipes and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:48 a.m. UTC
- Supports Python 3.15 and drops Python 3.10.
- Removes a ~40 ms delay on keep-alive requests with --workers or
  --reload on the asyncio loop (TCP_NODELAY on accepted sockets).
- Fast startup when reload patterns match many directories.
- WebSocket handshakes that cannot be parsed are closed cleanly, and
  denial responses behave the same on websockets-sansio and wsproto.

The version now comes from the git tag through the uv-dynamic-versioning
hatch plugin; with the PyPI sdist it reads the version from PKG-INFO, so
add the plugin and its dependencies as native build dependencies, as
python3-httpx2 does.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...thon3-uvicorn_0.54.0.bb => python3-uvicorn_0.55.0.bb} | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-uvicorn_0.54.0.bb => python3-uvicorn_0.55.0.bb} (78%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-uvicorn_0.54.0.bb b/meta-python/recipes-devtools/python/python3-uvicorn_0.55.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-uvicorn_0.54.0.bb
rename to meta-python/recipes-devtools/python/python3-uvicorn_0.55.0.bb
index e238c4a0ba..ddc2a5c054 100644
--- a/meta-python/recipes-devtools/python/python3-uvicorn_0.54.0.bb
+++ b/meta-python/recipes-devtools/python/python3-uvicorn_0.55.0.bb
@@ -4,7 +4,7 @@  LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5c778842f66a649636561c423c0eec2e"
 RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"
 
-SRC_URI[sha256sum] = "a2e33cbfaa0306f8e6b0c13e0cb89d7d7a2da3e62b90c66e18c33d9807b28620"
+SRC_URI[sha256sum] = "b65ae5f0f30cdcbc26a104b93d7d19723aa5f46fec3915a6c247d5795449331c"
 
 SRC_URI += "file://0001-ptest-disable-failing-tests.patch \
             file://0002-ptest-skip-test_headers.patch \
@@ -12,6 +12,13 @@  SRC_URI += "file://0001-ptest-disable-failing-tests.patch \
 
 inherit pypi python_hatchling ptest-python-pytest
 
+DEPENDS += " \
+    python3-dunamai-native \
+    python3-jinja2-native \
+    python3-tomlkit-native \
+    python3-uv-dynamic-versioning-native \
+"
+
 CVE_PRODUCT = "encode:uvicorn"
 CVE_STATUS[CVE-2020-7694] = "fixed-version: The vulnerability has been fixed since 0.11.7"