Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation libzmq version typo #1778

Closed
bmcdonald3 opened this issue Sep 21, 2022 · 2 comments
Closed

Documentation libzmq version typo #1778

bmcdonald3 opened this issue Sep 21, 2022 · 2 comments
Labels

Comments

@bmcdonald3
Copy link

bmcdonald3 commented Sep 21, 2022

Looking at the documentation, I am seeing that libzmq versions (≥ 3.2.2, ≥ 4.0.1 ) are supported (https://pyzmq.readthedocs.io/en/latest/#supported-libzmq), but am seeing zmq.error.ZMQVersionError: zmq.has requires libzmq >= 4.1, have 4.0.4 on my machine. This is confusing to me, since this fits the constraints of the docs, but is being displayed as an error.

Is this a typo with the documentation or a mischecking by the error? (possibly 4.1.0 was meant, instead of 4.0.1 in the docs?)

Edit:
This is pyzmq version 24.0.1 (did not see this error on 24.0.0)

@minrk
Copy link
Member

minrk commented Sep 21, 2022

This is not a typo. zmq.has is a binding for libzmq's zmq_has, which was introduced in libzmq 4.1. PyZMQ builds against lots of different libzmq versions, but the features available depend on the underlying libzmq.

@minrk
Copy link
Member

minrk commented Sep 21, 2022

What's zmq.zmq_version() in your 24.0.0 and 24.0.1 installs? 4.0 is 8 years out of date, so it's a bit surprising to see it in 2022.

@minrk minrk added the docs label Oct 3, 2022
@minrk minrk closed this as completed Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants