pkgsrc/net/py-zmq
adam aaf5dd3543 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.
2022-11-21 20:09:01 +00:00
..
patches py-zmq: updated to 22.3.0 2021-11-14 20:17:08 +00:00
DESCR
distinfo py-zmq: updated to 24.0.1 2022-11-21 20:09:01 +00:00
Makefile py-zmq: updated to 24.0.1 2022-11-21 20:09:01 +00:00
PLIST py-zmq: updated to 24.0.1 2022-11-21 20:09:01 +00:00