Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sshtunnel for 
openSUSE:Factory checked in at 2022-04-20 16:57:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sshtunnel (Old)
 and      /work/SRC/openSUSE:Factory/.python-sshtunnel.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sshtunnel"

Wed Apr 20 16:57:24 2022 rev:6 rq:971021 version:0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sshtunnel/python-sshtunnel.changes        
2021-02-02 14:26:00.051422532 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sshtunnel.new.1941/python-sshtunnel.changes  
    2022-04-20 16:57:52.902653969 +0200
@@ -1,0 +2,5 @@
+Wed Apr 20 07:47:51 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sshtunnel.spec ++++++
--- /var/tmp/diff_new_pack.46NQen/_old  2022-04-20 16:57:53.266654309 +0200
+++ /var/tmp/diff_new_pack.46NQen/_new  2022-04-20 16:57:53.270654312 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sshtunnel
 #
-# 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
@@ -25,7 +25,6 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/pahaz/sshtunnel/
 Source:         
https://files.pythonhosted.org/packages/source/s/sshtunnel/sshtunnel-%{version}.tar.gz
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module paramiko >= 2.7.2}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -58,6 +57,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# https://github.com/pahaz/sshtunnel/issues/259
+sed -i 's:import mock:from unittest import mock:' tests/test_forwarder.py
 %pytest
 
 %post

Reply via email to