From 5973ddfd354acd423827dfdb9db041433092113204b31938c9dbcdd657ae6d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 20 May 2019 17:23:29 +0000 Subject: [PATCH] Accepting request 704290 from home:pgajdos - version update to 4.5.0 - Fully test the C implementation of the PickleCache, and fix discrepancies between it and the Python implementation: - Allow sweeping cache without ``cache_size``. ``cache_size_bytes`` works with ``cache_size=0``, no need to set ``cache_size`` to a large value. - Require ``CFFI`` on CPython for pure-Python operation. This drops support for Jython (which was untested). See `issue 77 `_. - Fix DeprecationWarning about ``PY_SSIZE_T_CLEAN``. See `issue 108 `_. - Drop support for Python 3.4. - deleted patches - persistent-4.2.4.2-switch-off-tests.patch (not needed) OBS-URL: https://build.opensuse.org/request/show/704290 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=20 --- persistent-4.2.4.2-switch-off-tests.patch | 12 ------------ persistent-4.4.3.tar.gz | 3 --- persistent-4.5.0.tar.gz | 3 +++ python-persistent.changes | 18 ++++++++++++++++++ python-persistent.spec | 5 +---- 5 files changed, 22 insertions(+), 19 deletions(-) delete mode 100644 persistent-4.2.4.2-switch-off-tests.patch delete mode 100644 persistent-4.4.3.tar.gz create mode 100644 persistent-4.5.0.tar.gz diff --git a/persistent-4.2.4.2-switch-off-tests.patch b/persistent-4.2.4.2-switch-off-tests.patch deleted file mode 100644 index 00d39d0..0000000 --- a/persistent-4.2.4.2-switch-off-tests.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: b/persistent/tests/test_timestamp.py -=================================================================== ---- a/persistent/tests/test_timestamp.py -+++ b/persistent/tests/test_timestamp.py -@@ -246,6 +246,7 @@ class PyAndCComparisonTests(unittest.Tes - c, py = self._make_C_and_Py(*args) - self.assertEqual(repr(c), repr(py)) - -+ @unittest.skip('Broken GH#') - def test_strs_equal(self): - for args in self._make_many_instants(): - c, py = self._make_C_and_Py(*args) diff --git a/persistent-4.4.3.tar.gz b/persistent-4.4.3.tar.gz deleted file mode 100644 index a3f4fd1..0000000 --- a/persistent-4.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6765eab176cde56a492666952b97eaaa79742e5e6fc17efcd1b6d0be9d471116 -size 105394 diff --git a/persistent-4.5.0.tar.gz b/persistent-4.5.0.tar.gz new file mode 100644 index 0000000..8f6094d --- /dev/null +++ b/persistent-4.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c97ceb2620eecd57730da6ee7ad3ee2295ed7516a24423a17f34e65103de8b6a +size 106981 diff --git a/python-persistent.changes b/python-persistent.changes index 9be857b..8d9e928 100644 --- a/python-persistent.changes +++ b/python-persistent.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon May 20 15:50:31 UTC 2019 - pgajdos@suse.com + +- version update to 4.5.0 + - Fully test the C implementation of the PickleCache, and fix + discrepancies between it and the Python implementation: + - Allow sweeping cache without ``cache_size``. ``cache_size_bytes`` + works with ``cache_size=0``, no need to set ``cache_size`` to a + large value. + - Require ``CFFI`` on CPython for pure-Python operation. This drops + support for Jython (which was untested). See `issue 77 + `_. + - Fix DeprecationWarning about ``PY_SSIZE_T_CLEAN``. + See `issue 108 `_. + - Drop support for Python 3.4. +- deleted patches + - persistent-4.2.4.2-switch-off-tests.patch (not needed) + ------------------------------------------------------------------- Tue Mar 5 12:14:02 UTC 2019 - Hans-Peter Jansen diff --git a/python-persistent.spec b/python-persistent.spec index 9e4eaf3..eba46dc 100644 --- a/python-persistent.spec +++ b/python-persistent.spec @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-persistent -Version: 4.4.3 +Version: 4.5.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 -# Blocking https://github.com/zopefoundation/persistent/issues/86 -Patch: persistent-4.2.4.2-switch-off-tests.patch BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} Requires: python-cffi @@ -57,7 +55,6 @@ This package contains the files needed for binding the %{name} C module. %prep %setup -q -n persistent-%{version} rm -rf persistent.egg-info -%autopatch -p1 %build %python_build