Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cheroot for openSUSE:Factory checked in at 2021-04-01 14:15:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cheroot (Old) and /work/SRC/openSUSE:Factory/.python-cheroot.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cheroot" Thu Apr 1 14:15:54 2021 rev:15 rq:882365 version:8.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cheroot/python-cheroot.changes 2020-06-05 19:58:54.595667993 +0200 +++ /work/SRC/openSUSE:Factory/.python-cheroot.new.2401/python-cheroot.changes 2021-04-01 14:16:02.735872179 +0200 @@ -1,0 +2,79 @@ +Mon Mar 29 17:49:02 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update BuildRequirements for testing: + * only remove coverage options from pytest.ini + * don't skip tests which had failed 2 years ago + (gh#cherrypy/cheroot#200) -- except for two subtests still + failing on some platforms presumably because of OBS specific + network setups + * skip the one test requiring python-jaraco.context in Factory + staging so that we do not need that package in Ring1. + +------------------------------------------------------------------- +Fri Mar 19 05:46:04 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 8.5.2: + * :issue:`358` via :pr:`359`: Fixed a regression from + :pr:`199` that made the worker threads exit on invalid + connection attempts and could make the whole server + unresponsive once there was no workers left. + *- by :user:`cameronbrunner`. + * :cp-issue:`1873` via :pr:`340`: Resurrected an + unintentionally removed feature of interrupting a server + main thread by externally assigning an exception to the + :py:meth:`HTTPServer.interrupt <cheroot.server.\ + HTTPServer.interrupt>` property *- by :user:`liamstask`. + * :pr:`350`: Fixed the incarnation of an earlier regression + of not resetting the serving state + on :py:data:``SIGINT`` originally fixed by :pr:`322` and + :pr:`331` but reintroduced by the changes in :pr:`311` + *- by :user:`liamstask`. + * :issue:`305` via :pr:`311`: In + :py:class:`~cheroot.connections.ConnectionManager`, + process connections as they become active rather than + waiting for a ``tick`` event, addressing performance + degradation introduced in v8.1.0 *- by :user:`liamstask`. + * :issue:`341` via :pr:`342`: Suppress legitimate OS errors + expected on shutdown *- by :user:`webknjaz`. + * :issue:`317` via :pr:`337`: Fixed a regression in + 8.4.5 where the connections dictionary would change + size during iteration, leading to a :py:exc:`RuntimeError` + raised in the logs *- by :user:`liamstask`. + * :issue:`328` via :pr:`322` and :pr:`331`: Fixed a + regression introduced in the earlier refactoring in v8.4.4 + via :pr:`309` that caused the :py:meth:`~cheroot.server.\ + HTTPServer.serve` method to skip setting + ``serving=False`` on :py:data:``SIGINT`` and + :py:data:``SIGTERM`` *- by :user:`marc1n` and + :user:`cristicbz`. + * :issue:`312` via :pr:`313`: Fixed a regression introduced + in the earlier refactoring in v8.4.4 via :pr:`309` that + caused the connection manager to modify the selector map + while looping over it *- by :user:`liamstask`. + * :issue:`312` via :pr:`316`: Added a regression test for + the error handling in :py:meth:`~cheroot.connections.\ + ConnectionManager.get_conn` to ensure more stability + *- by :user:`cyraxjoe`. + * :issue:`304` via :pr:`309`: Refactored :py:class:`~\ + cheroot.connections.ConnectionManager` to use :py:meth:`~\ + selectors.BaseSelector.get_map` and reorganized the + readable connection tracking *- by :user:`liamstask`. + * :issue:`304` via :pr:`309`: Fixed the server shutdown + sequence to avoid race condition resulting in accepting + new connections while it is being terminated + *- by :user:`liamstask`. + * :pr:`282`: Fixed a race condition happening when an HTTP + client attempts to reuse a persistent HTTP connection after + it's been discarded on the server in :py:class:`~cheroot.\ + server.HTTPRequest` but no TCP FIN packet has been received + yet over the wire *- by :user:`meaksh`. + * Fixed a significant performance regression introduced in + v8.1.0 (:issue:`305` via :pr:`308`) * by :user:`mar10`. + * Fixed TLS socket related unclosed resource warnings + (:pr:`291` and :pr:`298`). + * Made terminating keep-alive connections more graceful + (:issue:`263` via :pr:`277`). +- Dropped patches 0001-Avoid-race-condition-on-persistent-HTTP-connections.patch + and python383.patch, they are included upstream. + +------------------------------------------------------------------- Old: ---- 0001-Avoid-race-condition-on-persistent-HTTP-connections.patch cheroot-8.3.0.tar.gz python383.patch New: ---- cheroot-8.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cheroot.spec ++++++ --- /var/tmp/diff_new_pack.qPn5E2/_old 2021-04-01 14:16:04.087874526 +0200 +++ /var/tmp/diff_new_pack.qPn5E2/_new 2021-04-01 14:16:04.091874532 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cheroot # -# 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 @@ -19,50 +19,57 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pypi_name cheroot %bcond_without python2 +%bcond_with ringdisabled Name: python-%{pypi_name} -Version: 8.3.0 +Version: 8.5.2 Release: 0 Summary: Pure-python HTTP server License: BSD-3-Clause URL: https://github.com/cherrypy/cheroot Source: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz -# PATCH-FIX_UPSTREAM //github.com/cherrypy/cheroot/pull/282 -Patch1: 0001-Avoid-race-condition-on-persistent-HTTP-connections.patch -# PATCH-FIX-UPSTREAM pr#280 -Patch2: python383.patch BuildRequires: %{python_module jaraco.functools} -BuildRequires: %{python_module jaraco.text >= 3.1} BuildRequires: %{python_module more-itertools >= 2.6} -BuildRequires: %{python_module pyOpenSSL} -BuildRequires: %{python_module pytest >= 4.6} -BuildRequires: %{python_module pytest-mock >= 1.11.0} -BuildRequires: %{python_module requests-unixsocket} -BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools >= 34.4} BuildRequires: %{python_module setuptools_scm >= 1.15.0} BuildRequires: %{python_module setuptools_scm_git_archive >= 1.0} BuildRequires: %{python_module six >= 1.11.0} -BuildRequires: %{python_module trustme} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with python2} +BuildRequires: python-backports.functools_lru_cache +BuildRequires: python-selectors2 +%endif +# SECTION test requirements +%if ! %{with ringdisabled} +# This is not in Ring1 for Staging. See check section +BuildRequires: %{python_module jaraco.context} +%endif +BuildRequires: %{python_module jaraco.text >= 3.1} +BuildRequires: %{python_module portend} +BuildRequires: %{python_module pyOpenSSL} +BuildRequires: %{python_module pytest >= 4.6} +BuildRequires: %{python_module pytest-forked} +BuildRequires: %{python_module pytest-mock >= 1.11.0} +BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module requests-toolbelt} +BuildRequires: %{python_module requests-unixsocket} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module trustme} +BuildRequires: %{python_module urllib3 >= 1.25} +# /SECTION Requires: python-jaraco.functools Requires: python-more-itertools >= 2.6 Requires: python-six >= 1.11.0 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives # the package and distribution name is lowercase-cheroot, # but PyPI claims the name is capital-Cheroot # *smacks head against desk* Provides: python-Cheroot = %{version} BuildArch: noarch -%if %{with python2} -BuildRequires: python-backports.functools_lru_cache -%endif -%ifpython2 -Requires: python-backports.functools_lru_cache -%endif %ifpython2 Requires: python-backports.functools_lru_cache +Requires: python-selectors2 %endif %python_subpackages @@ -71,8 +78,8 @@ %prep %autosetup -n cheroot-%{version} -p1 -# do not require cov/xdist/etc -rm pytest.ini +# do not check coverage +sed -i '/--cov/ d' pytest.ini %build %python_build @@ -83,8 +90,13 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Exclusions because of gh#cherrypy/cheroot#200 -%pytest -k 'not test_tls_client_auth' +%if %{with ringdisabled} +# skip this test file (1 test only) in Factory staging, because we +# do not want to add python-jaraco.context to Ring1 +pytest_opts="--ignore cheroot/test/test_wsgi.py" +%endif +# test_tls_client_auth[...-False-localhost-builtin] fails ocassionally on server-side OBS +%pytest $pytest_opts -k "not (test_tls_client_auth and False-localhost-builtin)" %post %python_install_alternative cheroot @@ -96,6 +108,7 @@ %license LICENSE.md %doc README.rst CHANGES.rst %python_alternative %{_bindir}/cheroot -%{python_sitelib}/* +%{python_sitelib}/cheroot +%{python_sitelib}/cheroot-%{version}*-info %changelog ++++++ cheroot-8.3.0.tar.gz -> cheroot-8.5.2.tar.gz ++++++ ++++ 4979 lines of diff (skipped)