15
0

- update to 5.1:

* Add support for Python 3.12.
- drop python312.patch (upstream)
- add python312.patch to build with python 3.12
  * Fix copying of PersistentList and PersistentMapping using copy.copy
  * Fix the Python implementation of the PickleCache to be able to
    store objects that cannot be weakly referenced.
  * Packaging-only release: get manylinux wheel built
  * Avoid raising a SystemError: error return without exception
    set when loading an object with slots whose jar generates an
  * Fix the hashcode of Python TimeStamp objects on 64-bit
    Python on Windows. See
  * 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 clearing the dict and slots of objects added to
    PickleCache.new_ghost (typically these values are passed to
  * Fix __setstate__ interning when state parameter is not a
  * Drop use of ctypes for determining maximum integer size, to
    increase pure-Python compatibility. See
  * Ensure that __slots__ attributes are cleared when a
    override __new__. See
  * Fix the hashcode of C TimeStamp objects on 64-bit Python 3
  * Fixed the Python(/PYPY) implementation TimeStamp.timeTime
  * When testing PURE_PYTHON environments under tox, avoid
  * Fix manifest and re-upload to fix stray files included in
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=34
This commit is contained in:
2024-01-07 20:16:55 +00:00
committed by Git OBS Bridge
parent a0cf5fa7c0
commit cdc4316ee6
5 changed files with 38 additions and 128 deletions

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
@@ -19,13 +19,12 @@
%{?sle15_python_module_pythons}
Name: python-persistent
Version: 5.0
Version: 5.1
Release: 0
Summary: Translucent persistent objects
License: ZPL-2.1
URL: https://github.com/zopefoundation/persistent
Source: https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz
Patch1: python312.patch
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module manuel}