1
0

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:
2022-05-31 08:10:29 +00:00
committed by Git OBS Bridge
parent fb396095fb
commit a1a3321e5c
4 changed files with 40 additions and 15 deletions

View File

@@ -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>

View File

@@ -16,24 +16,21 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "doc"
%define psuffix -doc
%endif
%if "%{flavor}" == ""
%define psuffix %{nil}
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
Name: python-waitress%{psuffix}
Version: 2.1.1
Version: 2.1.2
Release: 0
Summary: Waitress WSGI server
License: ZPL-2.1
@@ -46,13 +43,14 @@ Source1: python3.inv
Source2: fetch-intersphinx-inventories.sh
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
BuildArch: noarch
%if "%{flavor}" == ""
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
@@ -65,7 +63,6 @@ BuildRequires: python3-pylons-sphinx-themes
BuildRequires: python3-waitress = %{version}
Recommends: python3-waitress = %{version}
%endif
BuildArch: noarch
%python_subpackages
%if "%{flavor}" == ""
@@ -106,7 +103,9 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
%license LICENSE.txt
%doc COPYRIGHT.txt README.rst
%python_alternative %{_bindir}/waitress-serve
%{python_sitelib}/*
%dir %{python_sitelib}/waitress
%{python_sitelib}/waitress/*
%{python_sitelib}/waitress-%{version}-py*.egg-info
%else

View File

@@ -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

Binary file not shown.