forked from pool/python-persistent
- Update to 4.3.0:
* Fix the possibility of a rare crash in the C extension when
deallocating items. See
https://github.com/zopefoundation/persistent/issues/66
* Change cPickleCache's comparison of object sizes to determine
whether an object can go in the cache to use PyObject_TypeCheck().
This matches what the pure Python implementation does and is
a stronger test that the object really is compatible with the
cache. Previously, an object could potentially include
cPersistent_HEAD and not set tp_base to cPersistenceCAPI->pertype
and still be eligible for the pickle cache; that is no longer the
case. See https://github.com/zopefoundation/persistent/issues/69
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=12
This commit is contained in:
@@ -19,14 +19,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-persistent
|
||||
Version: 4.2.4.2
|
||||
Version: 4.3.0
|
||||
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
|
||||
Patch0: persistent-4.2.4.2-switch-off-tests.patch
|
||||
Patch: persistent-4.2.4.2-switch-off-tests.patch
|
||||
# Documentation requirements:
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module devel}
|
||||
@@ -62,8 +62,8 @@ This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n persistent-%{version}
|
||||
%autopatch -p1
|
||||
rm -rf persistent.egg-info
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user