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

Not able to build wheels for pyzmq #1926

Closed Srinivas1043 closed 5 months ago

Srinivas1043 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

Sure. I will give this a try and let you know in a couple of days

On Sat, 17 Feb, 2024, 01:04 Min RK, @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/zeromq/pyzmq/issues/1926#issuecomment-1949506690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ3A5E3BNZ3TREIRSC2FX3YT7X2HAVCNFSM6AAAAABDG23JUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGUYDMNRZGA . You are receiving this because you authored the thread.Message ID: @.***>

minrk commented 6 months ago

@Srinivas1043 have you made any progress on this?

Srinivas1043 commented 6 months ago

I will certainly try this and get back to you/

On Tue, Mar 5, 2024 at 3:57 PM Min RK @.***> wrote:

@Srinivas1043 https://github.com/Srinivas1043 have you made any progress on this?

— Reply to this email directly, view it on GitHub https://github.com/zeromq/pyzmq/issues/1926#issuecomment-1978962382, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ3A5AFBOD22WEDN6EGAB3YWXMO7AVCNFSM6AAAAABDG23JUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYHE3DEMZYGI . You are receiving this because you were mentioned.Message ID: @.***>

-- sri

krassowski commented 5 months ago

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

Srinivas1043 commented 5 months ago

Thanks, works well for me now!

On Thu, Mar 21, 2024 at 8:46 PM Michał Krassowski @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/zeromq/pyzmq/issues/1926#issuecomment-2013525555, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ3A5A6KS3U5QTFXDQFLD3YZM2K5AVCNFSM6AAAAABDG23JUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJTGUZDKNJVGU . You are receiving this because you were mentioned.Message ID: @.***>

-- sri

minrk commented 5 months ago

Good to know, thanks for testing and reporting back!

consideRatio commented 5 months ago

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 https://github.com/jupyterhub/jupyter-server-proxy/pull/450

minrk commented 5 months ago

@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 commented 5 months ago

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

minrk commented 5 months ago

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: https://github.com/jupyter/notebook/pull/7305