forked from pool/python-waitress
Accepting request 979986 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/979986 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=52
This commit is contained in:
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 03:16:03 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* be more specific in %files section
|
||||||
|
|
||||||
|
- update to version 2.1.2:
|
||||||
|
* Bugfix
|
||||||
|
+ When expose_tracebacks is enabled waitress would fail to
|
||||||
|
properly encode unicode thereby causing another error during
|
||||||
|
error handling. See https://github.com/Pylons/waitress/pull/378
|
||||||
|
+ Header length checking had a calculation that was done
|
||||||
|
incorrectly when the data was received across multple socket
|
||||||
|
reads. This calculation has been corrected, and no longer will
|
||||||
|
Waitress send back a 413 Request Entity Too Large. See
|
||||||
|
https://github.com/Pylons/waitress/pull/376
|
||||||
|
* Security Bugfix
|
||||||
|
+ in 2.1.0 a new feature was introduced that allowed the WSGI
|
||||||
|
thread to start sending data to the socket. However this
|
||||||
|
introduced a race condition whereby a socket may be closed in
|
||||||
|
the sending thread while the main thread is about to call
|
||||||
|
select() therey causing the entire application to be taken down.
|
||||||
|
Waitress will no longer close the socket in the WSGI thread,
|
||||||
|
instead waking up the main thread to cleanup. See
|
||||||
|
https://github.com/Pylons/waitress/pull/377
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 17 17:42:42 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Thu Mar 17 17:42:42 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,24 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
|
||||||
%if "%{flavor}" == "doc"
|
%if "%{flavor}" == "doc"
|
||||||
%define psuffix -doc
|
%define psuffix -doc
|
||||||
%endif
|
%endif
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
Name: python-waitress%{psuffix}
|
Name: python-waitress%{psuffix}
|
||||||
Version: 2.1.1
|
Version: 2.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Waitress WSGI server
|
Summary: Waitress WSGI server
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
@@ -46,13 +43,14 @@ Source1: python3.inv
|
|||||||
Source2: fetch-intersphinx-inventories.sh
|
Source2: fetch-intersphinx-inventories.sh
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros >= 20210929
|
BuildRequires: python-rpm-macros >= 20210929
|
||||||
|
BuildArch: noarch
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
Requires: alts
|
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
@@ -65,7 +63,6 @@ BuildRequires: python3-pylons-sphinx-themes
|
|||||||
BuildRequires: python3-waitress = %{version}
|
BuildRequires: python3-waitress = %{version}
|
||||||
Recommends: python3-waitress = %{version}
|
Recommends: python3-waitress = %{version}
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
@@ -106,7 +103,9 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc COPYRIGHT.txt README.rst
|
%doc COPYRIGHT.txt README.rst
|
||||||
%python_alternative %{_bindir}/waitress-serve
|
%python_alternative %{_bindir}/waitress-serve
|
||||||
%{python_sitelib}/*
|
%dir %{python_sitelib}/waitress
|
||||||
|
%{python_sitelib}/waitress/*
|
||||||
|
%{python_sitelib}/waitress-%{version}-py*.egg-info
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e2e60576cf14a1539da79f7b7ee1e79a71e64f366a0b47db54a15e971f57bb16
|
|
||||||
size 178336
|
|
BIN
waitress-2.1.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
waitress-2.1.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user