[Backport][v1.75.x][Python][Support 3.14] Enable Python 3.14 interpreters for distribtests#40637
Merged
sergiitk merged 5 commits intogrpc:v1.75.xfrom Sep 9, 2025
Conversation
…ts (grpc#40289) This PR adds Python 3.14 support for Distribtests by updating relevant docker images and distribtest build files for Linux, MacOS and Windows environments. However, artifact generation in distribtests will be enabled in the next PR grpc#40403 Prerequisites merged before this PR: - grpc#40317 - grpc#40354 - grpc#40383 Closes grpc#40289 COPYBARA_INTEGRATE_REVIEW=grpc#40289 from sreenithi:python_314_test_support 3b8bf96 PiperOrigin-RevId: 802967999
…pilation (grpc#40636) Backport of grpc#40354 to v1.75.x. --- This PR does the following: - Updates the base docker image used by the manylinux2014_aarch64 artifact build from a dockcross image that uses cross-compilation to a simple pypa image that doesn't require cross-compilation - Hence switch the manylinux2014_aarch64 build to run in an ARM64 machine without cross compiling. - We already have a '**Distribution Tests Python Linux Arm64**' job that runs on an ARM64 machine to build only `musllinux_aarch64` targets. - Updating the build process so that the manylinux2014_aarch64 target is also now built as part of the '**Distribution Tests Python Linux Arm64**' job instead of the '**Distribution Tests Python Linux**' job. This change cuts the execution time of the '**Distribution Tests Python Linux**' job significantly effectively reducing the total runtime by over 55% as shown below: - Previously the presubmit runs usually take about 75-90 minutes of runtime: [Example run from - Now the presubmit run-time has reduced to about 30-40 minutes: [Test run from this PR](https://btx.cloud.google.com/invocations/93602c73-228b-48e1-9bcc-059f51479887/targets) Given that the presubmit jobs building only a small subset of targets show such time improvement, the release job which currently builds many more aarch64 artifacts will also show significant execution time improvement going forward.
…ts (grpc#40289) This PR adds Python 3.14 support for Distribtests by updating relevant docker images and distribtest build files for Linux, MacOS and Windows environments. However, artifact generation in distribtests will be enabled in the next PR grpc#40403 Prerequisites merged before this PR: - grpc#40317 - grpc#40354 - grpc#40383 Closes grpc#40289 COPYBARA_INTEGRATE_REVIEW=grpc#40289 from sreenithi:python_314_test_support 3b8bf96 PiperOrigin-RevId: 802967999
Member
|
Forgot to click approve first. But yes, it's approved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #40289 to v1.75.x.
This PR adds Python 3.14 support for Distribtests by updating relevant docker images and distribtest build files for Linux, MacOS and Windows environments. However, artifact generation in distribtests will be enabled in the next PR #40403
Prerequisites merged before this PR: