diff --git a/python-transaction.changes b/python-transaction.changes index 72d2141..4d48dfe 100644 --- a/python-transaction.changes +++ b/python-transaction.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed Mar 11 10:23:03 UTC 2020 - pgajdos@suse.com + +- version update to 3.0.0 + - Drop support for Python 3.4. + - Add support for Python 3.8. + - Drop support for legacy transaction APIs including + ``Transaction.register()`` and old ZODB3-style datamanagers. See + `issue 89 + `_. + - ``TransactionManager.run`` now commits/aborts the transaction + "active" after the execution of *func* (and no longer the initial + transaction which might already have been committed/aborted by *func*) + (`#58 `_). + It aborts the transaction now for all exceptions raised by *func* - even + if it is only an instance of `BaseException` but not of `Exception`, + such as e.g. a ``SystemExit`` or ``KeyboardInterupt`` exception. + - Support abort hooks (symmetrically to commit hooks) + (`#77 `_). + - Make Transaction drop references to its hooks, manager, + synchronizers and data after a successful ``commit()`` and after + *any* ``abort()``. This helps avoid potential cyclic references. See + `issue 82 `_. + - Allow synchronizers to access ``Transaction.data()`` when their + ``afterCompletion`` method is called while aborting a transaction. + - Make it safe to call ``Transaction.abort()`` more than once. The + second and subsequent calls are no-ops. Previously a + ``ValueError(Foreign transaction)`` would be raised. + ------------------------------------------------------------------- Mon Oct 14 14:47:30 UTC 2019 - Matej Cepl diff --git a/python-transaction.spec b/python-transaction.spec index 991b480..7ca12f9 100644 --- a/python-transaction.spec +++ b/python-transaction.spec @@ -1,7 +1,7 @@ # # spec file for package python-transaction # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-transaction -Version: 2.4.0 +Version: 3.0.0 Release: 0 Summary: Transaction management for Python License: ZPL-2.1 @@ -30,7 +30,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zope.interface BuildArch: noarch -# /SECTION # SECTION Test requirements BuildRequires: %{python_module mock} # /SECTION diff --git a/transaction-2.4.0.tar.gz b/transaction-2.4.0.tar.gz deleted file mode 100644 index 1048dd4..0000000 --- a/transaction-2.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:726059c461b9ec4e69e5bead6680667a3db01bf2adf901f23e4031228a0f9f9f -size 71514 diff --git a/transaction-3.0.0.tar.gz b/transaction-3.0.0.tar.gz new file mode 100644 index 0000000..1584c09 --- /dev/null +++ b/transaction-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b0ad400cb7fa25f95d1516756c4c4557bb78890510f69393ad0bd15869eaa2d +size 72319