From 33d2d87a6372250fea37bc4b89cf5c47f75066e4c54d450aa2747eab681ad598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 13 Jan 2021 14:26:22 +0000 Subject: [PATCH] Accepting request 862911 from home:pgajdos:python - version update to 3.0.1 - Exception raised by a before commit hook is no longer hidden. No further commit hooks are called and exception is propagated to the caller of ``commit()``. See `#95 `_. - use %pytest macro OBS-URL: https://build.opensuse.org/request/show/862911 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=41 --- python-transaction.changes | 10 ++++++++++ python-transaction.spec | 7 ++++--- transaction-3.0.0.tar.gz | 3 --- transaction-3.0.1.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 transaction-3.0.0.tar.gz create mode 100644 transaction-3.0.1.tar.gz diff --git a/python-transaction.changes b/python-transaction.changes index 8648e87..c2fea2e 100644 --- a/python-transaction.changes +++ b/python-transaction.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Jan 13 14:19:23 UTC 2021 - pgajdos@suse.com + +- version update to 3.0.1 + - Exception raised by a before commit hook is no longer hidden. No + further commit hooks are called and exception is propagated to + the caller of ``commit()``. See + `#95 `_. +- use %pytest macro + ------------------------------------------------------------------- Mon May 4 10:44:06 UTC 2020 - Tomáš Chvátal diff --git a/python-transaction.spec b/python-transaction.spec index b9f2cd8..83eda77 100644 --- a/python-transaction.spec +++ b/python-transaction.spec @@ -1,7 +1,7 @@ # # spec file for package python-transaction # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-transaction -Version: 3.0.0 +Version: 3.0.1 Release: 0 Summary: Transaction management for Python License: ZPL-2.1 URL: https://github.com/zopefoundation/transaction Source: https://files.pythonhosted.org/packages/source/t/transaction/transaction-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes @@ -57,7 +58,7 @@ rm -rf transaction.egg-info %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %license LICENSE.txt diff --git a/transaction-3.0.0.tar.gz b/transaction-3.0.0.tar.gz deleted file mode 100644 index 1584c09..0000000 --- a/transaction-3.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b0ad400cb7fa25f95d1516756c4c4557bb78890510f69393ad0bd15869eaa2d -size 72319 diff --git a/transaction-3.0.1.tar.gz b/transaction-3.0.1.tar.gz new file mode 100644 index 0000000..684255b --- /dev/null +++ b/transaction-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c15ef0b7ff3518357ceea75722a30d974c3f85e11aa5cec5d5a2b6a40cfcf68 +size 72934