pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-zmq



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 11 08:32:21 UTC 2023

Modified Files:
        pkgsrc/net/py-zmq: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/net/py-zmq/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/py-zmq/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/net/py-zmq/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-zmq/Makefile
diff -u pkgsrc/net/py-zmq/Makefile:1.38 pkgsrc/net/py-zmq/Makefile:1.39
--- pkgsrc/net/py-zmq/Makefile:1.38     Mon Nov 21 20:09:01 2022
+++ pkgsrc/net/py-zmq/Makefile  Wed Oct 11 08:32:21 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2022/11/21 20:09:01 adam Exp $
+# $NetBSD: Makefile,v 1.39 2023/10/11 08:32:21 adam Exp $
 
-DISTNAME=      pyzmq-24.0.1
+DISTNAME=      pyzmq-25.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyzmq/}
@@ -20,6 +20,9 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 
 PYSETUPBUILDARGS+=     --zmq=${BUILDLINK_PREFIX.zeromq:Q}
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../net/zeromq/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-zmq/PLIST
diff -u pkgsrc/net/py-zmq/PLIST:1.17 pkgsrc/net/py-zmq/PLIST:1.18
--- pkgsrc/net/py-zmq/PLIST:1.17        Mon Nov 21 20:09:01 2022
+++ pkgsrc/net/py-zmq/PLIST     Wed Oct 11 08:32:21 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2022/11/21 20:09:01 adam Exp $
+@comment $NetBSD: PLIST,v 1.18 2023/10/11 08:32:21 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -129,42 +129,6 @@ ${PYSITELIB}/zmq/eventloop/future.pyo
 ${PYSITELIB}/zmq/eventloop/ioloop.py
 ${PYSITELIB}/zmq/eventloop/ioloop.pyc
 ${PYSITELIB}/zmq/eventloop/ioloop.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/__init__.py
-${PYSITELIB}/zmq/eventloop/minitornado/__init__.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/__init__.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/concurrent.py
-${PYSITELIB}/zmq/eventloop/minitornado/concurrent.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/concurrent.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/ioloop.py
-${PYSITELIB}/zmq/eventloop/minitornado/ioloop.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/ioloop.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/log.py
-${PYSITELIB}/zmq/eventloop/minitornado/log.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/log.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/platform/__init__.py
-${PYSITELIB}/zmq/eventloop/minitornado/platform/__init__.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/platform/__init__.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/platform/auto.py
-${PYSITELIB}/zmq/eventloop/minitornado/platform/auto.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/platform/auto.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/platform/common.py
-${PYSITELIB}/zmq/eventloop/minitornado/platform/common.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/platform/common.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/platform/interface.py
-${PYSITELIB}/zmq/eventloop/minitornado/platform/interface.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/platform/interface.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/platform/posix.py
-${PYSITELIB}/zmq/eventloop/minitornado/platform/posix.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/platform/posix.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/platform/windows.py
-${PYSITELIB}/zmq/eventloop/minitornado/platform/windows.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/platform/windows.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/stack_context.py
-${PYSITELIB}/zmq/eventloop/minitornado/stack_context.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/stack_context.pyo
-${PYSITELIB}/zmq/eventloop/minitornado/util.py
-${PYSITELIB}/zmq/eventloop/minitornado/util.pyc
-${PYSITELIB}/zmq/eventloop/minitornado/util.pyo
 ${PYSITELIB}/zmq/eventloop/zmqstream.py
 ${PYSITELIB}/zmq/eventloop/zmqstream.pyc
 ${PYSITELIB}/zmq/eventloop/zmqstream.pyo

Index: pkgsrc/net/py-zmq/distinfo
diff -u pkgsrc/net/py-zmq/distinfo:1.30 pkgsrc/net/py-zmq/distinfo:1.31
--- pkgsrc/net/py-zmq/distinfo:1.30     Mon Nov 21 20:09:01 2022
+++ pkgsrc/net/py-zmq/distinfo  Wed Oct 11 08:32:21 2023
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.30 2022/11/21 20:09:01 adam Exp $
+$NetBSD: distinfo,v 1.31 2023/10/11 08:32:21 adam Exp $
 
-BLAKE2s (pyzmq-24.0.1.tar.gz) = 5a69469410a26ce2885e515251c14b6d6a9022d65eabb0ece979df53f13632d7
-SHA512 (pyzmq-24.0.1.tar.gz) = 8adbcbd7afd05c00632a748b8b14bb69a89bbe3997f03dfe66a466829edf4ba4f2a5f3b199b3ead0629035c207d349e9238245e34708fd5b6eda53728d01bbf0
-Size (pyzmq-24.0.1.tar.gz) = 1219822 bytes
+BLAKE2s (pyzmq-25.1.1.tar.gz) = cd40d27850a935b1c2b370757a389749b314432be321ac0eaecc3df37cd346a2
+SHA512 (pyzmq-25.1.1.tar.gz) = 68912a3f22530c933ec9c76037abfcebec0234e0f12d32268f15e6d3d7e8ec6357ef8ef6cd0c922d52ef706a589c5a1c5ca956b6238f1383174fdc760e5f6746
+Size (pyzmq-25.1.1.tar.gz) = 1365724 bytes
 SHA1 (patch-buildutils_detect.py) = 8d96f50e057b7b42d5f05c9c09c6665fac5bd4a5
 SHA1 (patch-setup.py) = be1d04bae34f1c6df97c52b03163bb7871767422



Home | Main Index | Thread Index | Old Index