Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-time-travel for
openSUSE:Factory checked in at 2022-04-20 16:55:09
Comparing /work/SRC/openSUSE:Factory/python-time-travel (Old)
and /work/SRC/openSUSE:Factory/.python-time-travel.new.1941 (New)
Package is "python-time-travel"
Wed Apr 20 16:55:09 2022 rev:3 rq:970768 version:1.1.2
Changes:
--- /work/SRC/openSUSE:Factory/python-time-travel/python-time-travel.changes
2021-12-14 22:02:04.735143916 +0100
+++
/work/SRC/openSUSE:Factory/.python-time-travel.new.1941/python-time-travel.changes
2022-04-20 16:55:15.582507015 +0200
@@ -1,0 +2,5 @@
+Tue Apr 19 11:17:27 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+
+---
Other differences:
--
++ python-time-travel.spec ++
--- /var/tmp/diff_new_pack.dGH76H/_old 2022-04-20 16:55:16.202507594 +0200
+++ /var/tmp/diff_new_pack.dGH76H/_new 2022-04-20 16:55:16.206507598 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-time-travel
#
-# 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
@@ -31,7 +31,6 @@
BuildRequires: python-rpm-macros
# SECTION tests
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module mock}
# /SECTION
BuildRequires: fdupes
BuildArch: noarch
@@ -51,6 +50,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+# https://github.com/snudler6/time-travel/issues/67
+sed -i 's:import mock:from unittest import mock:'
src/tests/example/test_wait_and_respond.py
%pytest
%files %{python_files}