Files
meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_25.1.0.bb
Leon Anavi 3e32683d88 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>
2026-02-24 22:30:27 -08:00

32 lines
681 B
BlitzBasic

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"