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

Package is "python-cheroot"

Fri Mar 24 15:16:13 2023 rev:22 rq:1073643 version:9.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cheroot/python-cheroot.changes    
2023-01-03 15:04:20.990154231 +0100
+++ /work/SRC/openSUSE:Factory/.python-cheroot.new.31432/python-cheroot.changes 
2023-03-24 15:16:14.597568731 +0100
@@ -1,0 +2,8 @@
+Tue Mar 21 10:34:26 UTC 2023 - [email protected]
+
+- do not require python-six
+- added patches
+  fix 
https://github.com/cherrypy/cheroot/commit/f3170d40a699219345abb5813395ff39319fec86
+  + python-cheroot-no-six.patch
+
+-------------------------------------------------------------------

New:
----
  python-cheroot-no-six.patch

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

Other differences:
------------------
++++++ python-cheroot.spec ++++++
--- /var/tmp/diff_new_pack.74qPgA/_old  2023-03-24 15:16:15.229572104 +0100
+++ /var/tmp/diff_new_pack.74qPgA/_new  2023-03-24 15:16:15.233572126 +0100
@@ -23,7 +23,6 @@
 %endif
 
 %define pypi_name cheroot
-%define skip_python2 1
 %bcond_with ringdisabled
 Name:           python-%{pypi_name}
 Version:        9.0.0
@@ -38,6 +37,8 @@
 Patch0:         no-pypytools.patch
 # PATCH-FIX-UPSTREAM no-relative-imports.patch bsc#[0-9]+ [email protected]
 Patch1:         no-relative-imports.patch
+# 
https://github.com/cherrypy/cheroot/commit/f3170d40a699219345abb5813395ff39319fec86
+Patch2:         python-cheroot-no-six.patch
 BuildRequires:  %{python_module base >= 3.6}
 BuildRequires:  %{python_module importlib-metadata if %python-base < 3.8}
 BuildRequires:  %{python_module jaraco.functools}
@@ -46,7 +47,6 @@
 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
@@ -71,7 +71,6 @@
 # /SECTION
 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

++++++ python-cheroot-no-six.patch ++++++
index 8ff3b02ced..b4030da6fd 100644
--- a/cheroot/test/_pytest_plugin.py
+++ b/cheroot/test/_pytest_plugin.py
@@ -8,7 +8,6 @@
 __metaclass__ = type
 
 import pytest
-import six
 
 
 pytest_version = tuple(map(int, pytest.__version__.split('.')))
@@ -46,9 +45,6 @@ def pytest_load_initial_conftests(early_config, parser, args):
         'pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception',
     ))
 
-    if six.PY2:
-        return
-
     # NOTE: `ResourceWarning` does not exist under Python 2 and so using
     # NOTE: it in warning filters results in an `_OptionError` exception
     # NOTE: being raised.

Reply via email to