From 401fbcd144e4a30fdf28cf2edcf259ff9c1d9edd9e1869f26d2a41dd6e0498f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 11:55:15 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-persistent revision 773ac5ea746d9f314efbcd27edbf501e --- persistent-5.0.tar.gz | 3 -- persistent-5.2.tar.gz | 3 ++ python-persistent.changes | 73 +++++++++++++++++++++++++-------------- python-persistent.spec | 8 ++--- 4 files changed, 55 insertions(+), 32 deletions(-) delete mode 100644 persistent-5.0.tar.gz create mode 100644 persistent-5.2.tar.gz diff --git a/persistent-5.0.tar.gz b/persistent-5.0.tar.gz deleted file mode 100644 index 7654f04..0000000 --- a/persistent-5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:871e63c52131160795cdc8e9c3dd313f86e0dff34c151c98dcd9123c6d8ce673 -size 123807 diff --git a/persistent-5.2.tar.gz b/persistent-5.2.tar.gz new file mode 100644 index 0000000..d0395f8 --- /dev/null +++ b/persistent-5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbea5d1ff9db4e451ca39bc0b42a9ea537e6cac9282ae8c0780fb8ffae3ec834 +size 124717 diff --git a/python-persistent.changes b/python-persistent.changes index 96b2d1b..7025ff9 100644 --- a/python-persistent.changes +++ b/python-persistent.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sat Mar 16 08:52:32 UTC 2024 - Dirk Müller + +- update to 5.2: + * Add preliminary support for Python 3.13a3. + +------------------------------------------------------------------- +Sun Jan 7 20:15:51 UTC 2024 - Dirk Müller + +- update to 5.1: + * Add support for Python 3.12. +- drop python312.patch (upstream) + +------------------------------------------------------------------- +Mon Aug 14 21:52:43 UTC 2023 - Dirk Müller + +- add python312.patch to build with python 3.12 + +------------------------------------------------------------------- +Fri Jun 9 12:35:32 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Mon Jan 9 21:01:23 UTC 2023 - Hans-Peter Jansen @@ -75,12 +98,12 @@ Thu Mar 12 11:54:12 UTC 2020 - Marketa Calabkova - 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 + * 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. + * Fix the Python implementation of the PickleCache to be able to + store objects that cannot be weakly referenced. * Add support for Python 3.8. ------------------------------------------------------------------- @@ -150,54 +173,54 @@ Sat Jun 24 11:10:40 UTC 2017 - aloisio@gmx.com - Update to 4.2.4.2 * Packaging-only release: fix Python 2.7 manylinux wheels. 4.2.4.1: - * Packaging-only release: get manylinux wheel built + * Packaging-only release: get manylinux wheel built automatically. 4.2.4: - * Avoid raising a SystemError: error return without exception - set when loading an object with slots whose jar generates an + * Avoid raising a SystemError: error return without exception + set when loading an object with slots whose jar generates an exception (such as a ZODB POSKeyError) in setstate. 4.2.3: - * Fix the hashcode of Python TimeStamp objects on 64-bit - Python on Windows. See + * Fix the hashcode of Python TimeStamp objects on 64-bit + Python on Windows. See https://github.com/zopefoundation/persistent/pull/55 - * Stop calling gc.collect every time PickleCache.incrgc is - called (every transaction boundary) in pure-Python mode (PyPy). - This means that the reported size of the cache may be wrong + * Stop calling gc.collect every time PickleCache.incrgc is + called (every transaction boundary) in pure-Python mode (PyPy). + This means that the reported size of the cache may be wrong (until the next GC), but it is much faster. This should not have any observable effects for user code. - * Stop clearing the dict and slots of objects added to - PickleCache.new_ghost (typically these values are passed to + * Stop clearing the dict and slots of objects added to + PickleCache.new_ghost (typically these values are passed to __new__ from the pickle data) in pure-Python mode (PyPy). This matches the behaviour of the C code. * Add support for Python 3.6. - * Fix __setstate__ interning when state parameter is not a + * Fix __setstate__ interning when state parameter is not a built-in dict 4.2.2: - * Drop use of ctypes for determining maximum integer size, to - increase pure-Python compatibility. See + * Drop use of ctypes for determining maximum integer size, to + increase pure-Python compatibility. See https://github.com/zopefoundation/persistent/pull/31 - * Ensure that __slots__ attributes are cleared when a + * Ensure that __slots__ attributes are cleared when a persistent object is ghostified. (This excluses classes that - override __new__. See + override __new__. See https://github.com/zopefoundation/persistent/wiki/Notes_on_state_ new_and_slots if you’re curious.) 4.2.1: - * Fix the hashcode of C TimeStamp objects on 64-bit Python 3 + * Fix the hashcode of C TimeStamp objects on 64-bit Python 3 on Windows. 4.2.0: - * Fixed the Python(/PYPY) implementation TimeStamp.timeTime + * Fixed the Python(/PYPY) implementation TimeStamp.timeTime method to have subsecond precision. - * When testing PURE_PYTHON environments under tox, avoid + * When testing PURE_PYTHON environments under tox, avoid poisoning the user’s global wheel cache. * Add support for Python 3.5. * Drop support for Python 2.6 and 3.2. 4.1.1: - * Fix manifest and re-upload to fix stray files included in + * Fix manifest and re-upload to fix stray files included in 4.1.0. 4.1.0: - * Make the Python implementation of Persistent and PickleCache - behave more similarly to the C implementation. In particular, - the Python version can now run the complete ZODB and ZEO test + * Make the Python implementation of Persistent and PickleCache + behave more similarly to the C implementation. In particular, + the Python version can now run the complete ZODB and ZEO test suites. * Fix the hashcode of the Python TimeStamp on 32-bit platforms. diff --git a/python-persistent.spec b/python-persistent.spec index ddb3e96..7f77f28 100644 --- a/python-persistent.spec +++ b/python-persistent.spec @@ -1,7 +1,7 @@ # # spec file for package python-persistent # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2013-2023 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,9 +17,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-persistent -Version: 5.0 +Version: 5.2 Release: 0 Summary: Translucent persistent objects License: ZPL-2.1 @@ -51,7 +51,7 @@ Requires: python-devel This package contains the files needed for binding the %{name} C module. %prep -%setup -q -n persistent-%{version} +%autosetup -p1 -n persistent-%{version} rm -rf persistent.egg-info # this two tests fail persistently (pun intended): disable them here allows to build with 15.4 as well sed -i 's|test__p_repr_exception|tst__p_repr_exception|' src/persistent/tests/test_persistence.py