Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyeapi for openSUSE:Factory 
checked in at 2022-04-06 21:52:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyeapi (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyeapi.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyeapi"

Wed Apr  6 21:52:15 2022 rev:5 rq:967352 version:0.8.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyeapi/python-pyeapi.changes      
2022-01-13 23:21:57.152067546 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyeapi.new.1900/python-pyeapi.changes    
2022-04-06 21:52:51.974625819 +0200
@@ -1,0 +2,5 @@
+Wed Apr  6 12:55:49 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyeapi.spec ++++++
--- /var/tmp/diff_new_pack.h2gbWj/_old  2022-04-06 21:52:52.426620661 +0200
+++ /var/tmp/diff_new_pack.h2gbWj/_new  2022-04-06 21:52:52.434620570 +0200
@@ -27,7 +27,6 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/arista-eosplus/pyeapi
 Source:         
https://files.pythonhosted.org/packages/source/p/pyeapi/pyeapi-%{version}.tar.gz
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module netaddr}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -56,6 +55,8 @@
 # Deprecated collections usage since Python 3.3
 sed -i 's/from collections import/from collections.abc import/' 
pyeapi/api/abstract.py
 sed -i 's/collections.Iterable/collections.abc.Iterable/' 
test/unit/test_utils.py
+# https://github.com/arista-eosplus/pyeapi/issues/224
+sed -i 's/from mock/from unittest.mock/' test/*/test*.py
 
 %build
 %python_build

Reply via email to