Hello community,

here is the log from the commit of package python-pyzmq for openSUSE:Factory 
checked in at 2020-08-25 12:36:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyzmq (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyzmq.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyzmq"

Tue Aug 25 12:36:20 2020 rev:39 rq:826796 version:19.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyzmq/python-pyzmq.changes        
2020-08-06 17:32:40.129102087 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyzmq.new.3399/python-pyzmq.changes      
2020-08-25 12:36:41.705374634 +0200
@@ -1,0 +2,5 @@
+Sat Aug 15 06:33:10 UTC 2020 - John Vandenberg <[email protected]>
+
+- Re-activate test suite on x86_64, replacing nose with pytest
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyzmq.spec ++++++
--- /var/tmp/diff_new_pack.hhzQSt/_old  2020-08-25 12:36:42.909375228 +0200
+++ /var/tmp/diff_new_pack.hhzQSt/_new  2020-08-25 12:36:42.913375230 +0200
@@ -17,8 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Disable tests, they are so slow that OBS thinks the build died.
+# Disable tests, they are very slow/halt on many arch
+%ifarch x86_64
+%bcond_without  tests
+%else
 %bcond_with tests
+%endif
 Name:           python-pyzmq
 Version:        19.0.2
 Release:        0
@@ -34,11 +38,10 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module gevent}
 # Test requirements
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module paramiko}
 BuildRequires:  %{python_module pexpect}
-BuildRequires:  %{python_module py}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module simplejson}
 BuildRequires:  %{python_module tornado}
@@ -77,6 +80,12 @@
 # Fix non-executable script rpmlint warning:
 find examples zmq -name "*.py" -exec sed -i "s|#\!\/usr\/bin\/env python||" {} 
\;
 
+# Remove non-deterministic authentication test
+# This fails to connect randomly
+rm -rf zmq/tests/test_auth.py
+sed -i '/from zmq.tests.test_auth/d' zmq/tests/asyncio/_test_asyncio.py
+sed -i 's/TestThreadAuthentication/object/' zmq/tests/asyncio/_test_asyncio.py
+
 %patch1
 
 %build
@@ -89,12 +98,8 @@
 
 %if %{with tests}
 %check
-# Remove non-deterministic authentication test
-# This fails to connect randomly
-rm -rf zmq/tests/test_auth.py
-
 %python_exec setup.py build_ext --inplace
-%python_exec setup.py test
+%pytest
 %endif
 
 %files %{python_files}


Reply via email to