15
0

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:
Tomáš Chvátal
2019-05-20 17:23:29 +00:00
committed by Git OBS Bridge
parent 45a8170c2b
commit 5973ddfd35
5 changed files with 22 additions and 19 deletions

View File

@@ -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