[Fix][Python] Pin pip version to 25.2 in Python tests#40959
Closed
sreenithi wants to merge 1 commit intogrpc:masterfrom
Closed
[Fix][Python] Pin pip version to 25.2 in Python tests#40959sreenithi wants to merge 1 commit intogrpc:masterfrom
sreenithi wants to merge 1 commit intogrpc:masterfrom
Conversation
sergiitk
approved these changes
Oct 27, 2025
sreenithi
added a commit
to sreenithi/grpc
that referenced
this pull request
Nov 26, 2025
Pip released [v25.3](https://pip.pypa.io/en/stable/news/#v25-3) a few days back which doesn't support `setup.py` builds anymore, while we are yet to migrate to use the `pyproject.toml` build system in grpc#40833. Hence some of our Python tests using the most recent versions of pip for the build have started to fail with errors like: ``` ERROR: Failed building wheel for grpcio Failed to build grpcio error: failed-wheel-build-for-install × Failed to build installable wheels for some pyproject.toml based projects ``` This PR hence pins the pip version to 25.2 which still supports setup.py build until grpc#40833 is submitted. Closes grpc#40959 COPYBARA_INTEGRATE_REVIEW=grpc#40959 from sreenithi:pin_pip_version d72e056 PiperOrigin-RevId: 824584176
sreenithi
pushed a commit
to sreenithi/grpc
that referenced
this pull request
Nov 26, 2025
Python version not updated because the image build is broken by a runtime dependency issue. The fix grpc#40959 can't be backported retroactively to the tag. Closes grpc#40975 COPYBARA_INTEGRATE_REVIEW=grpc#40975 from sergiitk:interop-1.76.0 cd18cff PiperOrigin-RevId: 826173165
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.
Pip released v25.3 a few days back which doesn't support
setup.pybuilds anymore, while we are yet to migrate to use thepyproject.tomlbuild system in #40833.Hence some of our Python tests using the most recent versions of pip for the build have started to fail with errors like:
This PR hence pins the pip version to 25.2 which still supports setup.py build until #40833 is submitted.