Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-encore for openSUSE:Factory 
checked in at 2022-05-02 16:26:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-encore (Old)
 and      /work/SRC/openSUSE:Factory/.python-encore.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-encore"

Mon May  2 16:26:11 2022 rev:4 rq:974411 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-encore/python-encore.changes      
2021-05-18 18:27:40.150643402 +0200
+++ /work/SRC/openSUSE:Factory/.python-encore.new.1538/python-encore.changes    
2022-05-02 16:26:40.720912204 +0200
@@ -1,0 +2,5 @@
+Mon May  2 10:31:23 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-encore.spec ++++++
--- /var/tmp/diff_new_pack.denvqC/_old  2022-05-02 16:26:41.160912693 +0200
+++ /var/tmp/diff_new_pack.denvqC/_new  2022-05-02 16:26:41.164912698 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-encore
 #
-# 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
@@ -33,7 +33,6 @@
 Recommends:     python-requests
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests}
 %if %{with python2}
@@ -81,6 +80,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# https://github.com/enthought/encore/issues/112
+sed -i 's:import mock:from unittest import mock:' 
encore/events/tests/test_event_manager.py
 %pytest
 
 %files %{python_files}

Reply via email to