Hello community,

here is the log from the commit of package python-sortedcollections for 
openSUSE:Factory checked in at 2020-07-24 10:02:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sortedcollections (Old)
 and      /work/SRC/openSUSE:Factory/.python-sortedcollections.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sortedcollections"

Fri Jul 24 10:02:10 2020 rev:5 rq:822280 version:1.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sortedcollections/python-sortedcollections.changes
        2020-07-20 21:06:41.593416667 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sortedcollections.new.3592/python-sortedcollections.changes
      2020-07-24 10:04:07.509864287 +0200
@@ -1,0 +2,6 @@
+Wed Jul 22 15:04:59 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Update to 1.2.1:
+  - Update self._dict_* methods to use dict.__* functions directly.
+
+-------------------------------------------------------------------

Old:
----
  method_item.patch
  v1.1.2.tar.gz

New:
----
  v1.2.1.tar.gz

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

Other differences:
------------------
++++++ python-sortedcollections.spec ++++++
--- /var/tmp/diff_new_pack.jtymRW/_old  2020-07-24 10:04:15.673870522 +0200
+++ /var/tmp/diff_new_pack.jtymRW/_new  2020-07-24 10:04:15.677870524 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-sortedcollections
-Version:        1.1.2
+Version:        1.2.1
 Release:        0
 Summary:        Python Sorted Collections
 License:        Apache-2.0
@@ -26,9 +26,6 @@
 URL:            https://github.com/grantjenks/sortedcollections
 #Source:         
https://files.pythonhosted.org/packages/source/s/sortedcollections/sortedcollections-%%{version}.tar.gz
 Source:         
https://github.com/grantjenks/python-sortedcollections/archive/v%{version}.tar.gz
-# PATCH-FIX-UPSTREAM method_item.patch 
gh#grantjenks/python-sortedcollections#12 mc...@suse.com
-# Add method_item.patch to replace _del_item and _set_item methods
-Patch0:         method_item.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ v1.1.2.tar.gz -> v1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-sortedcollections-1.1.2/appveyor.yml 
new/python-sortedcollections-1.2.1/appveyor.yml
--- old/python-sortedcollections-1.1.2/appveyor.yml     2019-01-12 
22:29:40.000000000 +0100
+++ new/python-sortedcollections-1.2.1/appveyor.yml     2020-06-07 
21:53:14.000000000 +0200
@@ -3,12 +3,10 @@
   matrix:
 
     - PYTHON: "C:\\Python27"
-    - PYTHON: "C:\\Python34"
     - PYTHON: "C:\\Python35"
     - PYTHON: "C:\\Python36"
     - PYTHON: "C:\\Python37"
     - PYTHON: "C:\\Python27-x64"
-    - PYTHON: "C:\\Python34-x64"
     - PYTHON: "C:\\Python35-x64"
     - PYTHON: "C:\\Python36-x64"
     - PYTHON: "C:\\Python37-x64"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-sortedcollections-1.1.2/setup.py 
new/python-sortedcollections-1.2.1/setup.py
--- old/python-sortedcollections-1.1.2/setup.py 2019-01-12 22:29:40.000000000 
+0100
+++ new/python-sortedcollections-1.2.1/setup.py 2020-06-07 21:53:14.000000000 
+0200
@@ -18,7 +18,7 @@
 
 setup(
     name='sortedcollections',
-    version='1.1.2',
+    version='1.2.1',
     description='Python Sorted Collections',
     long_description=readme,
     author='Grant Jenks',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-sortedcollections-1.1.2/sortedcollections/__init__.py 
new/python-sortedcollections-1.2.1/sortedcollections/__init__.py
--- old/python-sortedcollections-1.1.2/sortedcollections/__init__.py    
2019-01-12 22:29:40.000000000 +0100
+++ new/python-sortedcollections-1.2.1/sortedcollections/__init__.py    
2020-06-07 21:53:14.000000000 +0200
@@ -17,8 +17,8 @@
 from .ordereddict import OrderedDict
 
 __title__ = 'sortedcollections'
-__version__ = '1.1.2'
-__build__ = 0x010102
+__version__ = '1.2.1'
+__build__ = 0x010201
 __author__ = 'Grant Jenks'
 __license__ = 'Apache 2.0'
 __copyright__ = 'Copyright 2015-2018 Grant Jenks'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-sortedcollections-1.1.2/sortedcollections/recipes.py 
new/python-sortedcollections-1.2.1/sortedcollections/recipes.py
--- old/python-sortedcollections-1.1.2/sortedcollections/recipes.py     
2019-01-12 22:29:40.000000000 +0100
+++ new/python-sortedcollections-1.2.1/sortedcollections/recipes.py     
2020-06-07 21:53:14.000000000 +0200
@@ -86,14 +86,14 @@
         if key not in self:
             raise KeyError(key)
         self._list_remove(key)
-        self._dict_delitem(key)
+        dict.__delitem__(self, key)
 
     def __setitem__(self, key, value):
         "``mapping[key] = value``"
         if key in self:
             self._list_remove(key)
-            self._dict_delitem(key)
-        self._dict_setitem(key, value)
+            dict.__delitem__(self, key)
+        dict.__setitem__(self, key, value)
         self._list_add(key)
 
     _setitem = __setitem__
@@ -158,14 +158,14 @@
         if key not in self:
             raise KeyError(key)
         self._list_remove(key)
-        self._dict_delitem(key)
+        dict.__delitem__(self, key)
 
     def __setitem__(self, key, value):
         "``mapping[key] = value``"
         if key in self:
             self._list_remove(key)
-            self._dict_delitem(key)
-        self._dict_setitem(key, value)
+            dict.__delitem__(self, key)
+        dict.__setitem__(self, key, value)
         self._list_add(key)
 
     _setitem = __setitem__


Reply via email to