From 3e32683d88483590025c214928fed0c9c0b150db Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 23 Feb 2026 17:19:39 +0200 Subject: python3-gunicorn: Upgrade 24.1.1 -> 25.1.0 Upgrade to release 25.1.0: - Control Interface (gunicornc): Add interactive control interface for managing running Gunicorn instances, similar to birdc for BIRD routing daemon - Unix socket-based communication with JSON protocol - Interactive mode with readline support and command history - Commands: show all/workers/dirty/config/stats/listeners - Worker management: worker add/remove/kill, dirty add/remove - Server control: reload, reopen, shutdown - New settings: --control-socket, --control-socket-mode, --no-control-socket - New CLI tool: gunicornc for connecting to control socket - Dirty Stash: Add global shared state between workers via dirty.stash - In-memory key-value store accessible by all workers - Supports get, set, delete, clear, keys, and has operations - Useful for sharing state like feature flags, rate limits, or cached data - Dirty Binary Protocol: Implement efficient binary protocol for dirty arbiter IPC using TLV (Type-Length-Value) encoding - More efficient than JSON for binary data - Supports all Python types: str, bytes, int, float, bool, None, list, dict - Better performance for large payloads - Dirty TTIN/TTOU Signals: Add dynamic worker scaling for dirty arbiters - Send SIGTTIN to increase dirty workers - Send SIGTTOU to decrease dirty workers - Respects minimum worker constraints from app configurations - ASGI Worker: Promoted from beta to stable - Dirty Arbiters: Now marked as beta feature License-Update: Update years Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-gunicorn_24.1.1.bb | 30 --------------------- .../python/python3-gunicorn_25.1.0.bb | 31 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 30 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-gunicorn_24.1.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-gunicorn_25.1.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_24.1.1.bb b/meta-python/recipes-devtools/python/python3-gunicorn_24.1.1.bb deleted file mode 100644 index f7951b9b32..0000000000 --- a/meta-python/recipes-devtools/python/python3-gunicorn_24.1.1.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "WSGI HTTP Server for UNIX" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5b70a8b30792a916f50dc96123e61ddf" - -SRC_URI[sha256sum] = "f006d110e5cb3102859b4f5cd48335dbd9cc28d0d27cd24ddbdafa6c60929408" - -inherit pypi python_setuptools_build_meta ptest - -CVE_PRODUCT = "gunicorn" - -SRC_URI += " \ - file://run-ptest \ -" - -# python-misc for wsgiref -RDEPENDS:${PN}-ptest += " \ - python3-eventlet \ - python3-gevent \ - python3-misc \ - 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_25.1.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_25.1.0.bb new file mode 100644 index 0000000000..a8b06786ae --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gunicorn_25.1.0.bb @@ -0,0 +1,31 @@ +SUMMARY = "WSGI HTTP Server for UNIX" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5dc9171ccd8fcbd7827c850148b3ca98" + +SRC_URI[sha256sum] = "1426611d959fa77e7de89f8c0f32eed6aa03ee735f98c01efba3e281b1c47616" + +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-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