diff --git a/python-pyzmq.changes b/python-pyzmq.changes index 42eaeea..5c3a1a4 100644 --- a/python-pyzmq.changes +++ b/python-pyzmq.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Nov 25 16:26:52 UTC 2020 - Adam Majer + +- update to version 20.0.0: + * fix build with ZeroMQ 4.3.3 + * drops support for Python < 3.5 + * Respect $PKG_CONFIG env for finding libzmq when building from source + * :meth:`.Socket.bind` and :meth:`.Socket.connect` + can now be used as context managers. + * Hold GIL while calling ``zmq_curve_`` functions, + which may fix apparent threadsafety issues. + +- skip_test_tracker.patch: refreshed + ------------------------------------------------------------------- Wed Oct 14 13:59:04 UTC 2020 - Matej Cepl diff --git a/python-pyzmq.spec b/python-pyzmq.spec index 95d5daa..80d332d 100644 --- a/python-pyzmq.spec +++ b/python-pyzmq.spec @@ -16,6 +16,8 @@ # +%define skip_python2 1 + %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Disable tests, they are very slow/halt on many arch %ifarch x86_64 @@ -24,7 +26,7 @@ %bcond_with tests %endif Name: python-pyzmq -Version: 19.0.2 +Version: 20.0.0 Release: 0 Summary: Python bindings for 0MQ License: LGPL-3.0-or-later AND BSD-3-Clause @@ -76,18 +78,11 @@ Requires: zeromq-devel Development libraries and headers needed to build software using %{name}. %prep -%setup -q -n pyzmq-%{version} +%autosetup -n pyzmq-%{version} -p1 + # 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 export CFLAGS="%{optflags}" %python_build diff --git a/pyzmq-19.0.2.tar.gz b/pyzmq-19.0.2.tar.gz deleted file mode 100644 index 065a8c0..0000000 --- a/pyzmq-19.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:296540a065c8c21b26d63e3cea2d1d57902373b16e4256afe46422691903a438 -size 1156195 diff --git a/pyzmq-20.0.0.tar.gz b/pyzmq-20.0.0.tar.gz new file mode 100644 index 0000000..9711666 --- /dev/null +++ b/pyzmq-20.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:824ad5888331aadeac772bce27e1c2fbcab82fade92edbd234542c4e12f0dca9 +size 1213019 diff --git a/skip_test_tracker.patch b/skip_test_tracker.patch index 89c7ecf..8339d0c 100644 --- a/skip_test_tracker.patch +++ b/skip_test_tracker.patch @@ -1,5 +1,5 @@ ---- zmq/tests/test_socket.py.orig 2015-06-18 19:46:28.000000000 +0200 -+++ zmq/tests/test_socket.py 2015-09-08 17:34:13.309795000 +0200 +--- a/zmq/tests/test_socket.py.orig 2015-06-18 19:46:28.000000000 +0200 ++++ b/zmq/tests/test_socket.py 2015-09-08 17:34:13.309795000 +0200 @@ -216,6 +216,7 @@ @skip_pypy def test_tracker(self):