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 2022-01-09 22:49:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyzmq (Old) and /work/SRC/openSUSE:Factory/.python-pyzmq.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyzmq" Sun Jan 9 22:49:49 2022 rev:48 rq:944927 version:22.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyzmq/python-pyzmq.changes 2021-08-16 10:13:39.942950231 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyzmq.new.1892/python-pyzmq.changes 2022-01-09 22:49:51.663267288 +0100 @@ -1,0 +2,23 @@ +Wed Jan 5 23:03:59 UTC 2022 - Ben Greiner <[email protected]> + +- Skip test_log due to flaky socket handling inside obs environments. +- Add less-flaky.patch to increase flakiness of test_retry_poll + and test_timeout. + +------------------------------------------------------------------- +Wed Oct 13 13:26:41 UTC 2021 - Matej Cepl <[email protected]> + +- Update to 22.3.0: + - Fix strlcpy compilation issues on alpine, freebsd. Adds new + build-time dependency on packaging. + - In event-loop integration: warn instead of raise when + triggering callback on a socket whose context has been + closed. + - Bundled libzmq in wheels backport a patch to avoid crashes + due to inappropriate closing of libsodium's random generator + when using CurveZMQ. + - New ResourceWarnings when contexts and sockets are closed by + garbage collection, which can be a source of hangs and leaks + (matches open files) + +------------------------------------------------------------------- Old: ---- pyzmq-22.2.1.tar.gz New: ---- less-flaky.patch pyzmq-22.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyzmq.spec ++++++ --- /var/tmp/diff_new_pack.jMwCNY/_old 2022-01-09 22:49:52.231267795 +0100 +++ /var/tmp/diff_new_pack.jMwCNY/_new 2022-01-09 22:49:52.235267798 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyzmq # -# 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,13 +25,16 @@ %bcond_with tests %endif Name: python-pyzmq -Version: 22.2.1 +Version: 22.3.0 Release: 0 Summary: Python bindings for 0MQ 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 Source1: python-pyzmq-rpmlintrc +# PATCH-FIX-UPSTREAM less-flaky.patch bsc#[0-9]+ [email protected] +# Make test suite less flaky +Patch0: less-flaky.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.6} BuildRequires: %{python_module setuptools} @@ -40,7 +43,9 @@ BuildRequires: zeromq-devel # SECTION Test requirements BuildRequires: %{python_module gevent} +BuildRequires: %{python_module flaky} BuildRequires: %{python_module paramiko} +BuildRequires: %{python_module pytest-rerunfailures} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module simplejson} @@ -106,13 +111,15 @@ # This test wants to build a custom cython extension, but does # not have the source files installed into the buildroot SKIPPED_TESTS+=" or test_cython" +# unreliable socket handling in obs environment +SKIPPED_TESTS+=" or test_log" %if 0%{?suse_version} < 1550 # tries to open a network connection on older distributions SKIPPED_TESTS+=" or test_null" %endif mkdir cleantest pushd cleantest -%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 120 -ra +%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 1200 popd %endif ++++++ less-flaky.patch ++++++ --- zmq/tests/test_poll.py | 2 +- zmq/tests/test_retry_eintr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/zmq/tests/test_poll.py +++ b/zmq/tests/test_poll.py @@ -192,7 +192,7 @@ class TestSelect(PollZMQTestCase): self.assertTrue(s1 not in rlist) self.assertTrue(s2 not in rlist) - @mark.flaky(reruns=3) + @mark.flaky() def test_timeout(self): """make sure select timeout has the right units (seconds).""" s1, s2 = self.create_bound_pair(zmq.PAIR, zmq.PAIR) --- a/zmq/tests/test_retry_eintr.py +++ b/zmq/tests/test_retry_eintr.py @@ -60,7 +60,7 @@ class TestEINTRSysCall(BaseZMQTestCase): self.assertRaises(zmq.Again, push.send, b('buf')) assert self.timer_fired - @mark.flaky(reruns=3) + @mark.flaky() def test_retry_poll(self): x, y = self.create_bound_pair() poller = zmq.Poller() ++++++ pyzmq-22.2.1.tar.gz -> pyzmq-22.3.0.tar.gz ++++++ ++++ 5301 lines of diff (skipped)
