Hello community,

here is the log from the commit of package python-persistent for 
openSUSE:Factory checked in at 2020-03-27 00:29:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-persistent (Old)
 and      /work/SRC/openSUSE:Factory/.python-persistent.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-persistent"

Fri Mar 27 00:29:55 2020 rev:11 rq:788434 version:4.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-persistent/python-persistent.changes      
2019-05-21 10:41:26.107046159 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-persistent.new.3160/python-persistent.changes
    2020-03-27 00:30:01.364400420 +0100
@@ -1,0 +2,32 @@
+Thu Mar 26 07:39:16 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Add patch to fix build with new zope.interface:
+  * tests.patch
+
+-------------------------------------------------------------------
+Tue Mar 24 12:41:57 UTC 2020 - [email protected]
+
+- version update to 4.6.3
+  - Fix a crash in the test suite under a 32-bit CPython on certain
+    32-bit platforms. See `issue 137
+    <https://github.com/zopefoundation/persistent/issues/137>`_. Fix by
+    `Jerry James <https://github.com/jamesjer>`_.
+  - Fix an ``AssertionError`` clearing a non-empty ``PersistentMapping``
+    that has no connection. See `issue 139
+    <https://github.com/zopefoundation/persistent/issues/139>`_.
+
+-------------------------------------------------------------------
+Thu Mar 12 11:54:12 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- update to 4.6.1
+  * Stop installing C header files on PyPy
+  * Fix slicing of PersistentList to always return instances of the same class.
+  * Fix copying of PersistentList and PersistentMapping using copy.copy 
+    to also copy the underlying data object.
+  * Update the handling of the PURE_PYTHON environment variable.
+  * Add preliminary support for Python 3.9a3+.
+  * Fix the Python implementation of the PickleCache to be able to 
+    store objects that cannot be weakly referenced. 
+  * Add support for Python 3.8.
+
+-------------------------------------------------------------------

Old:
----
  persistent-4.5.0.tar.gz

New:
----
  persistent-4.6.3.tar.gz
  tests.patch

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

Other differences:
------------------
++++++ python-persistent.spec ++++++
--- /var/tmp/diff_new_pack.iMciGz/_old  2020-03-27 00:30:03.404401453 +0100
+++ /var/tmp/diff_new_pack.iMciGz/_new  2020-03-27 00:30:03.408401454 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-persistent
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,22 +19,23 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-persistent
-Version:        4.5.0
+Version:        4.6.3
 Release:        0
 Summary:        Translucent persistent objects
 License:        ZPL-2.1
-Group:          Development/Languages/Python
 URL:            https://github.com/zopefoundation/persistent
 Source:         
https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz
+# https://github.com/zopefoundation/persistent/issues/144
+Patch0:         tests.patch
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
-Requires:       python-cffi
 BuildRequires:  %{python_module manuel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module zope.interface}
 BuildRequires:  %{python_module zope.testrunner}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-cffi
 Requires:       python-zope.interface
 %python_subpackages
 
@@ -45,7 +46,6 @@
 
 %package        devel
 Summary:        Translucent persistent objects
-Group:          Development/Languages/Python
 Requires:       %{name} = %{version}
 Requires:       python-devel
 
@@ -54,6 +54,7 @@
 
 %prep
 %setup -q -n persistent-%{version}
+%patch0 -p1
 rm -rf persistent.egg-info
 
 %build

++++++ persistent-4.5.0.tar.gz -> persistent-4.6.3.tar.gz ++++++
++++ 3791 lines of diff (skipped)

++++++ tests.patch ++++++
Index: persistent-4.6.3/persistent/tests/test_picklecache.py
===================================================================
--- persistent-4.6.3.orig/persistent/tests/test_picklecache.py
+++ persistent-4.6.3/persistent/tests/test_picklecache.py
@@ -1124,13 +1124,12 @@ class CPickleCacheTests(PickleCacheTestM
         # interface declaration to the C implementation.
         from persistent.interfaces import IExtendedPickleCache
         from zope.interface.verify import verifyObject
-        from zope.interface.exceptions import DoesNotImplement
-        from zope.interface.exceptions import BrokenImplementation
+        from zope.interface.exceptions import MultipleInvalid
         # We don't claim to implement it.
-        with self.assertRaises(DoesNotImplement):
+        with self.assertRaises(MultipleInvalid):
             verifyObject(IExtendedPickleCache, self._makeOne())
         # And we don't even provide everything it asks for.
-        with self.assertRaises(BrokenImplementation):
+        with self.assertRaises(MultipleInvalid):
             verifyObject(IExtendedPickleCache, self._makeOne(), tentative=True)
 
     def test___setitem___persistent_class(self):

Reply via email to