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 24.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fecabb210275
branches:  trunk
changeset: 388509:fecabb210275
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 21 20:09:01 2022 +0000

description:
py-zmq: updated to 24.0.1

24.0.1

- Fix several possible resource warnings and deprecation warnings
  when cleaning up contexts and sockets,
  especially in pyzmq's own tests and when implicit teardown of objects is happening during process teardown.

24.0.0

pyzmq 24 has two breaking changes (one only on Windows), though they are not likely to affect most users.

Breaking changes:

- Due to a libzmq bug causing unavoidable crashes for some users,
  Windows wheels no longer bundle libzmq with AF_UNIX support.
  In order to enable AF_UNIX on Windows, pyzmq must be built from source,
  linking an appropriate build of libzmq (e.g. `libzmq-v142`).
  AF_UNIX support will be re-enabled in pyzmq wheels
  when libzmq published fixed releases.

- Using a {class}`zmq.Context` as a context manager or deleting a context without closing it now calls {meth}`zmq.Context.destroy` at exit instead of {meth}`zmq.Context.term`.
  This will have little effect on most users,
  but changes what happens when user bugs result in a context being _implicitly_ destroyed while sockets are left open.
  In almost all cases, this will turn what used to be a hang into a warning.
  However, there may be some cases where sockets are actively used in threads,
  which could result in a crash.
  To use sockets across threads, it is critical to properly and explicitly close your contexts and sockets,
  which will always avoid this issue.

diffstat:

 net/py-zmq/Makefile |  4 ++--
 net/py-zmq/PLIST    |  3 ++-
 net/py-zmq/distinfo |  8 ++++----
 3 files changed, 8 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r fad44cb62f8b -r fecabb210275 net/py-zmq/Makefile
--- a/net/py-zmq/Makefile       Mon Nov 21 20:06:08 2022 +0000
+++ b/net/py-zmq/Makefile       Mon Nov 21 20:09:01 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2022/08/18 16:51:37 adam Exp $
+# $NetBSD: Makefile,v 1.38 2022/11/21 20:09:01 adam Exp $
 
-DISTNAME=      pyzmq-23.2.1
+DISTNAME=      pyzmq-24.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyzmq/}
diff -r fad44cb62f8b -r fecabb210275 net/py-zmq/PLIST
--- a/net/py-zmq/PLIST  Mon Nov 21 20:06:08 2022 +0000
+++ b/net/py-zmq/PLIST  Mon Nov 21 20:09:01 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2022/07/02 09:31:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2022/11/21 20:09:01 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -242,6 +242,7 @@
 ${PYSITELIB}/zmq/tests/conftest.py
 ${PYSITELIB}/zmq/tests/conftest.pyc
 ${PYSITELIB}/zmq/tests/conftest.pyo
+${PYSITELIB}/zmq/tests/cython_ext.pyx
 ${PYSITELIB}/zmq/tests/test_asyncio.py
 ${PYSITELIB}/zmq/tests/test_asyncio.pyc
 ${PYSITELIB}/zmq/tests/test_asyncio.pyo
diff -r fad44cb62f8b -r fecabb210275 net/py-zmq/distinfo
--- a/net/py-zmq/distinfo       Mon Nov 21 20:06:08 2022 +0000
+++ b/net/py-zmq/distinfo       Mon Nov 21 20:09:01 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.29 2022/08/18 16:51:37 adam Exp $
+$NetBSD: distinfo,v 1.30 2022/11/21 20:09:01 adam Exp $
 
-BLAKE2s (pyzmq-23.2.1.tar.gz) = 6c5c6490fb8289291264ee7cea5f98f9dad86b3245df9c8d07406db76b0b9ae2
-SHA512 (pyzmq-23.2.1.tar.gz) = c8f2dc858076641a219ea37af91ad4a15ee811e8d2095b0337d414cc702eaf90ee4d6280bda7800667828dffaedcdb026553262d5473f9fb70bbd17c17b248f4
-Size (pyzmq-23.2.1.tar.gz) = 1218264 bytes
+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
 SHA1 (patch-buildutils_detect.py) = 8d96f50e057b7b42d5f05c9c09c6665fac5bd4a5
 SHA1 (patch-setup.py) = be1d04bae34f1c6df97c52b03163bb7871767422



Home | Main Index | Thread Index | Old Index