From 291a34a1f3a4947765f152fda2edffd7efe56377e53cb3a03da27193e84c3294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 3 Sep 2021 12:16:09 +0000 Subject: [PATCH] Accepting request 914584 from home:pgajdos:python - 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 OBS-URL: https://build.opensuse.org/request/show/914584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=48 --- python-waitress.changes | 38 ++++++++++++++++++++++++++++++++++++++ python-waitress.spec | 9 +++++---- waitress-1.4.4.tar.gz | 3 --- waitress-2.0.0.tar.gz | 3 +++ 4 files changed, 46 insertions(+), 7 deletions(-) delete mode 100644 waitress-1.4.4.tar.gz create mode 100644 waitress-2.0.0.tar.gz diff --git a/python-waitress.changes b/python-waitress.changes index b794438..0cb438a 100644 --- a/python-waitress.changes +++ b/python-waitress.changes @@ -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 diff --git a/python-waitress.spec b/python-waitress.spec index cb3a6a1..16d6b78 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -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}. diff --git a/waitress-1.4.4.tar.gz b/waitress-1.4.4.tar.gz deleted file mode 100644 index d7ee921..0000000 --- a/waitress-1.4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1bb436508a7487ac6cb097ae7a7fe5413aefca610550baf58f0940e51ecfb261 -size 173124 diff --git a/waitress-2.0.0.tar.gz b/waitress-2.0.0.tar.gz new file mode 100644 index 0000000..9f3f7ff --- /dev/null +++ b/waitress-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69e1f242c7f80273490d3403c3976f3ac3b26e289856936d1f620ed48f321897 +size 175641