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.12] Support Python 3.12 #34398

Merged
merged 15 commits into from
Sep 22, 2023
Merged

Conversation

XuanWang-Amos
Copy link
Contributor

@XuanWang-Amos XuanWang-Amos commented Sep 18, 2023

Support Python 3.12.

Testing

  • Passed all Distribution Tests.
  • Also tested locally by installing 3.12 artifact.

Copy link
Contributor

@gnossen gnossen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing job, Xuan! Thanks for making this happen!

@@ -19,9 +19,19 @@ set PATH=C:\%1;C:\%1\scripts;%PATH%
set PATH=C:\msys64\mingw%2\bin;C:\tools\msys64\mingw%2\bin;%PATH%
:end_mingw64_installation

@rem check if building for Python3.7 in windows
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Let's remove this when we drop 3.7 (which should be soon)

@XuanWang-Amos XuanWang-Amos merged commit ffdb58d into grpc:master Sep 22, 2023
70 of 72 checks passed
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Sep 22, 2023
@rcodescu
Copy link

Does older grpcio versions support python3.12 as well? Any version older than 1.59 doesn't have a wheel built and building from source is still failing. I'm trying with the python3.12-alpine3.18 docker image.

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Feb 9, 2024
https://build.opensuse.org/request/show/1145435
by user anag+factory
- update to 1.60.1:
  * Revert change to print backtrace in server
- Update to version 1.60.0:
  * No python specfic changes.
- Add patches for embeeded xxhash 0.8.1 from SLE's xxhash package.
- Add xxhash-ppc64le-gcc7.patch: fix build failure on ppc64le
  when using gcc 7 (boo#1208794).
- add patch xxhash-avoid-armv6-unaligned-access.patch
  do not expect unaligned accesses to work on armv6, it breaks
  in our build setup using aarch64 kernels
- Update to version 1.59.2:
  * No python specific changes.
- Update to version 1.59.0:
  * [Python 3.12] Support Python 3.12 (gh#grpc/grpc#34398).
  * [Python 3.12] Deprecate distutil (gh#grpc/grpc#34186).
- Add minimum required versions for Cython, wheel and abseil-cpp.
- Update to version 1.58.0:
  * [Bazel] Enable grpcio-reflection to be used via
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloat/none imported Specifies if the PR has been imported to the internal repository lang/Python per-call-memory/neutral per-channel-memory/neutral release notes: yes Indicates if PR needs to be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants