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 2023-01-03 15:04:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cheroot (Old)
 and      /work/SRC/openSUSE:Factory/.python-cheroot.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cheroot"

Tue Jan  3 15:04:16 2023 rev:21 rq:1046287 version:9.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cheroot/python-cheroot.changes    
2022-11-17 17:23:52.440865317 +0100
+++ /work/SRC/openSUSE:Factory/.python-cheroot.new.1563/python-cheroot.changes  
2023-01-03 15:04:20.990154231 +0100
@@ -1,0 +2,14 @@
+Mon Jan  2 18:19:04 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 9.0.0
+  * #252 via #339 and #510: Cheroot now requires Python 3.6 or
+    later. Python 3.5 and Python 2.7 are still supported by the
+    maint/8.x branch and stabilizing bugfixes will be accepted to
+    that branch -- by @jaraco
+  * Set worker thread names as str by @jarus in #503
+  * Added types for _compat.py by @kasium in #491
+  * Configured stubtest hook for stub testing by @kasium in #415
+  * Started running Python commands in tox in isolated and strict
+    mode by @webknjaz in #562
+
+-------------------------------------------------------------------

Old:
----
  cheroot-8.6.0.tar.gz

New:
----
  cheroot-9.0.0.tar.gz
  cheroot.rpmlintrc

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

Other differences:
------------------
++++++ python-cheroot.spec ++++++
--- /var/tmp/diff_new_pack.fnF9Sx/_old  2023-01-03 15:04:21.670158200 +0100
+++ /var/tmp/diff_new_pack.fnF9Sx/_new  2023-01-03 15:04:21.674158223 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,32 +23,33 @@
 %endif
 
 %define pypi_name cheroot
-%bcond_without python2
+%define skip_python2 1
 %bcond_with ringdisabled
 Name:           python-%{pypi_name}
-Version:        8.6.0
+Version:        9.0.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
+Source99:       cheroot.rpmlintrc
 # 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
 # PATCH-FIX-UPSTREAM no-relative-imports.patch bsc#[0-9]+ mc...@suse.com
 Patch1:         no-relative-imports.patch
+BuildRequires:  %{python_module base >= 3.6}
+BuildRequires:  %{python_module importlib-metadata if %python-base < 3.8}
 BuildRequires:  %{python_module jaraco.functools}
 BuildRequires:  %{python_module more-itertools >= 2.6}
+BuildRequires:  %{python_module pip}
 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 wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros >= 20210929
-%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
@@ -60,6 +61,7 @@
 BuildRequires:  %{python_module pytest >= 4.6}
 BuildRequires:  %{python_module pytest-forked}
 BuildRequires:  %{python_module pytest-mock >= 1.11.0}
+BuildRequires:  %{python_module pytest-rerunfailures}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module requests-toolbelt}
 BuildRequires:  %{python_module requests-unixsocket}
@@ -70,6 +72,9 @@
 Requires:       python-jaraco.functools
 Requires:       python-more-itertools >= 2.6
 Requires:       python-six >= 1.11.0
+%if 0%{python_version_nodots} < 38
+Requires:       python-importlib-metadata
+%endif
 %if %{with libalternatives}
 Requires:       alts
 BuildRequires:  alts
@@ -79,13 +84,8 @@
 %endif
 # 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
-%ifpython2
-Requires:       python-backports.functools_lru_cache
-Requires:       python-selectors2
-%endif
 %python_subpackages
 
 %description
@@ -97,10 +97,10 @@
 sed -i -e '/--cov/ d' pytest.ini
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/cheroot
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 

++++++ cheroot-8.6.0.tar.gz -> cheroot-9.0.0.tar.gz ++++++
++++ 15873 lines of diff (skipped)

++++++ cheroot.rpmlintrc ++++++
# empty typing stubs are okay
addFilter("zero-length .*cheroot.*pyi")

++++++ no-pypytools.patch ++++++
--- /var/tmp/diff_new_pack.fnF9Sx/_old  2023-01-03 15:04:21.850159250 +0100
+++ /var/tmp/diff_new_pack.fnF9Sx/_new  2023-01-03 15:04:21.854159274 +0100
@@ -2,17 +2,20 @@
  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
+Index: cheroot-9.0.0/cheroot/test/test_server.py
+===================================================================
+--- cheroot-9.0.0.orig/cheroot/test/test_server.py
++++ cheroot-9.0.0/cheroot/test/test_server.py
+@@ -12,8 +12,6 @@ import pytest
+ 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:
+ from .._compat import IS_LINUX, IS_MACOS, IS_WINDOWS, SYS_PLATFORM
+ from ..server import IS_UID_GID_RESOLVABLE, Gateway, HTTPServer
+@@ -380,13 +378,6 @@ if not IS_WINDOWS and not ISSUE511:
  
  
  @pytest.fixture
@@ -26,7 +29,7 @@
  def resource_limit(request):
      """Set the resource limit two times bigger then requested."""
      resource = pytest.importorskip(
-@@ -405,11 +397,6 @@ def resource_limit(request):
+@@ -415,11 +406,6 @@ def resource_limit(request):
  @pytest.fixture
  def many_open_sockets(request, resource_limit):
      """Allocate a lot of file descriptors by opening dummy sockets."""

++++++ no-relative-imports.patch ++++++
--- /var/tmp/diff_new_pack.fnF9Sx/_old  2023-01-03 15:04:21.866159344 +0100
+++ /var/tmp/diff_new_pack.fnF9Sx/_new  2023-01-03 15:04:21.870159367 +0100
@@ -5,33 +5,39 @@
  cheroot/test/test_ssl.py    |   12 ++++++------
  4 files changed, 18 insertions(+), 18 deletions(-)
 
---- a/cheroot/ssl/builtin.py
-+++ b/cheroot/ssl/builtin.py
-@@ -29,11 +29,11 @@ except ImportError:
- 
- import six
+Index: cheroot-9.0.0/cheroot/ssl/builtin.py
+===================================================================
+--- cheroot-9.0.0.orig/cheroot/ssl/builtin.py
++++ cheroot-9.0.0/cheroot/ssl/builtin.py
+@@ -25,11 +25,11 @@ except ImportError:
+     except ImportError:
+         DEFAULT_BUFFER_SIZE = -1
  
 -from . import Adapter
 -from .. import errors
--from .._compat import IS_ABOVE_OPENSSL10, suppress
+-from .._compat import IS_ABOVE_OPENSSL10
 -from ..makefile import StreamReader, StreamWriter
 -from ..server import HTTPServer
 +from cheroot.ssl import Adapter
 +from cheroot import errors
-+from cheroot._compat import IS_ABOVE_OPENSSL10, suppress
++from cheroot._compat import IS_ABOVE_OPENSSL10
 +from cheroot.makefile import StreamReader, StreamWriter
 +from cheroot.server import HTTPServer
  
- if six.PY2:
-     generic_socket_error = socket.error
---- a/cheroot/test/conftest.py
-+++ b/cheroot/test/conftest.py
-@@ -12,11 +12,11 @@ import time
+ generic_socket_error = OSError
+ 
+Index: cheroot-9.0.0/cheroot/test/conftest.py
+===================================================================
+--- cheroot-9.0.0.orig/cheroot/test/conftest.py
++++ cheroot-9.0.0/cheroot/test/conftest.py
+@@ -9,12 +9,12 @@ import time
  
  import pytest
  
+-from .._compat import IS_MACOS, IS_WINDOWS  # noqa: WPS436
 -from ..server import Gateway, HTTPServer
 -from ..testing import (  # noqa: F401  # pylint: disable=unused-import
++from cheroot._compat import IS_MACOS, IS_WINDOWS  # noqa: WPS436
 +from cheroot.server import Gateway, HTTPServer
 +from cheroot.testing import (  # noqa: F401  # pylint: disable=unused-import
      native_server, wsgi_server,
@@ -41,11 +47,13 @@
  
  
  @pytest.fixture
---- a/cheroot/test/test_server.py
-+++ b/cheroot/test/test_server.py
-@@ -18,10 +18,10 @@ import six
- 
- from six.moves import queue, urllib
+Index: cheroot-9.0.0/cheroot/test/test_server.py
+===================================================================
+--- cheroot-9.0.0.orig/cheroot/test/test_server.py
++++ cheroot-9.0.0/cheroot/test/test_server.py
+@@ -12,10 +12,10 @@ import pytest
+ import requests
+ import requests_unixsocket
  
 -from .._compat import bton, ntob
 -from .._compat import IS_LINUX, IS_MACOS, IS_WINDOWS, SYS_PLATFORM
@@ -58,10 +66,12 @@
      ANY_INTERFACE_IPV4,
      ANY_INTERFACE_IPV6,
      EPHEMERAL_PORT,
---- a/cheroot/test/test_ssl.py
-+++ b/cheroot/test/test_ssl.py
-@@ -21,11 +21,11 @@ import requests
- import six
+Index: cheroot-9.0.0/cheroot/test/test_ssl.py
+===================================================================
+--- cheroot-9.0.0.orig/cheroot/test/test_ssl.py
++++ cheroot-9.0.0/cheroot/test/test_ssl.py
+@@ -16,11 +16,11 @@ import pytest
+ import requests
  import trustme
  
 -from .._compat import bton, ntob, ntou
@@ -77,7 +87,7 @@
      ANY_INTERFACE_IPV4,
      ANY_INTERFACE_IPV6,
      EPHEMERAL_PORT,
-@@ -33,7 +33,7 @@ from ..testing import (
+@@ -28,7 +28,7 @@ from ..testing import (
      _get_conn_data,
      _probe_ipv6_sock,
  )

Reply via email to