-
Notifications
You must be signed in to change notification settings - Fork 636
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
pip install ignores --install-option=--enable-drafts
#1500
Comments
Can you include the full output of pip install (including the echoed compile commands)? Is libzmq already installed with drafts enabled, or are you relying on pyzmq to build libzmq with drafts itself? |
I was able to reproduce this, and I think it's a bug in pip because ZMQ_DRAFT_API=1 pip install --no-binary pyzmq pyzmq==22.0.2 If there's a relevant change in pyzmq, it may be the addition of |
--install-option=--enable-drafts
Hello, sorry for the late reply. On windows, I set the Then, I run this command:
|
Same hell is here. Option Try to build and install
Hope this will help. |
A continuation of this issue: #1465
On the lastest versions of pyzmq, it seems that pyzmq doesn't recognize the
--enable-drafts
install option.How do I know this? Well, back in pyzmq version
19.0.2
, on MacOS, all you needed to use pyzmq was use this command:pip install pyzmq==19.0.2 -v --install-option=--enable-drafts
. This would take the libzmq homebrew installation and bundle it with pyzmq. You can find the full instructions I typed up here.I was able to test pyzmq draft functionality by:
if the above script prints out a number then we're good otherwise, we know pyzmq doesn't have drafts enabled.
In the latest versions of pyzmq, even if you run the exact same command as above (with the exact same libzmq homebrew installation), you will notice that both
zmq.RADIO
andzmq.DISH
return no number.It seems to me that an update between the current version and version
19.0.2
broke draft functionality in pyzmq.Edit: before, on windows 10, pyzmq installation with the
--enable-drafts
install option would flat out not even build successfully but due to #1481 mentioned by @minrk in #1465, that seems to be fixed. However, due to the aforementioned bug with pyzmq not recognizing the--enable-drafts
option with the latest versions of pyzmq, the test script above still doesn't give a number.The text was updated successfully, but these errors were encountered: