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.diff -r1.38 -r1.39 pkgsrc/net/py-zmq/Makefile
(adam)
@@ -1,25 +1,28 @@ | @@ -1,25 +1,28 @@ | |||
1 | # $NetBSD: Makefile,v 1.38 2022/11/21 20:09:01 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.39 2023/10/11 08:32:21 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pyzmq-24.0.1 | 3 | DISTNAME= pyzmq-25.1.1 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | |
5 | CATEGORIES= net python | 5 | CATEGORIES= net python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyzmq/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyzmq/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/zeromq/pyzmq | 9 | HOMEPAGE= https://github.com/zeromq/pyzmq | |
10 | COMMENT= Python bindings for zeromq | 10 | COMMENT= Python bindings for zeromq | |
11 | LICENSE= gnu-lgpl-v3 AND modified-bsd | 11 | LICENSE= gnu-lgpl-v3 AND modified-bsd | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython | 13 | DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython | |
14 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging | 14 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |
16 | 16 | |||
17 | USE_TOOLS+= pkg-config | 17 | USE_TOOLS+= pkg-config | |
18 | 18 | |||
19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
20 | 20 | |||
21 | PYSETUPBUILDARGS+= --zmq=${BUILDLINK_PREFIX.zeromq:Q} | 21 | PYSETUPBUILDARGS+= --zmq=${BUILDLINK_PREFIX.zeromq:Q} | |
22 | 22 | |||
23 | do-test: | |||
24 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} | |||
25 | ||||
23 | .include "../../lang/python/egg.mk" | 26 | .include "../../lang/python/egg.mk" | |
24 | .include "../../net/zeromq/buildlink3.mk" | 27 | .include "../../net/zeromq/buildlink3.mk" | |
25 | .include "../../mk/bsd.pkg.mk" | 28 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.17 2022/11/21 20:09:01 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.18 2023/10/11 08:32:21 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
8 | ${PYSITELIB}/zmq/__init__.pxd | 8 | ${PYSITELIB}/zmq/__init__.pxd | |
9 | ${PYSITELIB}/zmq/__init__.py | 9 | ${PYSITELIB}/zmq/__init__.py | |
10 | ${PYSITELIB}/zmq/__init__.pyc | 10 | ${PYSITELIB}/zmq/__init__.pyc | |
11 | ${PYSITELIB}/zmq/__init__.pyi | 11 | ${PYSITELIB}/zmq/__init__.pyi | |
12 | ${PYSITELIB}/zmq/__init__.pyo | 12 | ${PYSITELIB}/zmq/__init__.pyo | |
13 | ${PYSITELIB}/zmq/_future.py | 13 | ${PYSITELIB}/zmq/_future.py | |
14 | ${PYSITELIB}/zmq/_future.pyc | 14 | ${PYSITELIB}/zmq/_future.pyc | |
@@ -119,62 +119,26 @@ ${PYSITELIB}/zmq/error.pyc | @@ -119,62 +119,26 @@ ${PYSITELIB}/zmq/error.pyc | |||
119 | ${PYSITELIB}/zmq/error.pyo | 119 | ${PYSITELIB}/zmq/error.pyo | |
120 | ${PYSITELIB}/zmq/eventloop/__init__.py | 120 | ${PYSITELIB}/zmq/eventloop/__init__.py | |
121 | ${PYSITELIB}/zmq/eventloop/__init__.pyc | 121 | ${PYSITELIB}/zmq/eventloop/__init__.pyc | |
122 | ${PYSITELIB}/zmq/eventloop/__init__.pyo | 122 | ${PYSITELIB}/zmq/eventloop/__init__.pyo | |
123 | ${PYSITELIB}/zmq/eventloop/_deprecated.py | 123 | ${PYSITELIB}/zmq/eventloop/_deprecated.py | |
124 | ${PYSITELIB}/zmq/eventloop/_deprecated.pyc | 124 | ${PYSITELIB}/zmq/eventloop/_deprecated.pyc | |
125 | ${PYSITELIB}/zmq/eventloop/_deprecated.pyo | 125 | ${PYSITELIB}/zmq/eventloop/_deprecated.pyo | |
126 | ${PYSITELIB}/zmq/eventloop/future.py | 126 | ${PYSITELIB}/zmq/eventloop/future.py | |
127 | ${PYSITELIB}/zmq/eventloop/future.pyc | 127 | ${PYSITELIB}/zmq/eventloop/future.pyc | |
128 | ${PYSITELIB}/zmq/eventloop/future.pyo | 128 | ${PYSITELIB}/zmq/eventloop/future.pyo | |
129 | ${PYSITELIB}/zmq/eventloop/ioloop.py | 129 | ${PYSITELIB}/zmq/eventloop/ioloop.py | |
130 | ${PYSITELIB}/zmq/eventloop/ioloop.pyc | 130 | ${PYSITELIB}/zmq/eventloop/ioloop.pyc | |
131 | ${PYSITELIB}/zmq/eventloop/ioloop.pyo | 131 | ${PYSITELIB}/zmq/eventloop/ioloop.pyo | |
132 | ${PYSITELIB}/zmq/eventloop/minitornado/__init__.py | |||
133 | ${PYSITELIB}/zmq/eventloop/minitornado/__init__.pyc | |||
134 | ${PYSITELIB}/zmq/eventloop/minitornado/__init__.pyo | |||
135 | ${PYSITELIB}/zmq/eventloop/minitornado/concurrent.py | |||
136 | ${PYSITELIB}/zmq/eventloop/minitornado/concurrent.pyc | |||
137 | ${PYSITELIB}/zmq/eventloop/minitornado/concurrent.pyo | |||
138 | ${PYSITELIB}/zmq/eventloop/minitornado/ioloop.py | |||
139 | ${PYSITELIB}/zmq/eventloop/minitornado/ioloop.pyc | |||
140 | ${PYSITELIB}/zmq/eventloop/minitornado/ioloop.pyo | |||
141 | ${PYSITELIB}/zmq/eventloop/minitornado/log.py | |||
142 | ${PYSITELIB}/zmq/eventloop/minitornado/log.pyc | |||
143 | ${PYSITELIB}/zmq/eventloop/minitornado/log.pyo | |||
144 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/__init__.py | |||
145 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/__init__.pyc | |||
146 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/__init__.pyo | |||
147 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/auto.py | |||
148 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/auto.pyc | |||
149 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/auto.pyo | |||
150 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/common.py | |||
151 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/common.pyc | |||
152 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/common.pyo | |||
153 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/interface.py | |||
154 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/interface.pyc | |||
155 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/interface.pyo | |||
156 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/posix.py | |||
157 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/posix.pyc | |||
158 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/posix.pyo | |||
159 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/windows.py | |||
160 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/windows.pyc | |||
161 | ${PYSITELIB}/zmq/eventloop/minitornado/platform/windows.pyo | |||
162 | ${PYSITELIB}/zmq/eventloop/minitornado/stack_context.py | |||
163 | ${PYSITELIB}/zmq/eventloop/minitornado/stack_context.pyc | |||
164 | ${PYSITELIB}/zmq/eventloop/minitornado/stack_context.pyo | |||
165 | ${PYSITELIB}/zmq/eventloop/minitornado/util.py | |||
166 | ${PYSITELIB}/zmq/eventloop/minitornado/util.pyc | |||
167 | ${PYSITELIB}/zmq/eventloop/minitornado/util.pyo | |||
168 | ${PYSITELIB}/zmq/eventloop/zmqstream.py | 132 | ${PYSITELIB}/zmq/eventloop/zmqstream.py | |
169 | ${PYSITELIB}/zmq/eventloop/zmqstream.pyc | 133 | ${PYSITELIB}/zmq/eventloop/zmqstream.pyc | |
170 | ${PYSITELIB}/zmq/eventloop/zmqstream.pyo | 134 | ${PYSITELIB}/zmq/eventloop/zmqstream.pyo | |
171 | ${PYSITELIB}/zmq/green/__init__.py | 135 | ${PYSITELIB}/zmq/green/__init__.py | |
172 | ${PYSITELIB}/zmq/green/__init__.pyc | 136 | ${PYSITELIB}/zmq/green/__init__.pyc | |
173 | ${PYSITELIB}/zmq/green/__init__.pyo | 137 | ${PYSITELIB}/zmq/green/__init__.pyo | |
174 | ${PYSITELIB}/zmq/green/core.py | 138 | ${PYSITELIB}/zmq/green/core.py | |
175 | ${PYSITELIB}/zmq/green/core.pyc | 139 | ${PYSITELIB}/zmq/green/core.pyc | |
176 | ${PYSITELIB}/zmq/green/core.pyo | 140 | ${PYSITELIB}/zmq/green/core.pyo | |
177 | ${PYSITELIB}/zmq/green/device.py | 141 | ${PYSITELIB}/zmq/green/device.py | |
178 | ${PYSITELIB}/zmq/green/device.pyc | 142 | ${PYSITELIB}/zmq/green/device.pyc | |
179 | ${PYSITELIB}/zmq/green/device.pyo | 143 | ${PYSITELIB}/zmq/green/device.pyo | |
180 | ${PYSITELIB}/zmq/green/eventloop/__init__.py | 144 | ${PYSITELIB}/zmq/green/eventloop/__init__.py |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.30 2022/11/21 20:09:01 adam Exp $ | 1 | $NetBSD: distinfo,v 1.31 2023/10/11 08:32:21 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pyzmq-24.0.1.tar.gz) = 5a69469410a26ce2885e515251c14b6d6a9022d65eabb0ece979df53f13632d7 | 3 | BLAKE2s (pyzmq-25.1.1.tar.gz) = cd40d27850a935b1c2b370757a389749b314432be321ac0eaecc3df37cd346a2 | |
4 | SHA512 (pyzmq-24.0.1.tar.gz) = 8adbcbd7afd05c00632a748b8b14bb69a89bbe3997f03dfe66a466829edf4ba4f2a5f3b199b3ead0629035c207d349e9238245e34708fd5b6eda53728d01bbf0 | 4 | SHA512 (pyzmq-25.1.1.tar.gz) = 68912a3f22530c933ec9c76037abfcebec0234e0f12d32268f15e6d3d7e8ec6357ef8ef6cd0c922d52ef706a589c5a1c5ca956b6238f1383174fdc760e5f6746 | |
5 | Size (pyzmq-24.0.1.tar.gz) = 1219822 bytes | 5 | Size (pyzmq-25.1.1.tar.gz) = 1365724 bytes | |
6 | SHA1 (patch-buildutils_detect.py) = 8d96f50e057b7b42d5f05c9c09c6665fac5bd4a5 | 6 | SHA1 (patch-buildutils_detect.py) = 8d96f50e057b7b42d5f05c9c09c6665fac5bd4a5 | |
7 | SHA1 (patch-setup.py) = be1d04bae34f1c6df97c52b03163bb7871767422 | 7 | SHA1 (patch-setup.py) = be1d04bae34f1c6df97c52b03163bb7871767422 |