1
0
Commit Graph

38 Commits

Author SHA256 Message Date
Ana Guerrero
3732d80125 Accepting request 1160903 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1160903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=17
2024-03-25 20:06:50 +00:00
60e4578a91 - update to 5.2:
* Add preliminary support for Python 3.13a3.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=36
2024-03-16 08:52:49 +00:00
Ana Guerrero
f179f9e34e Accepting request 1137436 from devel:languages:python
- update to 5.1:
  * Add support for Python 3.12.
- drop python312.patch (upstream)

- add python312.patch to build with python 3.12
  * Fix copying of PersistentList and PersistentMapping using copy.copy
  * Fix the Python implementation of the PickleCache to be able to
    store objects that cannot be weakly referenced.
  * Packaging-only release: get manylinux wheel built
  * Avoid raising a SystemError: error return without exception
    set when loading an object with slots whose jar generates an
  * Fix the hashcode of Python TimeStamp objects on 64-bit
    Python on Windows. See
  * Stop calling gc.collect every time PickleCache.incrgc is
    called (every transaction boundary) in pure-Python mode (PyPy).
    This means that the reported size of the cache may be wrong
  * Stop clearing the dict and slots of objects added to
    PickleCache.new_ghost (typically these values are passed to
  * Fix __setstate__ interning when state parameter is not a
  * Drop use of ctypes for determining maximum integer size, to
    increase pure-Python compatibility. See
  * Ensure that __slots__ attributes are cleared when a
    override __new__. See
  * Fix the hashcode of C TimeStamp objects on 64-bit Python 3
  * Fixed the Python(/PYPY) implementation TimeStamp.timeTime
  * When testing PURE_PYTHON environments under tox, avoid
  * Fix manifest and re-upload to fix stray files included in
  * Make the Python implementation of Persistent and PickleCache
    behave more similarly to the C implementation. In particular,
    the Python version can now run the complete ZODB and ZEO test

OBS-URL: https://build.opensuse.org/request/show/1137436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=16
2024-01-08 22:44:14 +00:00
cdc4316ee6 - update to 5.1:
* Add support for Python 3.12.
- drop python312.patch (upstream)
- add python312.patch to build with python 3.12
  * Fix copying of PersistentList and PersistentMapping using copy.copy
  * Fix the Python implementation of the PickleCache to be able to
    store objects that cannot be weakly referenced.
  * Packaging-only release: get manylinux wheel built
  * Avoid raising a SystemError: error return without exception
    set when loading an object with slots whose jar generates an
  * Fix the hashcode of Python TimeStamp objects on 64-bit
    Python on Windows. See
  * Stop calling gc.collect every time PickleCache.incrgc is
    called (every transaction boundary) in pure-Python mode (PyPy).
    This means that the reported size of the cache may be wrong
  * Stop clearing the dict and slots of objects added to
    PickleCache.new_ghost (typically these values are passed to
  * Fix __setstate__ interning when state parameter is not a
  * Drop use of ctypes for determining maximum integer size, to
    increase pure-Python compatibility. See
  * Ensure that __slots__ attributes are cleared when a
    override __new__. See
  * Fix the hashcode of C TimeStamp objects on 64-bit Python 3
  * Fixed the Python(/PYPY) implementation TimeStamp.timeTime
  * When testing PURE_PYTHON environments under tox, avoid
  * Fix manifest and re-upload to fix stray files included in
  * Make the Python implementation of Persistent and PickleCache
    behave more similarly to the C implementation. In particular,
    the Python version can now run the complete ZODB and ZEO test

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=34
2024-01-07 20:16:55 +00:00
Ana Guerrero
5df4172651 Accepting request 1104003 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1104003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=15
2023-08-16 12:16:32 +00:00
a0cf5fa7c0 Accepting request 1103944 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- add python312.patch to build with python 3.12

OBS-URL: https://build.opensuse.org/request/show/1103944
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=32
2023-08-15 08:40:38 +00:00
Dominique Leuenberger
d0c94b4b1a Accepting request 1092234 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=14
2023-06-12 13:24:38 +00:00
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
Dominique Leuenberger
5da5616b60 Accepting request 1057619 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1057619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=13
2023-01-11 13:33:41 +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
Dominique Leuenberger
7ca93e9f38 Accepting request 917740 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/917740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=12
2021-09-11 20:24:25 +00:00
d5168c8367 Accepting request 917702 from home:pgajdos:python
- removed upstreamed tests.patch

OBS-URL: https://build.opensuse.org/request/show/917702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=27
2021-09-09 13:38:54 +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
Dominique Leuenberger
979faa75ec Accepting request 788434 from devel:languages:python
- Add patch to fix build with new zope.interface:
  * tests.patch

- 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>`_.

- 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/788434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=11
2020-03-26 23:29:55 +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
Dominique Leuenberger
41329bac27 Accepting request 704297 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=10
2019-05-21 08:41:22 +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
Dominique Leuenberger
d17ab87402 Accepting request 681733 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/681733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=9
2019-03-22 13:59:50 +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
Dominique Leuenberger
4902b531ff Accepting request 681469 from devel:languages:python
- 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/request/show/681469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=8
2019-03-05 11:23:54 +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
Dominique Leuenberger
aa7b9c846a Accepting request 629251 from devel:languages:python
- 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/request/show/629251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=7
2018-08-15 08:38:37 +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
Dominique Leuenberger
2f6951049d Accepting request 625379 from devel:languages:python
- Do not restrict python version makes stuff very unresolvable

- Clean up SPEC
- Fix tests (persistent-4.2.4.2-switch-off-tests.patch removes failing
  test)

OBS-URL: https://build.opensuse.org/request/show/625379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=6
2018-07-31 13:57:44 +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
Dominique Leuenberger
b4d1998f57 Accepting request 506973 from devel:languages:python
(forwarded request 506524 from alois)

OBS-URL: https://build.opensuse.org/request/show/506973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=5
2017-07-21 20:46:12 +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
Stephan Kulow
c3841a95dd Accepting request 306278 from 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 (forwarded request 306255 from benoit_monin)

OBS-URL: https://build.opensuse.org/request/show/306278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=4
2015-05-11 17:39:31 +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
Stephan Kulow
e38011edf1 Accepting request 227384 from devel:languages:python
- type-mismatch.patch: Use Py_ssize_t rather than PY_LONG_LONG for sizes (forwarded request 227350 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/227384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=2
2014-03-25 12:27:07 +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