15
0
forked from pool/python-ZODB

Compare commits

7 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
4 changed files with 78 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e51c792115c5daad4e806757bafa2f754c000c23e6babc3be5e40775fe49b5dc
size 786862

View File

@@ -1,3 +1,59 @@
-------------------------------------------------------------------
Mon Nov 10 08:25:49 UTC 2025 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Wed Jun 4 15:21:36 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- fix usage of libalternatives
-------------------------------------------------------------------
Tue May 13 12:06:18 UTC 2025 - Markéta Machová <mmachova@suse.com>
- 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.
-------------------------------------------------------------------
Tue May 13 06:37:07 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 30 12:34:58 UTC 2024 - Markéta Machová <mmachova@suse.com> Thu May 30 12:34:58 UTC 2024 - Markéta Machová <mmachova@suse.com>
@@ -20,7 +76,7 @@ Sun Jan 7 16:42:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 1 20:18:21 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Thu Dec 1 20:18:21 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 5.8.0: - Update to 5.8.0:
* Add support for Python 3.11. * Add support for Python 3.11.
* Expand and refactor tests for race conditions. * Expand and refactor tests for race conditions.
@@ -32,7 +88,7 @@ Wed Sep 7 16:00:22 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 7 15:57:07 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Wed Sep 7 15:57:07 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 5.7.0: - Update to 5.7.0:
* Fix TypeError: can't concat str to bytes when running fsoids.py script with Python 3. See issue 350. * 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 * 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>_). size and class information in data records; (fixes #354 <https://github.com/zopefoundation/ZODB/issues/354>_).

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-ZODB # spec file for package python-ZODB
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2013 LISA GmbH, Bingen, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -17,26 +17,31 @@
# #
%bcond_without libalternatives
Name: python-ZODB Name: python-ZODB
Version: 6.0 Version: 6.1
Release: 0 Release: 0
Summary: Zope Object Database: object database and persistence Summary: Zope Object Database: object database and persistence
License: ZPL-2.1 License: ZPL-2.1
URL: https://github.com/zopefoundation/ZODB URL: https://github.com/zopefoundation/ZODB
Source: https://files.pythonhosted.org/packages/source/Z/ZODB/ZODB-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/zodb/zodb-%{version}.tar.gz
BuildRequires: %{python_module BTrees >= 4.2.0} BuildRequires: %{python_module BTrees >= 4.2.0}
BuildRequires: %{python_module ZConfig} BuildRequires: %{python_module ZConfig}
BuildRequires: %{python_module manuel} BuildRequires: %{python_module manuel}
BuildRequires: %{python_module persistent-devel >= 4.4.0} BuildRequires: %{python_module persistent-devel >= 4.4.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module transaction >= 2.4.0} BuildRequires: %{python_module transaction >= 2.4.0}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zc.lockfile} BuildRequires: %{python_module zc.lockfile}
BuildRequires: %{python_module zodbpickle >= 1.0.1} BuildRequires: %{python_module zodbpickle >= 1.0.1}
BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.testing} BuildRequires: %{python_module zope.testing}
BuildRequires: %{python_module zope.testrunner >= 4.4.6} BuildRequires: %{python_module zope.testrunner >= 4.4.6}
BuildRequires: alts
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: alts
Requires: python-BTrees >= 4.2.0 Requires: python-BTrees >= 4.2.0
Requires: python-ZConfig Requires: python-ZConfig
Requires: python-persistent >= 4.4.0 Requires: python-persistent >= 4.4.0
@@ -44,8 +49,7 @@ Requires: python-transaction >= 2.4.0
Requires: python-zc.lockfile Requires: python-zc.lockfile
Requires: python-zodbpickle >= 1.0.1 Requires: python-zodbpickle >= 1.0.1
Requires: python-zope.interface Requires: python-zope.interface
Requires(post): update-alternatives Conflicts: fstail
Requires(preun): update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -64,7 +68,7 @@ Provides: %{python_module ZODB-doc = %{version}}
This package contains documentation files for %{name}. This package contains documentation files for %{name}.
%prep %prep
%setup -q -n ZODB-%{version} %autosetup -p1 -n zodb-%{version}
# delete backup files # delete backup files
find . -name "*~" -print -delete find . -name "*~" -print -delete
# remove unwanted shebang # remove unwanted shebang
@@ -74,10 +78,10 @@ rm -rf src/ZODB.egg-info
rm -f src/ZODB/tests/testdocumentation.py rm -f src/ZODB/tests/testdocumentation.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/fsdump %python_clone -a %{buildroot}%{_bindir}/fsdump
@@ -93,17 +97,17 @@ cp -r docs/* %{buildroot}%{_defaultdocdir}/python-ZODB-doc/docs/
%check %check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} zope-testrunner-%{$python_bin_suffix} --test-path=src %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} zope-testrunner-%{$python_bin_suffix} --test-path=src
%post %pre
%python_install_alternative fsdump fsoids fsrefs fstail repozo # If libalternatives is used: Removing old update-alternatives entries.
%python_libalternatives_reset_alternative fsdump fsoids fsrefs fstail repozo
%postun # post and postun macro call is not needed with only libalternatives
%python_uninstall_alternative fsdump
%files %{python_files} %files %{python_files}
%license LICENSE.txt COPYRIGHT.txt %license LICENSE.txt COPYRIGHT.txt
%doc 3.11.txt CHANGES.rst HISTORY.rst README.rst %doc 3.11.txt CHANGES.rst HISTORY.rst README.rst
%{python_sitelib}/ZODB/ %{python_sitelib}/ZODB/
%{python_sitelib}/ZODB-%{version}-py*.egg-info %{python_sitelib}/[Zz][Oo][Dd][Bb]-%{version}*-info
%python_alternative %{_bindir}/fsdump %python_alternative %{_bindir}/fsdump
%python_alternative %{_bindir}/fsoids %python_alternative %{_bindir}/fsoids
%python_alternative %{_bindir}/fsrefs %python_alternative %{_bindir}/fsrefs

3
zodb-6.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:854a269f78977cdfda06aff08e93a8aa512c214202caae301222db2ef98ba365
size 788711