Sync from SUSE:SLFO:Main python-persistent revision 773ac5ea746d9f314efbcd27edbf501e

This commit is contained in:
Adrian Schröter 2024-12-13 11:55:15 +01:00
parent cb6cb8a7da
commit 401fbcd144
4 changed files with 55 additions and 32 deletions

BIN
persistent-5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
persistent-5.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sat Mar 16 08:52:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.2:
* Add preliminary support for Python 3.13a3.
-------------------------------------------------------------------
Sun Jan 7 20:15:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- add python312.patch to build with python 3.12
-------------------------------------------------------------------
Fri Jun 9 12:35:32 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon Jan 9 21:01:23 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
@ -75,12 +98,12 @@ Thu Mar 12 11:54:12 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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 youre 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 users 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.

View File

@ -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