Files
meta-openembedded/meta-python/recipes-devtools/python/python3-uvicorn_0.54.0.bb
T
Khem Raj bbedfa578f python3-uvicorn: upgrade 0.49.0 -> 0.54.0
Refresh the ptest skip patches. The tests moved from httpx to httpx2;
update the ptest RDEPENDS.

Changes:
- 0.50: --ws auto now selects websockets-sansio (needs websockets
  >=13.0); legacy websockets implementation deprecated. Startup
  failures exit with code 3 and stop the multiprocess supervisor.
- 0.51: workers restarted one at a time on SIGHUP; colorama removed
  from the "standard" extra. click.style replaced by internal helper.
- 0.52 to 0.54: experimental HTTP/1.1 and HTTP/2 via the new optional
  zttp package (--http zttp [--http2]), zuvloop support, HTTP/2
  trailers and 103 Early Hints.
- Fixes: WebSocket closing handshake, write flow control, duplicate
  headers, IPv6 loopback trusted in default FORWARDED_ALLOW_IPS,
  memory regression with --reload/--workers.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:59:05 -08:00

34 lines
961 B
BlitzBasic

SUMMARY = "The lightning-fast ASGI server."
HOMEPAGE = "https://github.com/encode/uvicorn"
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 += "file://0001-ptest-disable-failing-tests.patch \
file://0002-ptest-skip-test_headers.patch \
"
inherit pypi python_hatchling ptest-python-pytest
CVE_PRODUCT = "encode:uvicorn"
CVE_STATUS[CVE-2020-7694] = "fixed-version: The vulnerability has been fixed since 0.11.7"
RDEPENDS:${PN} = "\
python3-click \
python3-h11 (>=0.8) \
python3-httptools \
python3-multiprocessing \
python3-python-dotenv \
python3-websockets \
python3-wsproto \
"
RDEPENDS:${PN}-ptest += "\
python3-a2wsgi \
python3-httpx2 \
python3-pytest-mock \
python3-pyyaml \
"