python3-uvicorn: Upgrade 0.42.0 -> 0.44.0

Upgrade to release 0.44.0:

- Implement websocket keepalive pings for websockets-sansio

From 0.43.0:

- Emit http.disconnect ASGI receive() event on server shutting down
  for streaming responses
- Use native context parameter for create_task on Python 3.11+
- Drop cast in ASGI types

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi
2026-04-15 15:28:28 +03:00
committed by Khem Raj
parent 85ed0b926c
commit 18a7b38f73
@@ -0,0 +1,32 @@
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] = "6c942071b68f07e178264b9152f1f16dfac5da85880c4ce06366a96d70d4f31e"
SRC_URI += "file://0001-ptest-disable-failing-tests.patch"
inherit pypi python_hatchling ptest-python-pytest
PYPI_PACKAGE = "uvicorn"
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-httpx \
python3-pytest-mock \
python3-pyyaml \
"