38 Commits

Author SHA256 Message Date
cca4fe8f7d Accepting request 1316821 from devel:languages:python
- update to 6.1:
  * get_transaction().  Use transaction.get() instead.
    transaction.commit() is a shortcut spelling of
    transaction.get().commit(), and transaction.abort() of
    transaction.get().abort().  Note that importing ZODB no
    longer installs get_transaction as a name in Python's
    __builtin__ module either.
  * The begin() method of Transaction objects.  Use the begin()
    method of a transaction manager instead.  transaction.begin()
    is a shortcut spelling to call the default transaction
    manager's begin() method.
  * The dt argument to Connection.cacheMinimize().
  * The Connection.cacheFullSweep() method.  Use cacheMinimize()
    instead.
  * The Connection.getTransaction() method.  Pass a transaction
    manager to DB.open() instead.
  * The Connection.getLocalTransaction() method.  Pass a
    transaction manager to DB.open() instead.
  * The cache_deactivate_after and version_cache_deactivate_after
    arguments to the DB constructor.
  * The temporary, force, and waitflag arguments to DB.open().
    DB.open() no longer blocks (there's no longer a fixed limit
    on the number of open connections).
  * The transaction and txn_mgr``arguments to ``DB.open().  Use
    the transaction_manager argument instead.
  * The getCacheDeactivateAfter, setCacheDeactivateAfter,
    getVersionCacheDeactivateAfter and
    setVersionCacheDeactivateAfter methods of DB.

- Update to 5.8.0:

OBS-URL: https://build.opensuse.org/request/show/1316821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=17
2025-11-10 18:19:37 +00:00
411c51db42 - update to 6.1:
* get_transaction().  Use transaction.get() instead.
    transaction.commit() is a shortcut spelling of
    transaction.get().commit(), and transaction.abort() of
    transaction.get().abort().  Note that importing ZODB no
    longer installs get_transaction as a name in Python's
    __builtin__ module either.
  * The begin() method of Transaction objects.  Use the begin()
    method of a transaction manager instead.  transaction.begin()
    is a shortcut spelling to call the default transaction
    manager's begin() method.
  * The dt argument to Connection.cacheMinimize().
  * The Connection.cacheFullSweep() method.  Use cacheMinimize()
    instead.
  * The Connection.getTransaction() method.  Pass a transaction
    manager to DB.open() instead.
  * The Connection.getLocalTransaction() method.  Pass a
    transaction manager to DB.open() instead.
  * The cache_deactivate_after and version_cache_deactivate_after
    arguments to the DB constructor.
  * The temporary, force, and waitflag arguments to DB.open().
    DB.open() no longer blocks (there's no longer a fixed limit
    on the number of open connections).
  * The transaction and txn_mgr``arguments to ``DB.open().  Use
    the transaction_manager argument instead.
  * The getCacheDeactivateAfter, setCacheDeactivateAfter,
    getVersionCacheDeactivateAfter and
    setVersionCacheDeactivateAfter methods of DB.
- Update to 5.8.0:
- Update to 5.7.0:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=37
2025-11-10 08:26:26 +00:00
1c8d926c5f Accepting request 1282859 from devel:languages:python
- fix usage of libalternatives

OBS-URL: https://build.opensuse.org/request/show/1282859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=16
2025-06-04 21:48:39 +00:00
80759a1220 - fix usage of libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=35
2025-06-04 15:22:09 +00:00
dbeb87b922 Accepting request 1277132 from devel:languages:python
- Update to 6.0.1
  * repozo: fix restoring on stdout.
  * repozo: prevent an incorrect "option ignored" warning when running
    backup or verify.
  * FileStorage: fix restore regression introduced in ZODB 6.0 in #395:
    when restoring data records with undo the restore was no longer
    emitting backpointers and was emitting duplicate data copies instead.
    #409 fixes restore back to emit data records with backpointers for
    undo again.
- Add conflict with fstail, since ZODB has a binary with the same name.
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1277132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=15
2025-05-13 18:07:57 +00:00
96ba107c60 - Update to 6.0.1
* repozo: fix restoring on stdout.
  * repozo: prevent an incorrect "option ignored" warning when running
    backup or verify.
  * FileStorage: fix restore regression introduced in ZODB 6.0 in #395:
    when restoring data records with undo the restore was no longer
    emitting backpointers and was emitting duplicate data copies instead.
    #409 fixes restore back to emit data records with backpointers for
    undo again.
- Add conflict with fstail, since ZODB has a binary with the same name.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=33
2025-05-13 12:32:07 +00:00
0c35abbeeb - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=32
2025-05-13 09:18:32 +00:00
734de8e93c Accepting request 1178084 from devel:languages:python
- Update to 6.0
  * Add support for Python 3.12.
  * Drop support for Python 2.7, 3.5, 3.6.
  * Fix sorting issue in scripts/space.py.
  * FileStorage: fix a rare data corruption when using restore after multiple undos.
  * Fix exit code of repozo script in case of verification error.
- Fix deduplication of documentation.

OBS-URL: https://build.opensuse.org/request/show/1178084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=14
2024-06-03 15:41:50 +00:00
5ccf143fba Simplify %%files list.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=30
2024-06-01 20:56:19 +00:00
ae3ba723c3 - Fix deduplication of documentation.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=29
2024-06-01 11:53:28 +00:00
764a568e0d Accepting request 1177755 from home:mcalabkova:branches:devel:languages:python
- Update to 6.0
  * Add support for Python 3.12.
  * Drop support for Python 2.7, 3.5, 3.6.
  * Fix sorting issue in scripts/space.py.
  * FileStorage: fix a rare data corruption when using restore after multiple undos.
  * Fix exit code of repozo script in case of verification error.

OBS-URL: https://build.opensuse.org/request/show/1177755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=28
2024-05-31 20:37:45 +00:00
f341424bbb Accepting request 1137379 from devel:languages:python
- update to 5.8.1:
  * Fix racetest problems. For details see #376.
  * Fix --with-verify argument in script repozo --recover. For
    details see #381.

OBS-URL: https://build.opensuse.org/request/show/1137379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=13
2024-01-07 20:40:28 +00:00
1cf4887367 - update to 5.8.1:
* Fix racetest problems. For details see #376.
  * Fix --with-verify argument in script repozo --recover. For
    details see #381.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=26
2024-01-07 16:48:35 +00:00
ee6ab1fd9e Accepting request 1039504 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=12
2022-12-02 12:13:32 +00:00
bacfd437ec Accepting request 1039389 from home:yarunachalam:branches:devel:languages:python
- Update to 5.8.0: 
  * Add support for Python 3.11.
  * Expand and refactor tests for race conditions.

OBS-URL: https://build.opensuse.org/request/show/1039389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=24
2022-12-02 07:56:41 +00:00
f3545bb367 Accepting request 1001969 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1001969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=11
2022-09-09 16:27:41 +00:00
3dbb95d6d8 Accepting request 1001790 from home:yarunachalam:branches:devel:languages:python
- Renamed doc dir to docs in spec

- Update to 5.7.0: 
  * Fix TypeError: can't concat str to bytes when running fsoids.py script with Python 3. See issue 350.
  * Readd transaction size information to fsdump output; adapt fsstats to fsdump's exchanged order for
    size and class information in data records; (fixes #354 <https://github.com/zopefoundation/ZODB/issues/354>_).
    Make ``fsdump` callable via Python's -m command line option.
  * Fix UnboundLocalError when running fsoids.py script. See issue 285.
  * Rework fsrefs script to work significantly faster by optimizing how it does IO. See PR 340.
  * Require Python 3 to build the documentation.
  * Fix deprecation warnings occurring on Python 3.10.
  * Add support for Python 3.9 and 3.10.

OBS-URL: https://build.opensuse.org/request/show/1001790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=22
2022-09-08 15:51:29 +00:00
13d86a9c94 Accepting request 970171 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/970171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=10
2022-04-14 15:26:04 +00:00
c70b9ae13a Accepting request 970094 from home:pgajdos:python
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/970094
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=20
2022-04-14 13:48:57 +00:00
abbf4c3152 Accepting request 814667 from devel:languages:python
- Update to 5.6.0:
  * Fix tests with transaction 3.0 (remove patch).
    + transaction3.patch
  * Fix race with invalidations when starting a new transaction.
  * Fix inconsistent resolution order with zope.interface v5.
  * Drop support for Python 3.4.
  * Add support for Python 3.8.
  * See CHANGES.rst for more.

OBS-URL: https://build.opensuse.org/request/show/814667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=9
2020-06-15 18:32:17 +00:00
Tomáš Chvátal
e5aaea49f7 + transaction3.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=18
2020-06-15 09:18:39 +00:00
Tomáš Chvátal
138d919550 Accepting request 814180 from home:poorboywilly:branches:devel:languages:python
- Update to 5.6.0:
  * Fix tests with transaction 3.0 (remove patch).
  * Fix race with invalidations when starting a new transaction.
  * Fix inconsistent resolution order with zope.interface v5.
  * Drop support for Python 3.4.
  * Add support for Python 3.8.
  * See CHANGES.rst for more.

OBS-URL: https://build.opensuse.org/request/show/814180
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=17
2020-06-13 13:54:54 +00:00
e2db3010af Accepting request 800021 from devel:languages:python
- Add patch to work with transaction 3.x:
  * transaction3.patch

OBS-URL: https://build.opensuse.org/request/show/800021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=8
2020-05-04 16:41:55 +00:00
Tomáš Chvátal
2d103e4bfb - Add patch to work with transaction 3.x:
* transaction3.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=15
2020-05-04 10:54:11 +00:00
ae3f801040 Accepting request 681509 from devel:languages:python
- Update to 5.5.1:
  * Add support for Python 3.7.
  * Bump the dependency on zodbpickle to at least 1.0.1. This is required to avoid a memory leak on Python 2.7. See issue 203.
  * Bump the dependency on persistent to at least 4.4.0.
  * Make the internal support functions for dealing with OIDs (p64 and u64) somewhat faster and raise more informative exceptions on certain types of bad input. See issue 216.
  * Remove support for python setup.py test. It hadn't been working for some time. See issue #218.
  * Make the tests run faster by avoiding calls to time.sleep().
- Drop no longer needed python-ZODB-testsuite.patch

OBS-URL: https://build.opensuse.org/request/show/681509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=7
2019-03-05 11:24:42 +00:00
Tomáš Chvátal
5a7ae5546b - Update to 5.5.1:
* Add support for Python 3.7.
  * Bump the dependency on zodbpickle to at least 1.0.1. This is required to avoid a memory leak on Python 2.7. See issue 203.
  * Bump the dependency on persistent to at least 4.4.0.
  * Make the internal support functions for dealing with OIDs (p64 and u64) somewhat faster and raise more informative exceptions on certain types of bad input. See issue 216.
  * Remove support for python setup.py test. It hadn't been working for some time. See issue #218.
  * Make the tests run faster by avoiding calls to time.sleep().
- Drop no longer needed python-ZODB-testsuite.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=13
2019-03-04 16:04:34 +00:00
3e283f8143 Accepting request 625400 from devel:languages:python
- Disable tests for now as 16 of them fail

- Add patch to fix testsuite execution:
  * python-ZODB-testsuite.patch

- Version update to 5.4.0:
  * Dropped support for py3.3 and added support for new ones
  * ZODB now uses pickle protocol 3 for both Python 2 and Python 3.
  * The zodbpickle package provides a zodbpickle.binary string type that should be used in Python 2 to cause binary strings to be saved in a pickle binary format, so they can be loaded correctly in Python 3. Pickle protocol 3 is needed for this to work correctly.
  * Object identifiers in persistent references are saved as zodbpickle.binary strings in Python 2, so that they are loaded correctly in Python 3.
  * If an object is missing from the index while packing a FileStorage, report its full oid.
  * Storage imports are a bit faster.
  * Storages can be important from non-seekable sources, like file-wrapped pipes.

OBS-URL: https://build.opensuse.org/request/show/625400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=6
2018-07-27 08:57:01 +00:00
Tomáš Chvátal
9aa05bbe02 - Disable tests for now as 16 of them fail
- Add patch to fix testsuite execution:
  * python-ZODB-testsuite.patch

- Version update to 5.4.0:
  * Dropped support for py3.3 and added support for new ones
  * ZODB now uses pickle protocol 3 for both Python 2 and Python 3.
  * The zodbpickle package provides a zodbpickle.binary string type that should be used in Python 2 to cause binary strings to be saved in a pickle binary format, so they can be loaded correctly in Python 3. Pickle protocol 3 is needed for this to work correctly.
  * Object identifiers in persistent references are saved as zodbpickle.binary strings in Python 2, so that they are loaded correctly in Python 3.
  * If an object is missing from the index while packing a FileStorage, report its full oid.
  * Storage imports are a bit faster.
  * Storages can be important from non-seekable sources, like file-wrapped pipes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=11
2018-07-26 10:44:12 +00:00
4d63fc6f32 Accepting request 518771 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/518771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=5
2017-08-28 13:16:35 +00:00
Todd R
681a870aa6 Accepting request 518770 from home:TheBlackCat:branches:devel:languages:python
- Fix doc package dependencies

OBS-URL: https://build.opensuse.org/request/show/518770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=9
2017-08-25 14:41:00 +00:00
0b9120b2e7 Accepting request 517043 from home:TheBlackCat:branches:devel:languages:python
Fix doc package dependency problem

OBS-URL: https://build.opensuse.org/request/show/517043
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=8
2017-08-15 20:22:01 +00:00
36ffd4c964 Accepting request 508894 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/508894
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=7
2017-07-08 09:14:05 +00:00
68d48098ef Accepting request 307495 from devel:languages:python
- update to version 4.1.0
- drop fix-for-upstream-test.patch: fixed upstream
- delete backup files in sources
- remove unwanted shebang in python file
- do not set the executable bit of python files
- pass -q to the test to avoid spamming the build log (forwarded request 307288 from benoit_monin)

OBS-URL: https://build.opensuse.org/request/show/307495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=4
2015-05-19 21:37:31 +00:00
e92c8724bf Accepting request 307288 from home:benoit_monin:branches:devel:languages:python
- update to version 4.1.0
- drop fix-for-upstream-test.patch: fixed upstream
- delete backup files in sources
- remove unwanted shebang in python file
- do not set the executable bit of python files
- pass -q to the test to avoid spamming the build log

OBS-URL: https://build.opensuse.org/request/show/307288
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=5
2015-05-16 15:34:18 +00:00
Stephan Kulow
2014e474e1 Accepting request 220587 from devel:languages:python
Fix tests during build, fix old package URL, update to 4.0.0. (forwarded request 220585 from poorboywilly)

OBS-URL: https://build.opensuse.org/request/show/220587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=2
2014-02-03 15:13:15 +00:00
0fa13c0cca Accepting request 220585 from home:poorboywilly:branches:devel:languages:python
Fix tests during build, fix old package URL, update to 4.0.0.

OBS-URL: https://build.opensuse.org/request/show/220585
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=3
2014-02-01 23:57:35 +00:00
Stephan Kulow
62ee526e72 Accepting request 201159 from devel:languages:python
This is needed by python-ZODB3 (which will replace python-zodb3)

OBS-URL: https://build.opensuse.org/request/show/201159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=1
2013-10-01 06:34:36 +00:00
Sascha Peilicke
d98be7774e Accepting request 186458 from home:frispete:python
don't package PKG-INFO

OBS-URL: https://build.opensuse.org/request/show/186458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=1
2013-08-12 08:38:52 +00:00