Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-metamagic.json for 
openSUSE:Factory checked in at 2022-01-06 15:51:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-metamagic.json (Old)
 and      /work/SRC/openSUSE:Factory/.python-metamagic.json.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-metamagic.json"

Thu Jan  6 15:51:18 2022 rev:4 rq:944146 version:0.9.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-metamagic.json/python-metamagic.json.changes  
    2021-12-09 19:46:05.401147140 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-metamagic.json.new.1896/python-metamagic.json.changes
    2022-01-06 15:52:02.524996254 +0100
@@ -1,0 +2,6 @@
+Thu Jan  6 05:50:48 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch use-collections-abc.patch:
+  * Use now current module path
+
+-------------------------------------------------------------------

New:
----
  use-collections-abc.patch

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

Other differences:
------------------
++++++ python-metamagic.json.spec ++++++
--- /var/tmp/diff_new_pack.PUt56r/_old  2022-01-06 15:52:02.936996481 +0100
+++ /var/tmp/diff_new_pack.PUt56r/_new  2022-01-06 15:52:02.944996485 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-metamagic.json
 #
-# 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
@@ -23,9 +23,9 @@
 Release:        0
 Summary:        Python JSON encoder
 License:        BSD-2-Clause
-Group:          Development/Languages/Python
 URL:            http://github.com/sprymix/metamagic.json
 Source:         
https://files.pythonhosted.org/packages/source/m/metamagic.json/metamagic.json-%{version}.tar.gz
+Patch0:         use-collections-abc.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -39,7 +39,7 @@
 designed to be compatible with native JSON decoders in various web browsers.
 
 %prep
-%setup -q -n metamagic.json-%{version}
+%autosetup -p1 -n metamagic.json-%{version}
 touch metamagic/__init__.py
 
 sed -i 's/from metamagic.utils.debug import assert_raises/from pytest import 
raises as assert_raises/' metamagic/json/tests/test_encoder.py

++++++ use-collections-abc.patch ++++++
Index: metamagic.json-0.9.6/metamagic/json/encoder.py
===================================================================
--- metamagic.json-0.9.6.orig/metamagic/json/encoder.py
+++ metamagic.json-0.9.6/metamagic/json/encoder.py
@@ -11,7 +11,8 @@ from re import compile as re_compile
 from numbers import Number
 from decimal import Decimal
 from math import isnan, isinf
-from collections import OrderedDict, Set, Sequence, Mapping
+from collections import OrderedDict
+from collections.abc import Set, Sequence, Mapping
 from uuid import UUID
 from datetime import date, time
 
Index: metamagic.json-0.9.6/metamagic/json/tests/test_encoder.py
===================================================================
--- metamagic.json-0.9.6.orig/metamagic/json/tests/test_encoder.py
+++ metamagic.json-0.9.6/metamagic/json/tests/test_encoder.py
@@ -16,7 +16,8 @@ except ImportError:
 
 from json import loads as std_loads, dumps as std_dumps
 from decimal import Decimal
-from collections import OrderedDict, Set, Sequence, Mapping
+from collections import OrderedDict
+from collections.abc import Set, Sequence, Mapping
 from uuid import UUID
 from datetime import datetime, tzinfo, timedelta, date, time
 

Reply via email to