Accepting request 904554 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/904554 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gunicorn?expand=0&rev=20
This commit is contained in:
commit
7d06a6868c
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1904bb2b8a43658807108d59c3f3d56c2b6121a701161de0ddf9ad140073c626
|
|
||||||
size 373841
|
|
BIN
gunicorn-20.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
gunicorn-20.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 5 15:12:53 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Add a _multibuild file to separate the tests in another build
|
||||||
|
in order to break a cycle between: python-Django, python-aiohttp,
|
||||||
|
python-eventlet, python-geoip2, python-gunicorn, python-paramiko,
|
||||||
|
python-pyzmq and python-semantic_version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 29 08:52:40 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 20.1.0
|
||||||
|
- gevent and evenlet are BuildRequires for check
|
||||||
|
- add suggests
|
||||||
|
* document WEB_CONCURRENCY is set by, at least, Heroku
|
||||||
|
* capture peername from accept: Avoid calls to getpeername by capturing
|
||||||
|
the peer name returned by accept
|
||||||
|
* log a warning when a worker was terminated due to a signal
|
||||||
|
* fix tornado usage with latest versions of Django
|
||||||
|
* add support for python -m gunicorn
|
||||||
|
* fix systemd socket activation example
|
||||||
|
* allows to set wsgi application in configg file using wsgi_app
|
||||||
|
* document --timeout = 0
|
||||||
|
* always close a connection when the number of requests exceeds the max requests
|
||||||
|
* Disable keepalive during graceful shutdown
|
||||||
|
* kill tasks in the gthread workers during upgrade
|
||||||
|
* fix latency in gevent worker when accepting new requests
|
||||||
|
* fix file watcher: handle errors when new worker reboot and ensure
|
||||||
|
the list of files is kept
|
||||||
|
* document the default name and path of the configuration file
|
||||||
|
* document how variable impact configuration
|
||||||
|
* document the $PORT environment variable
|
||||||
|
* added milliseconds option to request_time in access_log
|
||||||
|
* added PIP requirements to be used for example
|
||||||
|
* remove version from the Server header
|
||||||
|
* fix sendfile: use socket.sendfile instead of os.sendfile
|
||||||
|
* reloader: use absolute path to prevent empty to prevent0 InotifyError
|
||||||
|
when a file is added to the working directory
|
||||||
|
* Add --print-config option to print the resolved settings at startup.
|
||||||
|
* remove the --log-dict-config CLI flag because it never had a working format
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 4 01:58:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
Fri Dec 4 01:58:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gunicorn
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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,24 +16,42 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%define psuffix -test
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-gunicorn
|
Name: python-gunicorn%{psuffix}
|
||||||
Version: 20.0.4
|
Version: 20.1.0
|
||||||
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: https://gunicorn.org
|
URL: https://gunicorn.org
|
||||||
Source: https://files.pythonhosted.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 pytest}
|
|
||||||
BuildRequires: %{python_module setuptools >= 3.0}
|
BuildRequires: %{python_module setuptools >= 3.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module eventlet}
|
||||||
|
BuildRequires: %{python_module gevent >= 1.4}
|
||||||
|
BuildRequires: %{python_module gunicorn}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
%endif
|
||||||
Requires: python-setuptools >= 3.0
|
Requires: python-setuptools >= 3.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
|
Suggests: python-evenlet
|
||||||
|
Suggests: python-gevent
|
||||||
|
Suggests: python-gthread
|
||||||
|
Suggests: python-setproctitle
|
||||||
|
Suggests: python-tornado
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -62,6 +80,12 @@ sed -i -e '/cover/d' requirements_test.txt
|
|||||||
# do not check coverage
|
# do not check coverage
|
||||||
sed -i -e 's/--cov[^ ]*//' -e 's/--cov-report[^ ]*//' setup.cfg
|
sed -i -e 's/--cov[^ ]*//' -e 's/--cov-report[^ ]*//' setup.cfg
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%else # without test
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
|
sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
|
||||||
@ -71,9 +95,6 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/gunicorn
|
%python_clone -a %{buildroot}%{_bindir}/gunicorn
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
|
||||||
%pytest
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative gunicorn
|
%python_install_alternative gunicorn
|
||||||
|
|
||||||
@ -88,6 +109,6 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
|
|||||||
%files -n python-gunicorn-doc
|
%files -n python-gunicorn-doc
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst NOTICE THANKS docs/build/html
|
%doc README.rst NOTICE THANKS docs/build/html
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user