Commit Graph

18 Commits

Author SHA256 Message Date
b39027b293 Accepting request 1092122 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=30
2023-06-11 11:36:09 +00:00
5c94f26a0c Accepting request 1057167 from home:frispete:branches:devel:languages:python
- version update to 5.0 (2023-01-09)
  - Build Linux binary wheels for Python 3.11.
  - Drop support for Python 2.7, 3.5, 3.6.
- 4.9.3 (2022-11-16)
  - Add support for building arm64 wheels on macOS.
- 4.9.2 (2022-11-03)
  - Update Python 3.11 support to final release.
- 4.9.1 (2022-09-16)
  - Update Python 3.11 support to 3.11.0-rc1.
  - Disable unsafe math optimizations in C code. See pull request 176.
- 4.9.0 (2022-03-10)
  - Add support for Python 3.11 (as of 3.11a5).
- 4.8.0 (2022-03-07)
  - Switch package to src-layout, this is a packaging only change. (#168)
  - Add support for Python 3.10.
- Clean up testing - exclude failing tests explicitly

OBS-URL: https://build.opensuse.org/request/show/1057167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=28
2023-01-10 12:18:37 +00:00
85b88baf1a Accepting request 915761 from home:pgajdos:python
- version update to 4.7.0
  4.7.0 (2021-04-13)
  ==================
  - Add support for Python 3.9.
  - Move from Travis CI to Github Actions.
  - Supply manylinux wheels for aarch64 (ARM).
  - Fix the pure-Python implementation to activate a ghost object
    when setting its ``__class__`` and ``__dict__``. This matches the
    behaviour of the C implementation. See `issue 155
    <https://github.com/zopefoundation/persistent/issues/155>`_.
  - Fix the CFFI cache implementation (used on CPython when
    ``PURE_PYTHON=1``) to not print unraisable ``AttributeErrors`` from
    ``_WeakValueDictionary`` during garbage collection. See `issue 150
    <https://github.com/zopefoundation/persistent/issues/150>`_.
  - Make the pure-Python implementation of the cache run a garbage
    collection (``gc.collect()``) on ``full_sweep``, ``incrgc`` and
    ``minimize`` *if* it detects that an object that was weakly
    referenced has been ejected. This solves issues on PyPy with ZODB raising
    ``ConnectionStateError`` when there are persistent
    ``zope.interface`` utilities/adapters registered. This partly
    reverts a change from release 4.2.3.
  4.6.4 (2020-03-26)
  ==================
  - Fix an overly specific test failure using zope.interface 5. See
    `issue 144 <https://github.com/zopefoundation/persistent/issues/144>`_.
  - Fix two reference leaks that could theoretically occur as the result
    of obscure errors. See `issue 143 <https://github.com/zopefoundation/persistent/issues/143>`
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/915761
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=26
2021-09-02 17:23:05 +00:00
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
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