-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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 #30303
Comments
Very similar issues on the latest versions at time of writing. Dockerfile:
|
Just a heads up that Python 3.11 out on 2022-10-03 -- in one month -- but rc builds are already available.
https://www.python.org/downloads/release/python-3110rc1/ I see a few places in this codebase where 3.11 may need to be added:
And when I tried to build on windows 11 it also failed. Maybe I Need pthread, but there's also some other errors 🤔 Thank you grpc maintainers! Looking forward to the nice 3.11 speedups once we get wheels & builds available! |
I'm working on adding this support at the moment. Sorry for the wait there. We're working on automation to make this process speedier in the future given that Python releases are now once a year. Oddly, I don't seem to be running into the compilation error referenced:
I would expect this to be resolved by a fix in Cython, but I have not updated our Cython version pin. I am using rc1 instead of beta4, so that could be the issue. Any idea what the difference might be? If it's not obvious, I'll try to reproduce using the Dockerfile provided by @fredrikaverpil |
This is the fix in cython cython/cython#4584 It seems likely to be only fixed in the 3.x version of cython. I am encountering this in python 3.11.0rc1, so I am surprised you are not. |
Well, as long as the artifacts build properly against 3.11, I suppose we're fine. 3.11 will be supported in 1.49.0, which is going out in the next couple of days. |
Is your feature request related to a problem? Please describe.
Currently, grpcio does not build from source with Python 3.11.0b4.
Describe the solution you'd like
I'd like to be able to install grpcio in Python 3.11.
Describe alternatives you've considered
Well...
Additional context
Dockerfile
and full build log here.Potentially related: #30272
The text was updated successfully, but these errors were encountered: