From f96f5cef7a71bf395a46a22be32317ba7104c424 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 28 Aug 2024 16:25:02 +0800 Subject: python3-gunicorn: upgrade 22.0.0 -> 23.0.0 Changelog: =========== - minor docs fixes - worker_class parameter accepts a class - fix deadlock if request terminated during chunked parsing - permit receiving Transfer-Encodings: compress, deflate, gzip - permit Transfer-Encoding headers specifying multiple encodings. note: no parameters, still - sdist generation now explicitly excludes sphinx build folder - decode bytes-typed status (as can be passed by gevent) as utf-8 instead of raising TypeError - raise correct Exception when encounting invalid chunked requests - the SCRIPT_NAME and PATH_INFO headers, when received from allowed forwarders, are no longer restricted for containing an underscore - include IPv6 loopback address [::1] in default for forwarded_allow_ips and proxy_allow_ips - refuse requests where the uri field is empty - refuse requests with invalid CR/LR/NUL in heade field values - remove temporary --tolerate-dangerous-framing switch from 22.0 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-gunicorn_22.0.0.bb | 26 ---------------------- .../python/python3-gunicorn_23.0.0.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb deleted file mode 100644 index e9ad084d46..0000000000 --- a/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "WSGI HTTP Server for UNIX" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5b70a8b30792a916f50dc96123e61ddf" - -SRC_URI[sha256sum] = "4a0b436239ff76fb33f11c07a16482c521a7e09c1ce3cc293c2330afe01bec63" - -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-eventlet \ - python3-gevent \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += "python3-setuptools python3-fcntl" diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb new file mode 100644 index 0000000000..8d825c8651 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "WSGI HTTP Server for UNIX" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5b70a8b30792a916f50dc96123e61ddf" + +SRC_URI[sha256sum] = "f014447a0101dc57e294f6c18ca6b40227a4c90e9bdb586042628030cba004ec" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-eventlet \ + python3-gevent \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += "python3-setuptools python3-fcntl" -- cgit v1.2.3-54-g00ecf