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 2022-01-23 16:25:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cheroot (Old)
 and      /work/SRC/openSUSE:Factory/.python-cheroot.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cheroot"

Sun Jan 23 16:25:43 2022 rev:18 rq:948167 version:8.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cheroot/python-cheroot.changes    
2021-12-25 20:16:39.629250330 +0100
+++ /work/SRC/openSUSE:Factory/.python-cheroot.new.1938/python-cheroot.changes  
2022-01-23 16:25:50.872528564 +0100
@@ -1,0 +2,28 @@
+Sat Jan 22 17:17:44 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- The work around needs to ignore the testfile from the sitelib
+
+-------------------------------------------------------------------
+Sat Jan 22 12:25:02 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Work around xdist related conftest import error
+
+-------------------------------------------------------------------
+Fri Jan 21 16:53:38 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Update to 8.6.0:
+  -  #384 via PR #385, PR #406: Exposed type stubs with
+    annotations for public API
+  - PR #401 (related to the PR #352 effort): Started reusing the
+    the expriration_interval setting in the low-level
+        select.select() invocation,
+    effectively reducing the system load under the Windows OS
+    when idle, that is noticeable on low-end hardware systems
+- Removed upstreamed patches
+  - cheroot-pr370-py310-threaddeprecations.patch
+  - cheroot-pr371-py310-threaddeprecations.patch
+  - cheroot-c0b1b167-py310-threaddeprecations.patch
+- Add no-pypytools.patch removing the dependency on pypytools as
+  we don't have PyPy in openSUSE at all.
+
+-------------------------------------------------------------------

Old:
----
  cheroot-8.5.2.tar.gz
  cheroot-c0b1b167-py310-threaddeprecations.patch
  cheroot-pr370-py310-threaddeprecations.patch
  cheroot-pr371-py310-threaddeprecations.patch

New:
----
  cheroot-8.6.0.tar.gz
  no-pypytools.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cheroot.spec ++++++
--- /var/tmp/diff_new_pack.bbHDP1/_old  2022-01-23 16:25:51.380525092 +0100
+++ /var/tmp/diff_new_pack.bbHDP1/_new  2022-01-23 16:25:51.388525037 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,15 +27,15 @@
 %bcond_without python2
 %bcond_with ringdisabled
 Name:           python-%{pypi_name}
-Version:        8.5.2
+Version:        8.6.0
 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
-Patch0:         
https://github.com/cherrypy/cheroot/pull/370.diff#/cheroot-pr370-py310-threaddeprecations.patch
-Patch1:         
https://github.com/cherrypy/cheroot/pull/371.diff#/cheroot-pr371-py310-threaddeprecations.patch
-Patch2:         
https://github.com/cherrypy/cheroot/commit/0b16749ecdfa064315fc7908f6865071fc33d778.diff#/cheroot-c0b1b167-py310-threaddeprecations.patch
+# PATCH-FIX-OPENSUSE no-pypytools.patch mc...@suse.com
+# We don't have PyPy at all, so no need support for it
+Patch0:         no-pypytools.patch
 BuildRequires:  %{python_module jaraco.functools}
 BuildRequires:  %{python_module more-itertools >= 2.6}
 BuildRequires:  %{python_module setuptools >= 34.4}
@@ -104,15 +104,16 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+mkdir testclean
+pushd testclean
 %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"
+%python_expand pytest_opts+=" --ignore  
%{buildroot}%{$python_sitelib}/cheroot/test/test_wsgi.py"
 %endif
-# https://github.com/cherrypy/cheroot/issues/355
-pytest_opts+=" -p no:threadexception"
 # 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)"
+%pytest --pyargs cheroot $pytest_opts -k "not (test_tls_client_auth and 
False-localhost-builtin)"
+popd
 
 %pre
 # If libalternatives is used: Removing old update-alternatives entries.

++++++ cheroot-8.5.2.tar.gz -> cheroot-8.6.0.tar.gz ++++++
++++ 6462 lines of diff (skipped)

++++++ no-pypytools.patch ++++++
---
 cheroot/test/test_server.py |   13 -------------
 1 file changed, 13 deletions(-)

--- a/cheroot/test/test_server.py
+++ b/cheroot/test/test_server.py
@@ -16,7 +16,6 @@ import requests
 import requests_unixsocket
 import six
 
-from pypytools.gc.custom import DefaultGc
 from six.moves import queue, urllib
 
 from .._compat import bton, ntob
@@ -370,13 +369,6 @@ if not IS_WINDOWS:
 
 
 @pytest.fixture
-def _garbage_bin():
-    """Disable garbage collection when this fixture is in use."""
-    with DefaultGc().nogc():
-        yield
-
-
-@pytest.fixture
 def resource_limit(request):
     """Set the resource limit two times bigger then requested."""
     resource = pytest.importorskip(
@@ -405,11 +397,6 @@ def resource_limit(request):
 @pytest.fixture
 def many_open_sockets(request, resource_limit):
     """Allocate a lot of file descriptors by opening dummy sockets."""
-    # NOTE: `@pytest.mark.usefixtures` doesn't work on fixtures which
-    # NOTE: forces us to invoke this one dynamically to avoid having an
-    # NOTE: unused argument.
-    request.getfixturevalue('_garbage_bin')
-
     # Hoard a lot of file descriptors by opening and storing a lot of sockets
     test_sockets = []
     # Open a lot of file descriptors, so the next one the server

Reply via email to