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

Python 3.11 Support #1697

Closed
blink1073 opened this issue May 9, 2022 · 7 comments
Closed

Python 3.11 Support #1697

blink1073 opened this issue May 9, 2022 · 7 comments

Comments

@blink1073
Copy link
Contributor

blink1073 commented May 9, 2022

I tried to enable Python 3.11 beta for jupyter_server, but got this error when building pyzmq:

             gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHAVE_SYS_UN_H=1 -Ibundled/zeromq/include -Izmq/utils -I/opt/hostedtoolcache/Python/3.11.0-beta.1/x64/include/python3.11 -c zmq/backend/cython/_device.c -o build/temp.linux-x86_64-cpython-311/zmq/backend/cython/_device.o
            zmq/backend/cython/_device.c:217:12: fatal error: longintrepr.h: No such file or directory
              217 |   #include "longintrepr.h"
                  |            ^~~~~~~~~~~~~~~
            compilation terminated.
            error: command '/usr/bin/gcc' failed with exit code 1
            [end of output]

FWIW it looks like that file still exists

@minrk
Copy link
Member

minrk commented May 9, 2022

I've been waiting for Cython 0.29.29 to fix the 3.11 builds, but I'm going to make a prerelease with #1696 since that's been taking a while

@blink1073
Copy link
Contributor Author

Ah, thanks! Yeah it makes sense for us to target Python 3.11 only in our prerelease job.

@minrk
Copy link
Member

minrk commented May 9, 2022

23.0.0b2 is up and should build on 3.11 (at least it does in CI here)

@blink1073
Copy link
Contributor Author

In progress

@minrk
Copy link
Member

minrk commented May 18, 2022

Going to release 23.0 after #1700, now that Cython has a stable release with CPython 3.11 support. It'll still need to compile, but at least a stable release should work. cibuildwheel should have 3.11 support shortly, and I'll publish 3.11 wheels as soon as they are allowed.

@blink1073
Copy link
Contributor Author

Great!

@minrk
Copy link
Member

minrk commented May 19, 2022

23.0 is up

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