pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-gunicorn py-gunicorn: updated to 20.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/02b5fe6143f9
branches: trunk
changeset: 344424:02b5fe6143f9
user: adam <adam%pkgsrc.org@localhost>
date: Wed Nov 20 11:32:32 2019 +0000
description:
py-gunicorn: updated to 20.0.0
20.0:
- Fixed `fdopen` `RuntimeWarning` in Python 3.8
- Added check and exception for str type on value in Response process_headers method.
- Ensure WSGI header value is string before conducting regex search on it.
- Added pypy3 to list of tested environments
- Grouped `StopIteration` and `KeyboardInterrupt` exceptions with same body together in Arbiter.run()
- Added `setproctitle` module to `extras_require` in setup.py
- Avoid unnecessary chown of temporary files
- Logging: Handle auth type case insensitively
- Removed `util.import_module`
- Removed fallback for `types.SimpleNamespace` in tests utils
- Use `SourceFileLoader` instead instead of `execfile_`
- Use `importlib` instead of `__import__` and eval`
- Fixed eventlet patching
- Added optional `datadog <https://www.datadoghq.com>`_ tags for statsd metrics
- Header values now are encoded using latin-1, not ascii.
- Rewritten `parse_address` util added test
- Removed redundant super() arguments
- Simplify `futures` import in gthread module
- Fixed worker_connections` setting to also affects the Gthread worker type
- Fixed setting max_requests
- Bump minimum Eventlet and Gevent versions to 0.24 and 1.4
- Use Python default SSL cipher list by default
- handle `wsgi.input_terminated` extension
- Simplify Paste Deployment documentation
- Fix root logging: root and logger are same level.
- Fixed typo in ssl_version documentation
- Documented systemd deployement unit examples
- Added systemd sd_notify support
- Fixed typo in gthread.py
- Added `tornado <https://www.tornadoweb.org/>`_ 5 and 6 support
- Declare our setuptools dependency
- Added support to `--bind` to open file descriptors
- Document how to serve WSGI app modules from Gunicorn
- Provide guidance on X-Forwarded-For access log in documentation
- Add support for named constants in the `--ssl-version` flag
- Clarify log format usage of header & environment in documentation
- Fixed systemd documentation to properly setup gunicorn unix socket
- Prevent removal unix socket for reuse_port
- Fix `ResourceWarning` when reading a Python config module
- Remove unnecessary call to dict keys method
- Support str and bytes for UNIX socket addresses
- fixed `InotifyReloadeder`: handle `module.__file__` is None
- `/dev/shm` as a convenient alternative to making your own tmpfs mount in fchmod FAQ
- fix examples to work on python3
- Fix typo in `--max-requests` documentation
- Clear tornado ioloop before os.fork
- Miscellaneous fixes and improvement for linting using Pylint
Breaking Change
- Removed gaiohttp worker
- Drop support for Python 2.x
- Drop support for EOL Python 3.2 and 3.3
diffstat:
www/py-gunicorn/ALTERNATIVES | 1 -
www/py-gunicorn/Makefile | 9 +++--
www/py-gunicorn/PLIST | 27 ++-----------------
www/py-gunicorn/distinfo | 11 +++----
www/py-gunicorn/patches/patch-requirements__test.txt | 13 ---------
5 files changed, 14 insertions(+), 47 deletions(-)
diffs (144 lines):
diff -r 83305a4a3b75 -r 02b5fe6143f9 www/py-gunicorn/ALTERNATIVES
--- a/www/py-gunicorn/ALTERNATIVES Wed Nov 20 11:31:25 2019 +0000
+++ b/www/py-gunicorn/ALTERNATIVES Wed Nov 20 11:32:32 2019 +0000
@@ -1,2 +1,1 @@
bin/gunicorn @PREFIX@/bin/gunicorn-@PYVERSSUFFIX@
-bin/gunicorn_paster @PREFIX@/bin/gunicorn_paster-@PYVERSSUFFIX@
diff -r 83305a4a3b75 -r 02b5fe6143f9 www/py-gunicorn/Makefile
--- a/www/py-gunicorn/Makefile Wed Nov 20 11:31:25 2019 +0000
+++ b/www/py-gunicorn/Makefile Wed Nov 20 11:32:32 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2019/07/08 10:36:27 nia Exp $
+# $NetBSD: Makefile,v 1.16 2019/11/20 11:32:32 adam Exp $
-DISTNAME= gunicorn-19.9.0
+DISTNAME= gunicorn-20.0.0
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gunicorn/}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,10 +15,11 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} gunicorn gunicorn-${PYVERSSUFFIX} && \
- ${MV} gunicorn_paster gunicorn_paster-${PYVERSSUFFIX} || ${TRUE}
+ ${MV} gunicorn gunicorn-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 83305a4a3b75 -r 02b5fe6143f9 www/py-gunicorn/PLIST
--- a/www/py-gunicorn/PLIST Wed Nov 20 11:31:25 2019 +0000
+++ b/www/py-gunicorn/PLIST Wed Nov 20 11:32:32 2019 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2018/07/04 03:43:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2019/11/20 11:32:32 adam Exp $
bin/gunicorn-${PYVERSSUFFIX}
-bin/gunicorn_paster-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,9 +10,6 @@
${PYSITELIB}/gunicorn/__init__.py
${PYSITELIB}/gunicorn/__init__.pyc
${PYSITELIB}/gunicorn/__init__.pyo
-${PYSITELIB}/gunicorn/_compat.py
-${PYSITELIB}/gunicorn/_compat.pyc
-${PYSITELIB}/gunicorn/_compat.pyo
${PYSITELIB}/gunicorn/app/__init__.py
${PYSITELIB}/gunicorn/app/__init__.pyc
${PYSITELIB}/gunicorn/app/__init__.pyo
@@ -29,9 +25,6 @@
${PYSITELIB}/gunicorn/arbiter.py
${PYSITELIB}/gunicorn/arbiter.pyc
${PYSITELIB}/gunicorn/arbiter.pyo
-${PYSITELIB}/gunicorn/argparse_compat.py
-${PYSITELIB}/gunicorn/argparse_compat.pyc
-${PYSITELIB}/gunicorn/argparse_compat.pyo
${PYSITELIB}/gunicorn/config.py
${PYSITELIB}/gunicorn/config.pyc
${PYSITELIB}/gunicorn/config.pyo
@@ -47,9 +40,6 @@
${PYSITELIB}/gunicorn/http/__init__.py
${PYSITELIB}/gunicorn/http/__init__.pyc
${PYSITELIB}/gunicorn/http/__init__.pyo
-${PYSITELIB}/gunicorn/http/_sendfile.py
-${PYSITELIB}/gunicorn/http/_sendfile.pyc
-${PYSITELIB}/gunicorn/http/_sendfile.pyo
${PYSITELIB}/gunicorn/http/body.py
${PYSITELIB}/gunicorn/http/body.pyc
${PYSITELIB}/gunicorn/http/body.pyo
@@ -80,15 +70,12 @@
${PYSITELIB}/gunicorn/reloader.py
${PYSITELIB}/gunicorn/reloader.pyc
${PYSITELIB}/gunicorn/reloader.pyo
-${PYSITELIB}/gunicorn/selectors.py
-${PYSITELIB}/gunicorn/selectors.pyc
-${PYSITELIB}/gunicorn/selectors.pyo
-${PYSITELIB}/gunicorn/six.py
-${PYSITELIB}/gunicorn/six.pyc
-${PYSITELIB}/gunicorn/six.pyo
${PYSITELIB}/gunicorn/sock.py
${PYSITELIB}/gunicorn/sock.pyc
${PYSITELIB}/gunicorn/sock.pyo
+${PYSITELIB}/gunicorn/socketfromfd.py
+${PYSITELIB}/gunicorn/socketfromfd.pyc
+${PYSITELIB}/gunicorn/socketfromfd.pyo
${PYSITELIB}/gunicorn/systemd.py
${PYSITELIB}/gunicorn/systemd.pyc
${PYSITELIB}/gunicorn/systemd.pyo
@@ -98,18 +85,12 @@
${PYSITELIB}/gunicorn/workers/__init__.py
${PYSITELIB}/gunicorn/workers/__init__.pyc
${PYSITELIB}/gunicorn/workers/__init__.pyo
-${PYSITELIB}/gunicorn/workers/_gaiohttp.py
-${PLIST.py3x}${PYSITELIB}/gunicorn/workers/_gaiohttp.pyc
-${PLIST.py3x}${PYSITELIB}/gunicorn/workers/_gaiohttp.pyo
${PYSITELIB}/gunicorn/workers/base.py
${PYSITELIB}/gunicorn/workers/base.pyc
${PYSITELIB}/gunicorn/workers/base.pyo
${PYSITELIB}/gunicorn/workers/base_async.py
${PYSITELIB}/gunicorn/workers/base_async.pyc
${PYSITELIB}/gunicorn/workers/base_async.pyo
-${PYSITELIB}/gunicorn/workers/gaiohttp.py
-${PYSITELIB}/gunicorn/workers/gaiohttp.pyc
-${PYSITELIB}/gunicorn/workers/gaiohttp.pyo
${PYSITELIB}/gunicorn/workers/geventlet.py
${PYSITELIB}/gunicorn/workers/geventlet.pyc
${PYSITELIB}/gunicorn/workers/geventlet.pyo
diff -r 83305a4a3b75 -r 02b5fe6143f9 www/py-gunicorn/distinfo
--- a/www/py-gunicorn/distinfo Wed Nov 20 11:31:25 2019 +0000
+++ b/www/py-gunicorn/distinfo Wed Nov 20 11:32:32 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.9 2018/07/04 03:43:12 adam Exp $
+$NetBSD: distinfo,v 1.10 2019/11/20 11:32:32 adam Exp $
-SHA1 (gunicorn-19.9.0.tar.gz) = 4fa8b5a57c8be192b761ed2d76bcafe29b379aed
-RMD160 (gunicorn-19.9.0.tar.gz) = 89a61547e6540306e81371986bb941adf47248c2
-SHA512 (gunicorn-19.9.0.tar.gz) = 4a89f963daa7afe7741a4fb9aa4f14192429ac0e9ba5672547d683475dd2f2733efeed903ec99db9d831e2b05b9ed9e583e3cfec483a1b481d897aa77373e8a3
-Size (gunicorn-19.9.0.tar.gz) = 415774 bytes
-SHA1 (patch-requirements__test.txt) = 11a315b675db6af30bcf3e116b5da48ecf51755b
+SHA1 (gunicorn-20.0.0.tar.gz) = 8839f7fa7572307c7bdede42ecc545bea9d162b6
+RMD160 (gunicorn-20.0.0.tar.gz) = ac2c011b6aaec6f598514f18f18065552d1974c3
+SHA512 (gunicorn-20.0.0.tar.gz) = 2b68af60d09f1770a0aa503ba459f9be83ca9495da50c95008ab07ccffafeca9189d48cf0150eed500ba2c5f773a7a8d9de0960ebab421558336585f9b7df3ed
+Size (gunicorn-20.0.0.tar.gz) = 363029 bytes
diff -r 83305a4a3b75 -r 02b5fe6143f9 www/py-gunicorn/patches/patch-requirements__test.txt
--- a/www/py-gunicorn/patches/patch-requirements__test.txt Wed Nov 20 11:31:25 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-requirements__test.txt,v 1.4 2018/07/04 03:43:12 adam Exp $
-
-'coverage' is not (yet) needed for testing.
-Relax pytest requirements.
-
---- requirements_test.txt.orig 2018-06-17 20:17:58.000000000 +0000
-+++ requirements_test.txt
-@@ -1,3 +1,2 @@
--coverage>=4.0,<4.4 # TODO: https://github.com/benoitc/gunicorn/issues/1548
--pytest==3.2.5 # TODO: upgrade to latest version requires drop support to Python 2.6
--pytest-cov==2.5.1
-+pytest>=3.2.5 # TODO: upgrade to latest version requires drop support to Python 2.6
-+pytest-cov>=2.5.1
Home |
Main Index |
Thread Index |
Old Index