python3-gunicorn: upgrade 26.0.0 -> 26.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Wang Mingyu
2026-08-26 10:26:45 -07:00
committed by Khem Raj
parent c4bb1da0c2
commit f56454ea74
@@ -0,0 +1,43 @@
SUMMARY = "WSGI HTTP Server for UNIX"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5dc9171ccd8fcbd7827c850148b3ca98"
SRC_URI[sha256sum] = "1413d777bf99d31ebeb08acd354b01f1ecc44db0aa7b811ae7b86c669232e4f7"
inherit pypi python_setuptools_build_meta ptest
CVE_PRODUCT = "gunicorn"
SRC_URI += " \
file://run-ptest \
"
# python-misc for wsgiref
RDEPENDS:${PN}-ptest += " \
bash \
python3-eventlet \
python3-gevent \
python3-misc \
python3-multiprocessing \
python3-pytest \
python3-pytest-asyncio \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
# tests/docker/* are docker-compose/Dockerfile-driven integration tests
# requiring a Docker daemon, which the ptest QEMU environment doesn't have
rm -rf ${D}${PTEST_PATH}/tests/docker
# upstream's pyproject.toml sets asyncio_mode=auto for the async tests
# under tests/dirty and tests/ctl; provide just that bit without pulling
# in the rest of upstream's addopts (e.g. --cov=gunicorn)
cat > ${D}${PTEST_PATH}/pytest.ini <<EOF
[pytest]
asyncio_mode = auto
EOF
}
RDEPENDS:${PN} += "python3-setuptools python3-fcntl"