Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
593965e4f1 | |||
0aa7d493a9 | |||
dc831bcbc4 | |||
e6a395119c | |||
7bf79db93b | |||
384e68b798 | |||
f2fcbabbc8 | |||
dd7e0914d1 |
BIN
gunicorn-22.0.0.tar.gz
(Stored with Git LFS)
BIN
gunicorn-22.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
gunicorn-23.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
gunicorn-23.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 20 08:51:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16+ only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 14:22:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 12 07:43:22 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Add missing dependency python-packaging, bsc#1239443
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 08:29:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 23.0.0:
|
||||||
|
* minor docs fixes (:pr:`3217`, :pr:`3089`, :pr:`3167`)
|
||||||
|
* worker_class parameter accepts a class (:pr:`3079`)
|
||||||
|
* fix deadlock if request terminated during chunked parsing
|
||||||
|
(:pr:`2688`)
|
||||||
|
* permit receiving Transfer-Encodings: compress, deflate, gzip
|
||||||
|
(:pr:`3261`)
|
||||||
|
* permit Transfer-Encoding headers specifying multiple
|
||||||
|
encodings. note: no parameters, still (:pr:`3261`)
|
||||||
|
* sdist generation now explicitly excludes sphinx build folder
|
||||||
|
(:pr:`3257`)
|
||||||
|
* decode bytes-typed status (as can be passed by gevent) as
|
||||||
|
utf-8 instead of raising TypeError (:pr:`2336`)
|
||||||
|
* raise correct Exception when encounting invalid chunked
|
||||||
|
requests (:pr:`3258`)
|
||||||
|
* the SCRIPT_NAME and PATH_INFO headers, when received from
|
||||||
|
allowed forwarders, are no longer restricted for containing
|
||||||
|
an underscore (:pr:`3192`)
|
||||||
|
* include IPv6 loopback address [::1] in default for
|
||||||
|
:ref:`forwarded-allow-ips` and :ref:`proxy-allow-ips`
|
||||||
|
(:pr:`3192`)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 17 12:43:25 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
Wed Apr 17 12:43:25 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gunicorn
|
# spec file for package python-gunicorn
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -24,10 +24,14 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%define skip_python2 1
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-gunicorn%{psuffix}
|
Name: python-gunicorn%{psuffix}
|
||||||
Version: 22.0.0
|
Version: 23.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WSGI HTTP Server for UNIX
|
Summary: WSGI HTTP Server for UNIX
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -39,14 +43,21 @@ BuildRequires: %{python_module setuptools >= 3.0}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires: python-packaging
|
||||||
Requires(postun): update-alternatives
|
Requires: (python-importlib_metadata if python-base < 3.8)
|
||||||
Suggests: python-evenlet
|
Suggests: python-evenlet
|
||||||
Suggests: python-gevent
|
Suggests: python-gevent
|
||||||
Suggests: python-gthread
|
Suggests: python-gthread
|
||||||
Suggests: python-setproctitle
|
Suggests: python-setproctitle
|
||||||
Suggests: python-tornado
|
Suggests: python-tornado
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%if 0%{?sle_version} >= 150500
|
%if 0%{?sle_version} >= 150500
|
||||||
# Fixes the build on Leap
|
# Fixes the build on Leap
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
@@ -57,6 +68,8 @@ BuildRequires: python3-Sphinx
|
|||||||
BuildRequires: %{python_module eventlet}
|
BuildRequires: %{python_module eventlet}
|
||||||
BuildRequires: %{python_module gevent >= 1.4}
|
BuildRequires: %{python_module gevent >= 1.4}
|
||||||
BuildRequires: %{python_module gunicorn}
|
BuildRequires: %{python_module gunicorn}
|
||||||
|
BuildRequires: %{python_module importlib_metadata if %python-base < 3.8}
|
||||||
|
BuildRequires: %{python_module packaging}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
%endif
|
%endif
|
||||||
@@ -82,13 +95,12 @@ This package contains the documentation.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gunicorn-%{version}
|
%autosetup -p1 -n gunicorn-%{version}
|
||||||
# remove version pinning for test requirements
|
# remove version pinning for test requirements
|
||||||
sed -i 's/==.*//' requirements_test.txt
|
sed -i 's/==.*//' requirements_test.txt
|
||||||
sed -i -e '/cover/d' requirements_test.txt
|
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
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
@@ -105,6 +117,9 @@ 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}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative gunicorn
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative gunicorn
|
%python_install_alternative gunicorn
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user