Accepting request 850785 from home:adamm:branches:devel:libraries:c_c++
- 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 OBS-URL: https://build.opensuse.org/request/show/850785 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=91
This commit is contained in:
parent
b4b08599f7
commit
fff7603583
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 25 16:26:52 UTC 2020 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:296540a065c8c21b26d63e3cea2d1d57902373b16e4256afe46422691903a438
|
||||
size 1156195
|
3
pyzmq-20.0.0.tar.gz
Normal file
3
pyzmq-20.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:824ad5888331aadeac772bce27e1c2fbcab82fade92edbd234542c4e12f0dca9
|
||||
size 1213019
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user