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

Not able to build wheels for pyzmq #1926

Closed
Srinivas1043 opened this issue Feb 13, 2024 · 12 comments
Closed

Not able to build wheels for pyzmq #1926

Srinivas1043 opened this issue Feb 13, 2024 · 12 comments

Comments

@Srinivas1043
Copy link

What pyzmq version?

25.1.2

What libzmq version?

2

Python version (and how it was installed)

3.12.1

OS

Windows

What happened?

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

Code to reproduce bug

note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

Traceback, if applicable

note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

More info

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

@minrk
Copy link
Member

minrk commented Feb 15, 2024

Can you share the complete output from pyzmq's build and more info about your system? pyzmq has wheels for Python 3.12 on Windows, so presumably those should be used instead of building from source.

@minrk
Copy link
Member

minrk commented Feb 17, 2024

I've just published v26.0.0a1, if you'd like to try again with pip install --pre pyzmq and let me know what you find.

@Srinivas1043
Copy link
Author

Srinivas1043 commented Feb 17, 2024 via email

@minrk
Copy link
Member

minrk commented Mar 5, 2024

@Srinivas1043 have you made any progress on this?

@Srinivas1043
Copy link
Author

Srinivas1043 commented Mar 5, 2024 via email

@krassowski
Copy link

It looks like the latest pre-release (pyzmq-26.0.0b2) works well on CI: jupyterlab/jupyterlab#16009 (comment) (for Linux, whereas previous version fails due to compilation erros).

@Srinivas1043
Copy link
Author

Srinivas1043 commented Mar 21, 2024 via email

@minrk
Copy link
Member

minrk commented Mar 22, 2024

Good to know, thanks for testing and reporting back!

@minrk minrk closed this as completed Mar 22, 2024
@consideRatio
Copy link

I'm observing errors building wheels for Python 3.12 specifically in jupyterhub/jupyter-server-proxy and jupyterhub/nbgitpuller

https://github.com/jupyterhub/nbgitpuller/actions/runs/8472735361/job/23215482108?pr=345
jupyterhub/jupyter-server-proxy#450

@minrk
Copy link
Member

minrk commented Mar 28, 2024

@consideRatio that's because something in the environment is pinning down pyzmq. pyzmq 25.1 is the first release to support Python 3.12.

@consideRatio
Copy link

Ah, thanks @minrk - I'll look into it.

@minrk
Copy link
Member

minrk commented Mar 28, 2024

Looks like it's notebook 6 pinning down pyzmq, which means anything that depends on notebook<7 can't install on Python 3.12 for now: jupyter/notebook#7305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants