diff --git a/persistent-4.2.4.2.tar.gz b/persistent-4.2.4.2.tar.gz deleted file mode 100644 index c4c0a31..0000000 --- a/persistent-4.2.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf264cd55866c7ffbcbe1328f8d8b28fd042a5dd0c03a03f68c0887df3aa1964 -size 96135 diff --git a/persistent-4.3.0.tar.gz b/persistent-4.3.0.tar.gz new file mode 100644 index 0000000..32ca803 --- /dev/null +++ b/persistent-4.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8e2253a35f46ae318e65f0e3b51cdce16d4646e284a26f88a2d84b4d2507f81 +size 98681 diff --git a/python-persistent.changes b/python-persistent.changes index 3f2ef27..99eb224 100644 --- a/python-persistent.changes +++ b/python-persistent.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Aug 14 14:55:56 UTC 2018 - mcepl@suse.com + +- 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 + ------------------------------------------------------------------- Thu Jul 26 08:35:19 UTC 2018 - tchvatal@suse.com diff --git a/python-persistent.spec b/python-persistent.spec index 1d9b22c..1b6314c 100644 --- a/python-persistent.spec +++ b/python-persistent.spec @@ -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