Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-transaction for openSUSE:Factory checked in at 2022-04-22 21:53:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-transaction (Old) and /work/SRC/openSUSE:Factory/.python-transaction.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-transaction" Fri Apr 22 21:53:02 2022 rev:26 rq:970998 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-transaction/python-transaction.changes 2021-01-18 11:26:42.520465168 +0100 +++ /work/SRC/openSUSE:Factory/.python-transaction.new.1538/python-transaction.changes 2022-04-22 21:53:26.406750335 +0200 @@ -1,0 +2,5 @@ +Wed Apr 20 07:35:20 UTC 2022 - pgaj...@suse.com + +- do not require python-mock for build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-transaction.spec ++++++ --- /var/tmp/diff_new_pack.a849Wq/_old 2022-04-22 21:53:26.814750800 +0200 +++ /var/tmp/diff_new_pack.a849Wq/_new 2022-04-22 21:53:26.826750813 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-transaction # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,15 +24,14 @@ 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 BuildRequires: python-rpm-macros Requires: python-zope.interface BuildArch: noarch # SECTION Test requirements -BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module zope.interface} # /SECTION %python_subpackages @@ -58,6 +57,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# https://github.com/zopefoundation/zdaemon/issues/28#issuecomment-1102754818 +sed -i 's:import mock:from unittest import mock:' src/transaction/tests/test__manager.py %pytest %files %{python_files}