Forwarded request #1086739 from mcalabkova
- Update to version 25.0.2
* Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is removed,
so ZMQStream cannot be used without an actual install of tornado.
* Remove support for tornado 4.
* Added `socket_class` argument to zmq.Context.socket
* Support shadowing sockets with socket objects.
* In zmq.auth and zmq.eventloop.zmqstream callbacks may now be async.
* License files have been renamed to more standard LICENSE.BSD, LICENSE.LESSER
to appease some license auto-detect tools.
OBS-URL: https://build.opensuse.org/request/show/1086978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=54
- Update to version 25.0.2
* Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is removed,
so ZMQStream cannot be used without an actual install of tornado.
* Remove support for tornado 4.
* Added `socket_class` argument to zmq.Context.socket
* Support shadowing sockets with socket objects.
* In zmq.auth and zmq.eventloop.zmqstream callbacks may now be async.
* License files have been renamed to more standard LICENSE.BSD, LICENSE.LESSER
to appease some license auto-detect tools.
OBS-URL: https://build.opensuse.org/request/show/1086739
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=113
- Update to 23.2.0
* Use zmq.Event enums in parse_monitor_message for nicer reprs
* Fix building bundled libzmq with ZMQ_DRAFT_API=1
* Fix subclassing zmq.Context with additional arguments in the
constructor. Subclasses may now have full control over the
signature, rather than purely adding keyword-only arguments
* Typos and other small fixes
- Release 23.1.0
* Fix global name of zmq.EVENT_HANDSHAKE_* constants
* Fix constants missing when using import zmq.green as zmq
* {func}zmq.utils.monitor.recv_monitor_msg now supports async
Sockets.
- Release 23.0.0
* all zmq constants are now available as Python enums (e.g.
zmq.SocketType.PULL, zmq.SocketOption.IDENTITY), generated
statically from zmq.h instead of at compile-time. This means
that checks for the presence of a constant (hasattr(zmq,
'RADIO')) is not a valid check for the presence of a feature.
This practice has never been robust, but it may have worked
sometimes. Use direct checks via e.g. {func}zmq.has or
{func}zmq.zmq_version_info.
* A bit more type coverage of Context.term and Context.socket
* Remove all use of deprecated stdlib distutils
* Update to Cython 0.29.30 (required for Python 3.11
compatibility)
* Compatibility with Python 3.11.0b1
* Switch to myst for docs
* Deprecate zmq.utils.strtypes, now unused
* Updates to autoformatting, linting
- Drop less-flaky.patch: pytest-rerunfailures without the flaky
OBS-URL: https://build.opensuse.org/request/show/985673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=102
- 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.
- 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)
OBS-URL: https://build.opensuse.org/request/show/944927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=48
Update to 22.1.0 and increase the memory constraint since it sometimes
results in an error such as:
[ 401s] ../tests/test_socket.py::TestSocket::test_large_send [ 374.574996] Out of memory: Killed process 3386 (pytest-3.6) total-vm:6451008kB, anon-rss:2193620kB, file-rss:0kB, shmem-rss:0kB, UID:399 pgtables:8652kB oom_score_adj:0
- Update to 22.1.0
* New features:
- asyncio: experimental support for Proactor eventloop if
tornado 6.1 is available by running a selector in a
background thread.
* Fixes:
- Windows: fix type of socket.FD option in win-amd64
- asyncio: Cancel timers when using HWM with async Sockets
* Other changes:
- Windows: update bundled libzmq dll URLs for Windows. Windows
wheels no longer include concrt140.dll.
- adopt pre-commit for formatting, linting
- Increase memory constraint from 8000M to 9000M since build
sometimes fails with "Out of memory" errors.
OBS-URL: https://build.opensuse.org/request/show/904236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=98
- update to version 19.0.2:
- Regenerate Cython sources with 0.29.21 in sdists for compatibility with Python 3.9
- Handle underlying socket being closed in ZMQStream with warning instead of error
- Improvements to socket cleanup during process teardown
- Fix debug-builds on Windows
- Avoid importing ctypes during startup on Windows
- Documentation improvements
- Raise ``AttributeError`` instead of ``ZMQError(EINVAL)`` on attempts to read write-only attributes,
for compatibility with mocking
OBS-URL: https://build.opensuse.org/request/show/824350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=38
- Regenerate Cython sources with 0.29.21 in sdists for compatibility with Python 3.9
- Handle underlying socket being closed in ZMQStream with warning instead of error
- Improvements to socket cleanup during process teardown
- Fix debug-builds on Windows
- Avoid importing ctypes during startup on Windows
- Documentation improvements
- Raise ``AttributeError`` instead of ``ZMQError(EINVAL)`` on attempts to read write-only attributes,
for compatibility with mocking
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=80