zeromq / pyzmq

PyZMQ: Python bindings for zeromq
http://zguide.zeromq.org/py:all
BSD 3-Clause "New" or "Revised" License
3.65k stars 637 forks source link

bundle libzmq 4.3.5 #1903

Closed minrk closed 6 months ago

minrk commented 10 months ago

libzmq no longer supports binaries for Windows, and has removed support for tweetnacl.

This may mean that Windows wheels will lose CURVE, or we have to get binaries elsehwere, or run our own builds of libzmq to bundle, which I suspect would be highly likely to get the wrong DLL dependency bundling.

Maybe related to #1902 since windows arm builds ought to work, I think?

minrk commented 8 months ago

Increasingly, I think the way we do bundling should change due to this, but what we have now is so brittle and works in so many untestable cases that I dread it.

I think:

  1. it should download and install libsodium and libzmq, not bundle sources
  2. those installers should use their own installation scripts (./configure or cmake), not setup.py
  3. (maybe) take the opportunity to move to a modern build tool, like scikit-build-core or meson.

Pros:

Cons: