1
0

Accepting request 916725 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/916725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-waitress?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2021-09-07 19:13:40 +00:00 committed by Git OBS Bridge
commit 04574ac131
4 changed files with 46 additions and 7 deletions

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Fri Aug 27 11:27:31 UTC 2021 - pgajdos@suse.com
- version update to 2.0.0
- Friendly Reminder
This release still contains a variety of deprecation notices about defaults
that can be set for a variety of options.
Please note that this is your last warning, and you should update your
configuration if you do NOT want to use the new defaults.
See the arguments documentation page for all supported options, and pay
attention to the warnings:
https://docs.pylonsproject.org/projects/waitress/en/stable/arguments.html
- Fix a crash on startup when listening to multiple interfaces.
See https://github.com/Pylons/waitress/pull/332
- Waitress no longer attempts to guess at what the ``server_name`` should be for
a listen socket, instead it always use a new adjustment/argument named
``server_name``.
Please see the documentation for ``server_name`` in
https://docs.pylonsproject.org/projects/waitress/en/latest/arguments.html and
see https://github.com/Pylons/waitress/pull/329
- Allow tasks to notice if the client disconnected.
This inserts a callable ``waitress.client_disconnected`` into the environment
that allows the task to check if the client disconnected while waiting for
the response at strategic points in the execution and to cancel the
operation.
It requires setting the new adjustment ``channel_request_lookahead`` to a value
larger than 0, which continues to read requests from a channel even if a
request is already being processed on that channel, up to the given count,
since a client disconnect is detected by reading from a readable socket and
receiving an empty result.
See https://github.com/Pylons/waitress/pull/310
- Drop Python 2.7 and 3.5 support
- The server now issues warning output when it there are enough open
connections (controlled by "connection_limit"), that it is no longer
accepting new connections. This situation was previously difficult to
diagnose.
See https://github.com/Pylons/waitress/pull/322
-------------------------------------------------------------------
Thu Oct 1 13:33:24 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-waitress
# spec file
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-waitress%{psuffix}
Version: 1.4.4
Version: 2.0.0
Release: 0
Summary: Waitress WSGI server
License: ZPL-2.1
@ -45,7 +45,7 @@ BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%else
# Documentation requirements
BuildRequires: python3-Sphinx
@ -94,6 +94,7 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
%{python_sitelib}/*
%else
# doc flavor
%description
This package contains documentation files for %{name}.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bb436508a7487ac6cb097ae7a7fe5413aefca610550baf58f0940e51ecfb261
size 173124

3
waitress-2.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69e1f242c7f80273490d3403c3976f3ac3b26e289856936d1f620ed48f321897
size 175641