forked from pool/python-persistent
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 <https://github.com/zopefoundation/persistent/issues/77>`_. - Fix DeprecationWarning about ``PY_SSIZE_T_CLEAN``. See `issue 108 <https://github.com/zopefoundation/persistent/issues/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
This commit is contained in:
parent
45a8170c2b
commit
5973ddfd35
@ -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)
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6765eab176cde56a492666952b97eaaa79742e5e6fc17efcd1b6d0be9d471116
|
|
||||||
size 105394
|
|
3
persistent-4.5.0.tar.gz
Normal file
3
persistent-4.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c97ceb2620eecd57730da6ee7ad3ee2295ed7516a24423a17f34e65103de8b6a
|
||||||
|
size 106981
|
@ -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
|
||||||
|
<https://github.com/zopefoundation/persistent/issues/77>`_.
|
||||||
|
- Fix DeprecationWarning about ``PY_SSIZE_T_CLEAN``.
|
||||||
|
See `issue 108 <https://github.com/zopefoundation/persistent/issues/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 <hpj@urpla.net>
|
Tue Mar 5 12:14:02 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
@ -19,15 +19,13 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-persistent
|
Name: python-persistent
|
||||||
Version: 4.4.3
|
Version: 4.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Translucent persistent objects
|
Summary: Translucent persistent objects
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/zopefoundation/persistent
|
URL: https://github.com/zopefoundation/persistent
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz
|
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 cffi}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
Requires: python-cffi
|
Requires: python-cffi
|
||||||
@ -57,7 +55,6 @@ This package contains the files needed for binding the %{name} C module.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n persistent-%{version}
|
%setup -q -n persistent-%{version}
|
||||||
rm -rf persistent.egg-info
|
rm -rf persistent.egg-info
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user