Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyzmq for openSUSE:Factory 
checked in at 2025-11-14 16:11:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyzmq (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyzmq.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyzmq"

Fri Nov 14 16:11:27 2025 rev:61 rq:1317471 version:27.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyzmq/python-pyzmq.changes        
2025-09-23 16:07:25.035909363 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyzmq.new.2061/python-pyzmq.changes      
2025-11-14 16:12:21.838898421 +0100
@@ -1,0 +2,6 @@
+Thu Nov 13 02:59:50 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Copy tests to a temporary directory so they can be imported.
+- Drop pytest.ini, it is now shipped in the tarball.
+
+-------------------------------------------------------------------

Old:
----
  pytest.ini

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

Other differences:
------------------
++++++ python-pyzmq.spec ++++++
--- /var/tmp/diff_new_pack.ktx6Su/_old  2025-11-14 16:12:23.418964647 +0100
+++ /var/tmp/diff_new_pack.ktx6Su/_new  2025-11-14 16:12:23.422964816 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyzmq
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,8 +32,6 @@
 License:        BSD-3-Clause AND LGPL-3.0-or-later
 URL:            https://github.com/zeromq/pyzmq
 Source:         
https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
-# For test markers
-Source1:        
https://raw.githubusercontent.com/zeromq/pyzmq/v%{version}/pytest.ini
 BuildRequires:  %{python_module Cython >= 3}
 BuildRequires:  %{python_module devel >= 3.9}
 BuildRequires:  %{python_module pip}
@@ -91,7 +89,6 @@
 
 %prep
 %autosetup -n pyzmq-%{version} -p1
-cp %{SOURCE1} ./
 
 # Fix non-executable script rpmlint warning:
 find examples zmq -name "*.py" -exec sed -i "s|#\!\/usr\/bin\/env python||" {} 
\;
@@ -108,6 +105,10 @@
 
 %if %{with tests}
 %check
+# make tests importable
+dir=$(mktemp -d)
+cp -a tests $dir
+export PYTHONPATH=$dir
 export LANG=en_US.UTF-8
 # unreliable socket handling in obs environment
 SKIPPED_TESTS+=" or test_log"
@@ -115,7 +116,7 @@
 # tries to open a network connection on older distributions
 SKIPPED_TESTS+=" or test_null or test_int_sockopts"
 %endif
-%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 1200 tests
+%pytest_arch -v -k "not (${SKIPPED_TESTS:4})"
 %endif
 
 %files %{python_files}

Reply via email to