Commit Graph

16 Commits

Author SHA256 Message Date
Tomáš Chvátal
f8b6a82bac - Add patch to fix build with new zope.interface:
* tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=24
2020-03-26 07:43:04 +00:00
Tomáš Chvátal
8300cb07c8 Accepting request 787789 from home:pgajdos:python
- version update to 4.6.3
  - Fix a crash in the test suite under a 32-bit CPython on certain
    32-bit platforms. See `issue 137
    <https://github.com/zopefoundation/persistent/issues/137>`_. Fix by
    `Jerry James <https://github.com/jamesjer>`_.
  - Fix an ``AssertionError`` clearing a non-empty ``PersistentMapping``
    that has no connection. See `issue 139
    <https://github.com/zopefoundation/persistent/issues/139>`_.

OBS-URL: https://build.opensuse.org/request/show/787789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=23
2020-03-24 13:44:41 +00:00
Tomáš Chvátal
824630027e Accepting request 784299 from home:mcalabkova:branches:devel:languages:python
- update to 4.6.1
  * Stop installing C header files on PyPy
  * Fix slicing of PersistentList to always return instances of the same class.
  * Fix copying of PersistentList and PersistentMapping using copy.copy 
    to also copy the underlying data object.
  * Update the handling of the PURE_PYTHON environment variable.
  * Add preliminary support for Python 3.9a3+.
  * Fix the Python implementation of the PickleCache to be able to 
    store objects that cannot be weakly referenced. 
  * Add support for Python 3.8.

OBS-URL: https://build.opensuse.org/request/show/784299
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=22
2020-03-12 13:48:17 +00:00
Tomáš Chvátal
5973ddfd35 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
2019-05-20 17:23:29 +00:00
Tomáš Chvátal
45a8170c2b Accepting request 681716 from home:frispete:python
- Allow build with older distributions
  (%autopatch macro needs an appended empty line)
- Refresh patch persistent-4.2.4.2-switch-off-tests.patch

OBS-URL: https://build.opensuse.org/request/show/681716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=18
2019-03-05 12:45:30 +00:00
Tomáš Chvátal
686c98b2fa OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=16 2019-03-04 14:23:32 +00:00
Tomáš Chvátal
51e2b669e9 - Update to 4.4.3:
* Too many changes around see CHANGES.rst
- Do not bother with documentation generating
- Add more dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=15
2019-03-04 14:22:55 +00:00
3bda92c8b6 Add link to the upstream bug with tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=13
2018-08-14 15:03:45 +00:00
c56c4a9719 - 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
2018-08-14 14:59:11 +00:00
Tomáš Chvátal
eca9fb1ab5 - Do not restrict python version makes stuff very unresolvable
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=10
2018-07-26 08:35:39 +00:00
9eb8a352df - Clean up SPEC
- Fix tests (persistent-4.2.4.2-switch-off-tests.patch removes failing
  test)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=9
2018-07-19 15:34:00 +00:00
c5faae2ac8 Accepting request 506524 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/506524
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=7
2017-06-29 08:42:25 +00:00
0356b6357d Accepting request 306255 from home:benoit_monin:branches:devel:languages:python
- update to version 4.0.9
- update project URL
- point the source URL to pypi
- drop type-mismatch.patch: fixed upstream
- add fix_32-bit_timestamp_hashcode.patch: fix timestamp hash computation on 32 bit platform
- pass -q to test to avoid spamming the build log
- rename CHANGES.txt and README.txt to CHANGES.rst and README.rst: changed upstream

OBS-URL: https://build.opensuse.org/request/show/306255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=5
2015-05-11 06:23:41 +00:00
b6cfd62ffe Accepting request 227350 from home:AndreasSchwab:f
- type-mismatch.patch: Use Py_ssize_t rather than PY_LONG_LONG for sizes

OBS-URL: https://build.opensuse.org/request/show/227350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=3
2014-03-24 19:48:00 +00:00
Stephan Kulow
e2e18aae5b Accepting request 199915 from devel:languages:python
This is needed by python-ZODB3, which replaces python-zodb3, as well as other zope-related packages.

OBS-URL: https://build.opensuse.org/request/show/199915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=1
2013-09-25 12:37:58 +00:00
Sascha Peilicke
6972afcca0 Accepting request 184866 from home:frispete:python
this pkg is needed by some zope components

OBS-URL: https://build.opensuse.org/request/show/184866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=1
2013-07-30 10:22:37 +00:00