pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-gunicorn
Module Name: pkgsrc
Committed By: adam
Date: Mon Feb 16 12:48:36 UTC 2026
Modified Files:
pkgsrc/www/py-gunicorn: ALTERNATIVES Makefile PLIST distinfo
Log Message:
py-gunicorn: updated to 25.1.0
25.1.0 - 2026-02-13
New Features
- **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
- See [Control Interface Guide](guides/gunicornc.md) for details
- **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
Changes
- **ASGI Worker**: Promoted from beta to stable
- **Dirty Arbiters**: Now marked as beta feature
Documentation
- Fix Markdown formatting in /configure documentation
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-gunicorn/ALTERNATIVES
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-gunicorn/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-gunicorn/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/py-gunicorn/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-gunicorn/ALTERNATIVES
diff -u pkgsrc/www/py-gunicorn/ALTERNATIVES:1.3 pkgsrc/www/py-gunicorn/ALTERNATIVES:1.4
--- pkgsrc/www/py-gunicorn/ALTERNATIVES:1.3 Wed Nov 20 11:32:32 2019
+++ pkgsrc/www/py-gunicorn/ALTERNATIVES Mon Feb 16 12:48:35 2026
@@ -1 +1,2 @@
bin/gunicorn @PREFIX@/bin/gunicorn-@PYVERSSUFFIX@
+bin/gunicornc @PREFIX@/bin/gunicornc-@PYVERSSUFFIX@
Index: pkgsrc/www/py-gunicorn/Makefile
diff -u pkgsrc/www/py-gunicorn/Makefile:1.29 pkgsrc/www/py-gunicorn/Makefile:1.30
--- pkgsrc/www/py-gunicorn/Makefile:1.29 Thu Feb 12 11:31:11 2026
+++ pkgsrc/www/py-gunicorn/Makefile Mon Feb 16 12:48:35 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2026/02/12 11:31:11 adam Exp $
+# $NetBSD: Makefile,v 1.30 2026/02/16 12:48:35 adam Exp $
-DISTNAME= gunicorn-25.0.3
+DISTNAME= gunicorn-25.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gunicorn/}
@@ -20,8 +20,10 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[
USE_LANGUAGES= # none
post-install:
+.for bin in gunicorn gunicornc
cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} gunicorn gunicorn-${PYVERSSUFFIX} || ${TRUE}
+ ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-gunicorn/PLIST
diff -u pkgsrc/www/py-gunicorn/PLIST:1.16 pkgsrc/www/py-gunicorn/PLIST:1.17
--- pkgsrc/www/py-gunicorn/PLIST:1.16 Tue Feb 3 09:17:23 2026
+++ pkgsrc/www/py-gunicorn/PLIST Mon Feb 16 12:48:35 2026
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.16 2026/02/03 09:17:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2026/02/16 12:48:35 adam Exp $
bin/gunicorn-${PYVERSSUFFIX}
+bin/gunicornc-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -51,6 +52,24 @@ ${PYSITELIB}/gunicorn/asgi/websocket.pyo
${PYSITELIB}/gunicorn/config.py
${PYSITELIB}/gunicorn/config.pyc
${PYSITELIB}/gunicorn/config.pyo
+${PYSITELIB}/gunicorn/ctl/__init__.py
+${PYSITELIB}/gunicorn/ctl/__init__.pyc
+${PYSITELIB}/gunicorn/ctl/__init__.pyo
+${PYSITELIB}/gunicorn/ctl/cli.py
+${PYSITELIB}/gunicorn/ctl/cli.pyc
+${PYSITELIB}/gunicorn/ctl/cli.pyo
+${PYSITELIB}/gunicorn/ctl/client.py
+${PYSITELIB}/gunicorn/ctl/client.pyc
+${PYSITELIB}/gunicorn/ctl/client.pyo
+${PYSITELIB}/gunicorn/ctl/handlers.py
+${PYSITELIB}/gunicorn/ctl/handlers.pyc
+${PYSITELIB}/gunicorn/ctl/handlers.pyo
+${PYSITELIB}/gunicorn/ctl/protocol.py
+${PYSITELIB}/gunicorn/ctl/protocol.pyc
+${PYSITELIB}/gunicorn/ctl/protocol.pyo
+${PYSITELIB}/gunicorn/ctl/server.py
+${PYSITELIB}/gunicorn/ctl/server.pyc
+${PYSITELIB}/gunicorn/ctl/server.pyo
${PYSITELIB}/gunicorn/debug.py
${PYSITELIB}/gunicorn/debug.pyc
${PYSITELIB}/gunicorn/debug.pyo
@@ -72,6 +91,12 @@ ${PYSITELIB}/gunicorn/dirty/errors.pyo
${PYSITELIB}/gunicorn/dirty/protocol.py
${PYSITELIB}/gunicorn/dirty/protocol.pyc
${PYSITELIB}/gunicorn/dirty/protocol.pyo
+${PYSITELIB}/gunicorn/dirty/stash.py
+${PYSITELIB}/gunicorn/dirty/stash.pyc
+${PYSITELIB}/gunicorn/dirty/stash.pyo
+${PYSITELIB}/gunicorn/dirty/tlv.py
+${PYSITELIB}/gunicorn/dirty/tlv.pyc
+${PYSITELIB}/gunicorn/dirty/tlv.pyo
${PYSITELIB}/gunicorn/dirty/worker.py
${PYSITELIB}/gunicorn/dirty/worker.pyc
${PYSITELIB}/gunicorn/dirty/worker.pyo
Index: pkgsrc/www/py-gunicorn/distinfo
diff -u pkgsrc/www/py-gunicorn/distinfo:1.21 pkgsrc/www/py-gunicorn/distinfo:1.22
--- pkgsrc/www/py-gunicorn/distinfo:1.21 Thu Feb 12 11:31:12 2026
+++ pkgsrc/www/py-gunicorn/distinfo Mon Feb 16 12:48:35 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2026/02/12 11:31:12 adam Exp $
+$NetBSD: distinfo,v 1.22 2026/02/16 12:48:35 adam Exp $
-BLAKE2s (gunicorn-25.0.3.tar.gz) = 0afc1e1dc7bf747a695005fdffc03954fc7bedaf34bfe2e1f0dc8eea6026c4ed
-SHA512 (gunicorn-25.0.3.tar.gz) = aa511add71afe97d4f70acf0b203c807ba78c2d0df19555fdbd25ee1305cc614cd5c637047a1410a359fea27e35fa0d568c28c912a344c8a1b83a124b7c709bd
-Size (gunicorn-25.0.3.tar.gz) = 9702357 bytes
+BLAKE2s (gunicorn-25.1.0.tar.gz) = 2184adca1d4597664702991b307c0dd4284b355b841f9996922c081b4a58f72a
+SHA512 (gunicorn-25.1.0.tar.gz) = c6c93678cd45fe161ae635fb3744ff3104d765df3483f000e931408cf1d37e6078600870d6e4fae39fbb231784fc0b378e9e4211fe94ca6f264411bb1d1bb362
+Size (gunicorn-25.1.0.tar.gz) = 594377 bytes
Home |
Main Index |
Thread Index |
Old Index