Hello community,
here is the log from the commit of package python-transaction for
openSUSE:Leap:15.2 checked in at 2020-03-27 16:45:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-transaction (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-transaction.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-transaction"
Fri Mar 27 16:45:10 2020 rev:12 rq:788712 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-transaction/python-transaction.changes
2020-03-02 13:24:11.182497261 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-transaction.new.3160/python-transaction.changes
2020-03-27 16:47:45.651920518 +0100
@@ -1,0 +2,29 @@
+Wed Mar 11 10:23:03 UTC 2020 - [email protected]
+
+- 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
+ <https://github.com/zopefoundation/transaction/issues/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 <https://github.com/zopefoundation/transaction/issues/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 <https://github.com/zopefoundation/transaction/issues/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 <https://github.com/zopefoundation/transaction/issues/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.
+
+-------------------------------------------------------------------
Old:
----
transaction-2.4.0.tar.gz
New:
----
transaction-3.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-transaction.spec ++++++
--- /var/tmp/diff_new_pack.18X5iH/_old 2020-03-27 16:47:46.075920768 +0100
+++ /var/tmp/diff_new_pack.18X5iH/_new 2020-03-27 16:47:46.075920768 +0100
@@ -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: python-rpm-macros
Requires: python-zope.interface
BuildArch: noarch
-# /SECTION
# SECTION Test requirements
BuildRequires: %{python_module mock}
# /SECTION
++++++ transaction-2.4.0.tar.gz -> transaction-3.0.0.tar.gz ++++++
++++ 4660 lines of diff (skipped)