Compare commits

1 Commits
main ... 1.1

4 changed files with 8 additions and 40 deletions

BIN
gunicorn-22.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gunicorn-23.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,33 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-gunicorn # spec file for package python-gunicorn
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2024 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,9 +24,10 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-gunicorn%{psuffix} Name: python-gunicorn%{psuffix}
Version: 23.0.0 Version: 22.0.0
Release: 0 Release: 0
Summary: WSGI HTTP Server for UNIX Summary: WSGI HTTP Server for UNIX
License: MIT License: MIT
@@ -40,8 +41,6 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
Requires: python-packaging
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
@@ -58,8 +57,6 @@ 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
@@ -85,12 +82,13 @@ This package contains the documentation.
%endif %endif
%prep %prep
%autosetup -p1 -n gunicorn-%{version} %setup -q -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