Files
meta-openembedded/meta-python/recipes-devtools/python/python3-uvicorn_0.49.0.bb
T
Khem Raj 5c5e2576f6 python3-uvicorn: skip websocket tests unsupported/unstable under ptest
Skip test_send_binary_data_to_server_bigger_than_default_on_websockets,
test_multiprocess_health_check and test_multiprocess_sighup, and drop
use_colors from the test config, all of which don't hold up in the
ptest QEMU environment.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:05 -07:00

35 lines
985 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] = "ebf4271aa580d9de97f93192d4595176df6e91f9aae919ca73e4fc07df1e66a3"
SRC_URI += "file://0001-ptest-disable-failing-tests.patch \
file://0002-ptest-skip-test_headers.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 \
"