Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-wstools for openSUSE:Factory 
checked in at 2022-01-28 22:12:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wstools (Old)
 and      /work/SRC/openSUSE:Factory/.python-wstools.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wstools"

Fri Jan 28 22:12:43 2022 rev:8 rq:949681 version:0.4.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wstools/python-wstools.changes    
2021-12-08 22:10:38.466910025 +0100
+++ /work/SRC/openSUSE:Factory/.python-wstools.new.1898/python-wstools.changes  
2022-01-28 22:13:32.278478612 +0100
@@ -1,0 +2,8 @@
+Fri Jan 28 09:59:19 UTC 2022 - [email protected]
+
+- work with python 3.10
+- added patches
+  fix https://github.com/pycontribs/wstools/issues/37
+  + python-wstools-python-310.patch
+
+-------------------------------------------------------------------

New:
----
  python-wstools-python-310.patch

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

Other differences:
------------------
++++++ python-wstools.spec ++++++
--- /var/tmp/diff_new_pack.fkXpz2/_old  2022-01-28 22:13:32.726475546 +0100
+++ /var/tmp/diff_new_pack.fkXpz2/_new  2022-01-28 22:13:32.734475491 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wstools
 #
-# 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
@@ -25,6 +25,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/pycontribs/wstools
 Source:         
https://files.pythonhosted.org/packages/8d/d0/0e48ae89e4b2a9aa3a1a088782ae183dc09ca1f3545b29051c46d9efbc0f/wstools-%{version}.tar.gz
+# https://github.com/pycontribs/wstools/issues/37
+Patch0:         python-wstools-python-310.patch
 BuildRequires:  %{python_module pbr >= 1.10}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools >= 17.1}
@@ -40,6 +42,7 @@
 
 %prep
 %setup -q -n wstools-%{version}
+%patch0 -p1
 # https://github.com/pycontribs/wstools/issues/35
 sed -i 's:.pytest-runner.::' setup.py
 

++++++ python-wstools-python-310.patch ++++++
Index: wstools-0.4.8/wstools/Utility.py
===================================================================
--- wstools-0.4.8.orig/wstools/Utility.py       2018-04-04 11:49:16.000000000 
+0200
+++ wstools-0.4.8/wstools/Utility.py    2022-01-28 10:53:36.881702924 +0100
@@ -33,7 +33,10 @@ try:
     from UserDict import DictMixin  # noqa
 except ImportError:
     from collections import UserDict
-    from collections import MutableMapping as DictMixin  # noqa
+    try:
+        from collections import MutableMapping as DictMixin  # noqa
+    except ImportError:
+        from collections.abc import MutableMapping as DictMixin  # noqa
 
 from .TimeoutSocket import TimeoutSocket, TimeoutError  # noqa
 

Reply via email to