Package: pyzmq / 17.1.2-4

Metadata

Package Version Patches format
pyzmq 17.1.2-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
noncopysend test.patch | (download)

zmq/tests/test_message.py | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 don't use uninitialized memory for test

 the memory could contain signalling NaN which crashes sparc python
cffi fix.patch | (download)

zmq/backend/cffi/__init__.py | 24 24 + 0 - 0 !
zmq/backend/cffi/_cffi.py | 4 2 + 2 - 0 !
2 files changed, 26 insertions(+), 2 deletions(-)

 check package root for cffi binaries

cffi checks __pycache__ for binaries which is cleaned by pypy
installation so packages can't ship in there.

Instead ship in package root and patch module finding to look in there.
Also use fixed path in a place passed to cffi to get the same checksum
in build and install. After it is installed no build is needed so it
doesn't matter if its wrong.

This patch assumes pypy 2.2 api, won't work with 2.1 as so_suffices is
no list.

Bug: https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
Patch-Name: cffi-fix.patch

skip_large_send | (download)

zmq/tests/test_socket.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip large send test

to avoid swapping on low memory machines

Patch-Name: skip_large_send

fix_monitor_test.patch | (download)

zmq/tests/test_monitor.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 zmq.event_all changes as more events are added and test fails
 pin the test so that it only requests the events it's looking
 for, to avoid failures when a new event is added.
 As the documentation says, and as it can be expected, EVENT_ALL is a
 catch-all mask that changes over time.
bump poll timeout auth test.patch | (download)

zmq/tests/test_auth.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 bump poll timeout to avoid test error on slower machines
 Not forwarded yet because this is hard to reproduce outside of the Ubuntu
 autopkgtest infrastructure and we first want to see if it helps our case.
python3.8.diff | (download)

zmq/tests/asyncio/_test_asyncio.py | 9 7 + 2 - 0 !
1 file changed, 7 insertions(+), 2 deletions(-)

 fix asyncio tests in python3.8 due to changes in exception hierarchy
ThreadAuthenticator race.patch | (download)

zmq/auth/thread.py | 17 12 + 5 - 0 !
1 file changed, 12 insertions(+), 5 deletions(-)

 fix race in threadauthenticator