diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-02-23 17:19:39 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-24 22:30:27 -0800 |
| commit | 3e32683d88483590025c214928fed0c9c0b150db (patch) | |
| tree | 9d2ba1cf9fd3a4325f206445c1043b301961023a /meta-python/recipes-devtools/python/python3-gunicorn_25.1.0.bb | |
| parent | 05308bb72d0e02e1cbf8899d4da3f073e66ebdc9 (diff) | |
| download | meta-openembedded-3e32683d88483590025c214928fed0c9c0b150db.tar.gz | |
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-gunicorn_25.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-gunicorn_25.1.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "WSGI HTTP Server for UNIX" | ||
| 2 | |||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5dc9171ccd8fcbd7827c850148b3ca98" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "1426611d959fa77e7de89f8c0f32eed6aa03ee735f98c01efba3e281b1c47616" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta ptest | ||
| 9 | |||
| 10 | CVE_PRODUCT = "gunicorn" | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | # python-misc for wsgiref | ||
| 17 | RDEPENDS:${PN}-ptest += " \ | ||
| 18 | bash \ | ||
| 19 | python3-eventlet \ | ||
| 20 | python3-gevent \ | ||
| 21 | python3-misc \ | ||
| 22 | python3-pytest \ | ||
| 23 | python3-unittest-automake-output \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install_ptest() { | ||
| 27 | install -d ${D}${PTEST_PATH}/tests | ||
| 28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 29 | } | ||
| 30 | |||
| 31 | RDEPENDS:${PN} += "python3-setuptools python3-fcntl" | ||
