Skip to content

[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
sreenithi:backport-1.75-python_314_test_support
Sep 9, 2025
Merged

[Backport][v1.75.x][Python][Support 3.14] Enable Python 3.14 interpreters for distribtests#40637
sergiitk merged 5 commits intogrpc:v1.75.xfrom
sreenithi:backport-1.75-python_314_test_support

Conversation

@sreenithi
Copy link
Contributor

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:

…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
@sreenithi sreenithi self-assigned this Sep 8, 2025
@sreenithi sreenithi requested a review from sergiitk as a code owner September 8, 2025 07:17
@sreenithi sreenithi added the release notes: no Indicates if PR should not be in release notes label Sep 8, 2025
…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
@sergiitk sergiitk merged commit d382f40 into grpc:v1.75.x Sep 9, 2025
58 of 60 checks passed
@sergiitk
Copy link
Member

sergiitk commented Sep 9, 2025

Forgot to click approve first. But yes, it's approved.

@sergiitk sergiitk added this to the Python 3.14 support milestone Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants