pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-zmq py-zmq: updated to 23.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fca53ac01593
branches:  trunk
changeset: 380492:fca53ac01593
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jun 07 16:23:04 2022 +0000

description:
py-zmq: updated to 23.1.0

23.1.0

Fixing some regressions in 23.0:

- Fix global name of `zmq.EVENT_HANDSHAKE_*` constants
- Fix constants missing when using `import zmq.green as zmq`

Compatibility fixes:

- {func}`zmq.utils.monitor.recv_monitor_msg` now supports async Sockets.
- Fix build with mingw

23.0.0

Changes:

- 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

Compatibility fixes:

- 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

Maintenance changes:

- Switch to myst for docs
- Deprecate `zmq.utils.strtypes`, now unused
- Updates to autoformatting, linting
- New wheels for PyPy 3.9
- Manylinux wheels for CPython 3.10 are based on manylinux2014

diffstat:

 net/py-zmq/Makefile |   5 ++---
 net/py-zmq/PLIST    |  22 +++++++---------------
 net/py-zmq/distinfo |   8 ++++----
 3 files changed, 13 insertions(+), 22 deletions(-)

diffs (111 lines):

diff -r e5f27a6e1199 -r fca53ac01593 net/py-zmq/Makefile
--- a/net/py-zmq/Makefile       Tue Jun 07 15:24:25 2022 +0000
+++ b/net/py-zmq/Makefile       Tue Jun 07 16:23:04 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2022/01/04 20:54:34 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2022/06/07 16:23:04 adam Exp $
 
-DISTNAME=      pyzmq-22.3.0
+DISTNAME=      pyzmq-23.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-PKGREVISION=   1
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyzmq/}
 
diff -r e5f27a6e1199 -r fca53ac01593 net/py-zmq/PLIST
--- a/net/py-zmq/PLIST  Tue Jun 07 15:24:25 2022 +0000
+++ b/net/py-zmq/PLIST  Tue Jun 07 16:23:04 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2021/11/14 20:17:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2022/06/07 16:23:04 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -13,6 +13,9 @@
 ${PYSITELIB}/zmq/_future.py
 ${PYSITELIB}/zmq/_future.pyc
 ${PYSITELIB}/zmq/_future.pyo
+${PYSITELIB}/zmq/_typing.py
+${PYSITELIB}/zmq/_typing.pyc
+${PYSITELIB}/zmq/_typing.pyo
 ${PYSITELIB}/zmq/asyncio.py
 ${PYSITELIB}/zmq/asyncio.pyc
 ${PYSITELIB}/zmq/asyncio.pyo
@@ -45,9 +48,6 @@
 ${PYSITELIB}/zmq/backend/cffi/_poll.py
 ${PYSITELIB}/zmq/backend/cffi/_poll.pyc
 ${PYSITELIB}/zmq/backend/cffi/_poll.pyo
-${PYSITELIB}/zmq/backend/cffi/constants.py
-${PYSITELIB}/zmq/backend/cffi/constants.pyc
-${PYSITELIB}/zmq/backend/cffi/constants.pyo
 ${PYSITELIB}/zmq/backend/cffi/context.py
 ${PYSITELIB}/zmq/backend/cffi/context.pyc
 ${PYSITELIB}/zmq/backend/cffi/context.pyo
@@ -66,7 +66,6 @@
 ${PYSITELIB}/zmq/backend/cffi/utils.py
 ${PYSITELIB}/zmq/backend/cffi/utils.pyc
 ${PYSITELIB}/zmq/backend/cffi/utils.pyo
-${PYSITELIB}/zmq/backend/constants.pyi
 ${PYSITELIB}/zmq/backend/cython/__init__.pxd
 ${PYSITELIB}/zmq/backend/cython/__init__.py
 ${PYSITELIB}/zmq/backend/cython/__init__.pyc
@@ -77,8 +76,6 @@
 ${PYSITELIB}/zmq/backend/cython/_version.so
 ${PYSITELIB}/zmq/backend/cython/checkrc.pxd
 ${PYSITELIB}/zmq/backend/cython/constant_enums.pxi
-${PYSITELIB}/zmq/backend/cython/constants.pxi
-${PYSITELIB}/zmq/backend/cython/constants.so
 ${PYSITELIB}/zmq/backend/cython/context.pxd
 ${PYSITELIB}/zmq/backend/cython/context.so
 ${PYSITELIB}/zmq/backend/cython/error.so
@@ -91,6 +88,9 @@
 ${PYSITELIB}/zmq/backend/select.py
 ${PYSITELIB}/zmq/backend/select.pyc
 ${PYSITELIB}/zmq/backend/select.pyo
+${PYSITELIB}/zmq/constants.py
+${PYSITELIB}/zmq/constants.pyc
+${PYSITELIB}/zmq/constants.pyo
 ${PYSITELIB}/zmq/decorators.py
 ${PYSITELIB}/zmq/decorators.pyc
 ${PYSITELIB}/zmq/decorators.pyo
@@ -215,10 +215,6 @@
 ${PYSITELIB}/zmq/sugar/attrsettr.py
 ${PYSITELIB}/zmq/sugar/attrsettr.pyc
 ${PYSITELIB}/zmq/sugar/attrsettr.pyo
-${PYSITELIB}/zmq/sugar/constants.py
-${PYSITELIB}/zmq/sugar/constants.pyc
-${PYSITELIB}/zmq/sugar/constants.pyi
-${PYSITELIB}/zmq/sugar/constants.pyo
 ${PYSITELIB}/zmq/sugar/context.py
 ${PYSITELIB}/zmq/sugar/context.pyc
 ${PYSITELIB}/zmq/sugar/context.pyo
@@ -354,9 +350,6 @@
 ${PYSITELIB}/zmq/utils/buffers.pxd
 ${PYSITELIB}/zmq/utils/compiler.json
 ${PYSITELIB}/zmq/utils/config.json
-${PYSITELIB}/zmq/utils/constant_names.py
-${PYSITELIB}/zmq/utils/constant_names.pyc
-${PYSITELIB}/zmq/utils/constant_names.pyo
 ${PYSITELIB}/zmq/utils/garbage.py
 ${PYSITELIB}/zmq/utils/garbage.pyc
 ${PYSITELIB}/zmq/utils/garbage.pyo
@@ -383,4 +376,3 @@
 ${PYSITELIB}/zmq/utils/z85.pyc
 ${PYSITELIB}/zmq/utils/z85.pyo
 ${PYSITELIB}/zmq/utils/zmq_compat.h
-${PYSITELIB}/zmq/utils/zmq_constants.h
diff -r e5f27a6e1199 -r fca53ac01593 net/py-zmq/distinfo
--- a/net/py-zmq/distinfo       Tue Jun 07 15:24:25 2022 +0000
+++ b/net/py-zmq/distinfo       Tue Jun 07 16:23:04 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.26 2021/11/14 20:17:08 adam Exp $
+$NetBSD: distinfo,v 1.27 2022/06/07 16:23:04 adam Exp $
 
-BLAKE2s (pyzmq-22.3.0.tar.gz) = ab7fd4f2a1284759cc11ef22347ff4e250385fdf6116ad1dc75598c762b11b90
-SHA512 (pyzmq-22.3.0.tar.gz) = a822262ce70e822ea7ac31f458357f61d53b6c24e3482b7f8d222b8c3ace54e4bdb04aff787be07791670f295d6c40d8482fd1a05b87cfe658bf5562da41dcf5
-Size (pyzmq-22.3.0.tar.gz) = 1243520 bytes
+BLAKE2s (pyzmq-23.1.0.tar.gz) = d7c366104e58be9a8148e62e6022912ed4e9c6b6cb90d130b15cfdda63452e5a
+SHA512 (pyzmq-23.1.0.tar.gz) = 4ffd65815d9d6540614e925da41c6a94e6098f9ddf4191c65f31ddc34dc102795ba7111a09d73b9424a393b019ba98cc39ae3c5a603ee0cd199608f7a1099b0a
+Size (pyzmq-23.1.0.tar.gz) = 1216153 bytes
 SHA1 (patch-buildutils_detect.py) = 8d96f50e057b7b42d5f05c9c09c6665fac5bd4a5
 SHA1 (patch-setup.py) = be1d04bae34f1c6df97c52b03163bb7871767422



Home | Main Index | Thread Index | Old Index