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

Support for Python 3.12 #2030

Closed
1 task done
gy-mate opened this issue Sep 9, 2024 · 2 comments
Closed
1 task done

Support for Python 3.12 #2030

gy-mate opened this issue Sep 9, 2024 · 2 comments

Comments

@gy-mate
Copy link

gy-mate commented Sep 9, 2024

This is a pyzmq bug

  • This is a pyzmq-specific bug, not an issue of zmq socket behavior. Don't worry if you're not sure! We'll figure it out together.

What pyzmq version?

26.2.0

What libzmq version?

N/A

Python version (and how it was installed)

3.12.5 installed via Homebrew

OS

macOS 14.6.1

What happened?

See microsoft/azuredatastudio#25327 for details.

Code to reproduce bug

No response

Traceback, if applicable

No response

More info

No response

@minrk
Copy link
Member

minrk commented Sep 9, 2024

pyzmq has wheels for arm macs up to and including the upcoming Python 3.13. What version of pyzmq are you trying to install, and what is the output? There is no such information for macs in the linked issue, which is mostly about Windows, so there aren't any useful details there.

In the linked issue, all I see is someone trying to install pyzmq 24.0.1, which is too old for Python 3.12. Make sure you are installing pyzmq>=25.1.1 for 3.12 support.

This works (arm mac, 14.6.1):

> brew install python@3.12
> /opt/homebrew/bin/python3.12 -m venv /tmp/testenv
> /tmp/testenv/bin/pip install pyzmq
Collecting pyzmq
  Downloading pyzmq-26.2.0-cp312-cp312-macosx_10_15_universal2.whl.metadata (6.2 kB)
Downloading pyzmq-26.2.0-cp312-cp312-macosx_10_15_universal2.whl (1.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 31.9 MB/s eta 0:00:00
Installing collected packages: pyzmq
Successfully installed pyzmq-26.2.0

If you're getting a different pyzmq version, check what package is pinning it down, because that's the source of the problem, not pyzmq.

@gy-mate
Copy link
Author

gy-mate commented Sep 10, 2024

In the linked issue, all I see is someone trying to install pyzmq 24.0.1, which is too old for Python 3.12. Make sure you are installing pyzmq>=25.1.1 for 3.12 support.

Thank you very much, I think this is the issue!

@gy-mate gy-mate closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
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

2 participants