-
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.12 Support #33063
Comments
|
We're still working on this, we'll have official support before Python3.12 official release. |
|
Thanks for the quick reply! Looking forward to the official release. The reason I need python3.12 is that I want to try the new feature of support for the Linux perf profiler |
10 tasks
This was referenced Jun 20, 2023
gnossen
pushed a commit
that referenced
this issue
Jun 21, 2023
In the HTTP(S) test server in the core tests, use `ssl.SSLContext.wrap_socket`, not `ssl.wrap_socket`. The latter emits a `DeprecationWarning` since Python 3.10 and is [removed in Python 3.12](python/cpython#94199). This fixes the core tests (but not necessarily the `grpcio` tests) for Python 3.12. This is relevant to #33063.
5 tasks
8 tasks
gnossen
pushed a commit
that referenced
this issue
Sep 6, 2023
…33506) This API was [removed in Python 3.12](python/cpython#98040). Fixes Python 3.12 support in `grpcio` tests. This is relevant to #33063. See also #33492. ---- I have actually only tested this in a form backported to grpc 1.48.4, and I am not able to test the change to `bazel/_gevent_test_main.py` directly. However, the backported form allows me to build grpc 1.48.4 for Fedora Rawhide with Python 3.12, and I believe the version in this PR to be correct—especially, if CI passes for Python 3.11, I believe this part of the test code will continue to work in Python 3.12.
|
Resolved by #34398 ? |
|
Yup. Resolved by #34398 |
antoninbas
added a commit
to antoninbas/p4c
that referenced
this issue
Nov 10, 2023
The fedora:latest container now comes with Python 3.12. Older gRPC versions do not support this Python version. See grpc/grpc#33063. An alternative would be to pin the fedora container version, but then someone has to remember to update it periodically... Signed-off-by: Antonin Bas <antonin.bas@gmail.com>
antoninbas
added a commit
to antoninbas/p4c
that referenced
this issue
Nov 10, 2023
The fedora:latest container now comes with Python 3.12. Older gRPC versions do not support this Python version. See grpc/grpc#33063. An alternative would be to pin the fedora container version, but then someone has to remember to update it periodically... Signed-off-by: Antonin Bas <antonin.bas@gmail.com>
antoninbas
added a commit
to antoninbas/p4c
that referenced
this issue
Nov 10, 2023
The fedora:latest container now comes with Python 3.12. Older gRPC versions do not support this Python version. See grpc/grpc#33063. An alternative would be to pin the fedora container version, but then someone has to remember to update it periodically... Signed-off-by: Antonin Bas <antonin.bas@gmail.com>
antoninbas
added a commit
to antoninbas/p4c
that referenced
this issue
Nov 10, 2023
The fedora:latest container now comes with Python 3.12. Older gRPC versions do not support this Python version. See grpc/grpc#33063. An alternative would be to pin the fedora container version, but then someone has to remember to update it periodically... Signed-off-by: Antonin Bas <antonin.bas@gmail.com>
antoninbas
added a commit
to p4lang/p4c
that referenced
this issue
Nov 10, 2023
* Update gRPC python version in install_fedora_deps.sh The fedora:latest container now comes with Python 3.12. Older gRPC versions do not support this Python version. See grpc/grpc#33063. An alternative would be to pin the fedora container version, but then someone has to remember to update it periodically... * Update scapy from 2.4.5 to 2.5.0 Required for more recent versions of Python3 * Fix usage of tempfile.mkdir Changed in Python version 3.12: mkdtemp() now always returns an absolute path, even if dir is relative. Signed-off-by: Antonin Bas <antonin.bas@gmail.com>
16 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of gRPC and what language are you using?
Python 3.12.0a7
grpcio 1.53.0, 1.54.0
What operating system (Linux, Windows,...) and version?
in a container: Debian GNU/Linux 11 (bullseye)
What runtime / compiler are you using (e.g. python version or version of gcc)
python 3.12.0a7
What did you do?
pip install grpcio==1.54.0
What did you expect to see?
A successful install.
What did you see instead?
can't find the related wheel, so begin to build from the downloaded source code , but failed:
part of the error log:
Anything else we should know about your project / environment?
Couldn't find the grpcio wheels for python3.12 in here: https://pypi.org/project/grpcio/#files
The text was updated successfully, but these errors were encountered: