Accepting request 507399 from home:tbechtold:branches:devel:languages:python

- update to 19.7.1:
  - fix: continue if SO_REUSEPORT seems to be available but fails (:issue:`1480`)
  - fix: support non-decimal values for the umask command line option (:issue:`1325`)
  - The previously deprecated ``gunicorn_django`` command has been removed.
    Use the :ref:`gunicorn-cmd` command-line interface instead.
  - The previously deprecated ``django_settings`` setting has been removed.
    Use the :ref:`raw-env` setting instead.
  - The default value of :ref:`ssl-version` has been changed from
    ``ssl.PROTOCOL_TLSv1`` to ``ssl.PROTOCOL_SSLv23``.
  - fix: initialize the group access list when initgroups is set (:issue:`1297`)
  - add environment variables to gunicorn access log format (:issue:`1291`)
  - add --paste-global-conf option (:issue:`1304`)
  - fix: print access logs to STDOUT (:issue:`1184`)
  - remove upper limit on max header size config (:issue:`1313`)
  - fix: print original exception on AppImportError (:issue:`1334`)
  - use SO_REUSEPORT if available (:issue:`1344`)
  - `fix leak <https://github.com/benoitc/gunicorn/commit/\
    b4c41481e2d5ef127199a4601417a6819053c3fd>`_ of duplicate file descriptor
    for bound sockets.
  - add --reload-engine option, support inotify and other backends (:issue:`1368`, :issue:`1459`)
  - fix: reject request with invalid HTTP versions
  - add ``child_exit`` callback (:issue:`1394`)
  - add support for eventlets _AlreadyHandled object (:issue:`1406`)
  - format boot tracebacks properly with reloader (:issue:`1408`)
  - refactor socket activation and fd inheritance for better support of SystemD (:issue:`1310`)
  - fix: o fds are given by default in gunicorn (:issue:`1423`)
  - add ability to pass settings to GUNICORN_CMD_ARGS environnement variable which helps in container world (:issue:`1385`)
  - fix:  catch access denied to pid file (:issue:`1091`)
  -  many additions and improvements to the documentation
  - improvement of the binary upgrade behaviour using USR2: remove file locking (:issue:`1270`)

OBS-URL: https://build.opensuse.org/request/show/507399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=35
This commit is contained in:
Thomas Bechtold 2017-07-10 14:10:14 +00:00 committed by Git OBS Bridge
parent e3ea6a9f52
commit 06a976b7fe
4 changed files with 183 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bc835082882ad9a012cd790c460011e4d96bf3512d98a04d3dabbe45393a089
size 395381

3
gunicorn-19.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eee1169f0ca667be05db3351a0960765620dad53f53434262ff8901b68a1b622
size 402658

View File

@ -1,3 +1,138 @@
-------------------------------------------------------------------
Thu Jun 29 17:02:37 UTC 2017 - tbechtold@suse.com
- update to 19.7.1:
- fix: continue if SO_REUSEPORT seems to be available but fails (:issue:`1480`)
- fix: support non-decimal values for the umask command line option (:issue:`1325`)
- The previously deprecated ``gunicorn_django`` command has been removed.
Use the :ref:`gunicorn-cmd` command-line interface instead.
- The previously deprecated ``django_settings`` setting has been removed.
Use the :ref:`raw-env` setting instead.
- The default value of :ref:`ssl-version` has been changed from
``ssl.PROTOCOL_TLSv1`` to ``ssl.PROTOCOL_SSLv23``.
- fix: initialize the group access list when initgroups is set (:issue:`1297`)
- add environment variables to gunicorn access log format (:issue:`1291`)
- add --paste-global-conf option (:issue:`1304`)
- fix: print access logs to STDOUT (:issue:`1184`)
- remove upper limit on max header size config (:issue:`1313`)
- fix: print original exception on AppImportError (:issue:`1334`)
- use SO_REUSEPORT if available (:issue:`1344`)
- `fix leak <https://github.com/benoitc/gunicorn/commit/\
b4c41481e2d5ef127199a4601417a6819053c3fd>`_ of duplicate file descriptor
for bound sockets.
- add --reload-engine option, support inotify and other backends (:issue:`1368`, :issue:`1459`)
- fix: reject request with invalid HTTP versions
- add ``child_exit`` callback (:issue:`1394`)
- add support for eventlets _AlreadyHandled object (:issue:`1406`)
- format boot tracebacks properly with reloader (:issue:`1408`)
- refactor socket activation and fd inheritance for better support of SystemD (:issue:`1310`)
- fix: o fds are given by default in gunicorn (:issue:`1423`)
- add ability to pass settings to GUNICORN_CMD_ARGS environnement variable which helps in container world (:issue:`1385`)
- fix: catch access denied to pid file (:issue:`1091`)
- many additions and improvements to the documentation
- improvement of the binary upgrade behaviour using USR2: remove file locking (:issue:`1270`)
- add the ``--capture-output`` setting to capture stdout/stderr tot the log
file (:issue:`1271`)
- Allow disabling ``sendfile()`` via the ``SENDFILE`` environment variable
(:issue:`1252`)
- fix reload under pycharm (:issue:`1129`)
- fix: make sure to remove the signal from the worker pipe (:issue:`1269`)
- fix: **gthread** worker, handle removed socket in the select loop
- fix: Ensure response to HEAD request won't have message body
- fix: lock domain socket and remove on last arbiter exit (:issue:`1220`)
- improvement: use EnvironmentError instead of socket.error (:issue:`939`)
- add: new ``FORWARDDED_ALLOW_IPS`` environment variable (:issue:`1205`)
- fix: infinite recursion when destroying sockets (:issue:`1219`)
- fix: close sockets on shutdown (:issue:`922`)
- fix: clean up sys.exc_info calls to drop circular refs (:issue:`1228`)
- fix: do post_worker_init after load_wsgi (:issue:`1248`)
- fix access logging in gaiohttp worker (:issue:`1193`)
- eventlet: handle QUIT in a new coroutine (:issue:`1217`)
- gevent: remove obsolete exception clauses in run (:issue:`1218`)
- tornado: fix extra "Server" response header (:issue:`1246`)
- fix: unblock the wait loop under python 3.5 in sync worker (:issue:`1256`)
- fix: log message for listener reloading (:issue:`1181`)
- Let logging module handle traceback printing (:issue:`1201`)
- improvement: Allow configuring logger_class with statsd_host (:issue:`1188`)
- fix: traceback formatting (:issue:`1235`)
- fix: print error logs on stderr and access logs on stdout (:issue:`1184`)
- Simplify installation instructions in gunicorn.org (:issue:`1072`)
- Fix URL and default worker type in example_config (:issue:`1209`)
- update django doc url to 1.8 lts (:issue:`1213`)
- fix: miscellaneous wording corrections (:issue:`1216`)
- Add PSF License Agreement of selectors.py to NOTICE (:issue: `1226`)
- document LOGGING overriding (:issue:`1051`)
- put a note that error logs are only errors from Gunicorn (:issue:`1124`)
- add a note about the requirements of the threads workers under python 2.x (:issue:`1200`)
- add access_log_format to config example (:issue:`1251`)
- Use more pytest.raises() in test_http.py
- fix: NameError fileno in gunicorn.http.wsgi (:issue:`1178`)
- fix: check if a fileobject can be used with sendfile(2) (:issue:`1174`)
- doc: be more descriptive in errorlog option (:issue:`1173`)
- fix: don't check if a file is writable using os.stat with SELINUX (:issue:`1171`)
- improvement: handle HaltServer in manage_workers (:issue:`1095`)
- fix: Do not rely on sendfile sending requested count (:issue:`1155`)
- fix: claridy --no-sendfile default (:issue:`1156`)
- fix: LoggingCatch sendfile failure from no file descriptor (:issue:`1160`)
- fix: Always send access log to syslog if syslog is on
- fix: check auth before trying to own a file (:issue:`1157`)
- fix: Fix Slowloris broken link. (:issue:`1142`)
- Tweak markup in faq.rst
- fix: gaiohttp test (:issue:`1164`)
- fix tornado worker (:issue:`1154`)
- fix: make sure that a user is able to access to the logs after dropping a
privilege (:issue:`1116`)
- improvement: inherit the `Exception` class where it needs to be (:issue:`997`)
- fix: make sure headers are always encoded as latin1 RFC 2616 (:issue:`1102`)
- improvement: reduce arbiter noise (:issue:`1078`)
- fix: don't close the unix socket when the worker exit (:issue:`1088`)
- improvement: Make last logged worker count an explicit instance var (:issue:`1078`)
- improvement: prefix config file with its type (:issue:`836`)
- improvement: pidfile handing (:issue:`1042`)
- fix: catch OSError as well as ValueError on race condition (:issue:`1052`)
- improve support of ipv6 by backporting urlparse.urlsplit from Python 2.7 to
Python 2.6.
- fix: raise InvalidRequestLine when the line contains malicious data
(:issue:`1023`)
- fix: fix argument to disable sendfile
- fix: add gthread to the list of supported workers (:issue:`1011`)
- improvement: retry socket binding up to five times upon EADDRNOTAVAIL
(:issue:`1004`)
- **breaking change**: only honor headers that can be encoded in ascii to comply to
the RFC 7230 (See :issue:`1151`).
- add new parameters to access log (:issue:`1132`)
- fix: make sure that files handles are correctly reopened on HUP
(:issue:`627`)
- include request URL in error message (:issue:`1071`)
- get username in access logs (:issue:`1069`)
- fix statsd logging support on Python 3 (:issue:`1010`)
- use last version of mock.
- many fixes in Travis CI support
- miscellaneous improvements in tests
- fix: Fix self.nr usage in ThreadedWorker so that auto restart works as
expected (:issue:`1031`)
- fix quit signal handling (:issue:`1128`)
- add support for Python 3 (:issue:`1066`)
- fix: make graceful shutdown thread-safe (:issue:`1032`)
- fix ssl options (:issue:`1146`, :issue:`1135`)
- don't check timeout when stopping gracefully (:issue:`1106`)
- add SSL support (:issue:`1105`)
- fix link to proc name setting (:issue:`1144`)
- fix worker class documentation (:issue:`1141`, :issue:`1104`)
- clarify graceful timeout documentation (:issue:`1137`)
- don't duplicate NGINX config files examples (:issue:`1050`, :issue:`1048`)
- add `web.py` framework example (:issue:`1117`)
- update Debian/Ubuntu installations instructions (:issue:`1112`)
- clarify `pythonpath` setting description (:issue:`1080`)
- tweak some example for python3
- clarify `sendfile` documentation
- miscellaneous typos in source code comments (thanks!)
- clarify why REMOTE_ADD may not be the user's IP address (:issue:`1037`)
- fix: reloader should survive SyntaxError (:issue:`994`)
- fix: expose the reloader class to the worker.
- convert to singlespec
- fix Sourc url
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 6 13:31:17 UTC 2015 - benoit.monin@gmx.fr Wed May 6 13:31:17 UTC 2015 - benoit.monin@gmx.fr

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-gunicorn # spec file for package python-gunicorn
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,28 +16,29 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-gunicorn Name: python-gunicorn
Version: 19.3.0 Version: 19.7.1
Release: 0 Release: 0
Summary: WSGI HTTP Server for UNIX Summary: WSGI HTTP Server for UNIX
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://gunicorn.org Url: http://gunicorn.org
Source: http://pypi.python.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-Sphinx BuildRequires: python-rpm-macros
BuildRequires: python-devel BuildRequires: python3-Sphinx
BuildRequires: python-mock Requires(post): update-alternatives
BuildRequires: python-pytest Requires(postun): update-alternatives
BuildRequires: python-pytest-cov
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildRequires: python-unittest2
%else
BuildArch: noarch BuildArch: noarch
%endif
%python_subpackages
%description %description
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork
@ -45,13 +46,18 @@ worker model ported from Ruby's Unicorn_ project. The Gunicorn server is broadly
compatible with various web frameworks, simply implemented, light on server compatible with various web frameworks, simply implemented, light on server
resource usage, and fairly speedy. resource usage, and fairly speedy.
%package doc %package -n python-gunicorn-doc
Summary: WSGI HTTP Server for UNIX - Documentation Summary: Documentation for %{name}
Group: Documentation/Other Group: Documentation/Other
Requires: %{name} = %{version} Provides: %{python_module gunicorn-doc = %{version}}
%description doc %description -n python-gunicorn-doc
This package contains Gunicorn documentation in reST and HTML formats. Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork
worker model ported from Ruby's Unicorn_ project. The Gunicorn server is broadly
compatible with various web frameworks, simply implemented, light on server
resource usage, and fairly speedy.
This package contains the documentation.
%prep %prep
%setup -q -n gunicorn-%{version} %setup -q -n gunicorn-%{version}
@ -59,35 +65,35 @@ This package contains Gunicorn documentation in reST and HTML formats.
sed -i 's/==.*//' requirements_test.txt sed -i 's/==.*//' requirements_test.txt
%build %build
python setup.py build %python_build
sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
# install documentation and examples %python_clone -a %{buildroot}%{_bindir}/gunicorn
mkdir -p %{buildroot}%{_docdir}/%{name} %python_clone -a %{buildroot}%{_bindir}/gunicorn_paster
cp -r LICENSE NOTICE README.rst THANKS examples %{buildroot}%{_docdir}/%{name}
cd docs && make SPHINXBUILD=sphinx-build html && rm -r build/html/.buildinfo # Generate HTML documentation
cp -r build/html %{buildroot}%{_docdir}/%{name}
%fdupes %{buildroot}%{_prefix} %fdupes %{buildroot}%{_prefix}
%check %check
python setup.py -q test %python_exec setup.py test
%files %post
%python_install_alternative gunicorn
%python_install_alternative gunicorn_paster
%postun
%python_uninstall_alternative gunicorn
%python_uninstall_alternative gunicorn_paster
%files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%exclude %{_docdir}/%{name}/html %doc LICENSE
%exclude %{_docdir}/%{name}/examples %python_alternative %{_bindir}/gunicorn
%doc %dir %{_docdir}/%{name}/ %python_alternative %{_bindir}/gunicorn_paster
%doc %{_docdir}/%{name}/*
%{_bindir}/gunicorn*
%{python_sitelib}/* %{python_sitelib}/*
%files doc %files -n python-gunicorn-doc
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc %dir %{_docdir}/%{name}/html %doc LICENSE README.rst NOTICE THANKS docs/build/html
%doc %dir %{_docdir}/%{name}/examples
%doc %{_docdir}/%{name}/html/*
%doc %{_docdir}/%{name}/examples/*
%changelog %changelog