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 <https://github.com/zopefoundation/transaction/pull/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
This commit is contained in:
Markéta Machová 2021-01-13 14:26:22 +00:00 committed by Git OBS Bridge
parent d8c586267a
commit 33d2d87a63
4 changed files with 17 additions and 6 deletions

View File

@ -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 <https://github.com/zopefoundation/transaction/pull/95>`_.
- use %pytest macro
-------------------------------------------------------------------
Mon May 4 10:44:06 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

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

View File

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

BIN
transaction-3.0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.