Path to this page:
Subject: CVS commit: pkgsrc/net/py-zmq
From: Adam Ciarcinski
Date: 2023-10-11 10:32:21
Message id: 20231011083221.B2EC7FADC@cvs.NetBSD.org
Log Message:
py-zmq: updated to 25.1.1
25.1.1 is the first stable release with Python 3.12 wheels.
Changes:
- Allow Cython 0.29.35 to build Python 3.12 wheels (no longer require Cython 3)
Bugs fixed:
- Fix builds on Solaris by including generated platform.hpp
- Cleanup futures in `Socket.poll()` that are cancelled and never return
- Fix builds with `-j` when numpy is present in the build env
25.1.0
pyzmq 25.1 mostly changes some packaging details of pyzmq, including support for \
installation from source on Python 3.12 beta 1.
Enhancements:
- Include address in error message when bind/connect fail.
Packaging changes:
- Fix inclusion of some test files in source distributions.
- Add Cython as a build-time dependency in `build-system.requires` metadata, \
following current [recommendations][cython-build-requires] of the Cython \
maintainers.
We still ship generated Cython sources in source distributions, so it is not a \
_strict_ dependency for packagers using `--no-build-isolation`, but pip will \
install Cython as part of building pyzmq from source.
This makes it more likely that past pyzmq releases will install on future \
Python releases, which often require an update to Cython but not pyzmq itself.
For Python 3.12, Cython >=3.0.0b3 is required.
25.0.2
- Fix handling of shadow sockets in ZMQStream when the original sockets have \
been closed. A regression in 25.0.0, seen with jupyter-client 7.
25.0.1
Tiny bugfix release that should only affect users of {class}`~.PUBHandler` or \
pyzmq repackagers.
- Fix handling of custom Message types in {class}`~.PUBHandler`
- Small lint fixes to satisfy changes in mypy
- License files have been renamed to more standard LICENSE.BSD, LICENSE.LESSER \
to appease some license auto-detect tools.
25.0.0
New:
- Added `socket_class` argument to {func}`zmq.Context.socket`
- Support shadowing sockets with socket objects,
not just via address, e.g. `zmq.asyncio.Socket(other_socket)`.
Shadowing an object preserves a reference to the original,
unlike shadowing via address.
- in {mod}`zmq.auth`, CredentialsProvider callbacks may now be async.
- {class}`~.zmq.eventloop.zmqstream.ZMQStream` callbacks may now be async.
- Add {class}`zmq.ReconnectStop` draft constants.
- Add manylinux_2_28 wheels for x86_64 CPython 3.10, 3.11, and PyPy 3.9 (these \
are _in addition to_ not _instead of_ the manylinux_2014 wheels).
Fixed:
- When {class}`~.zmq.eventloop.zmqstream.ZMQStream` is given an async socket,
it now warns and hooks up events correctly with the underlying socket, so the \
callback gets the received message,
instead of sending the callback the incorrect arguments.
- Fixed toml parse error in `pyproject.toml`,
when installing from source with very old pip.
- Removed expressed dependency on `py` when running with pypy,
which hasn't been used in some time.
Deprecated:
- {class}`zmq.auth.ioloop.IOLoopAuthenticator` is deprecated in favor of \
{class}`zmq.auth.asyncio.AsyncioAuthenticator`
- As part of migrating toward modern pytest, {class}`zmq.tests.BaseZMQTestCase` \
is deprecated and should not be used outside pyzmq.
- `python setup.py test` is deprecated as a way to launch the tests.
Just use `pytest`.
Removed:
- 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,
meaning tornado is always assumed to run on asyncio.
Files: