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