This is an automated email from the ASF dual-hosted git repository.

shunping pushed a commit to branch revert-36745-unpinPip
in repository https://gitbox.apache.org/repos/asf/beam.git

commit c495ec823a570d56ad371b7faffdd22138f981b4
Author: Shunping Huang <[email protected]>
AuthorDate: Fri Dec 12 09:43:15 2025 -0500

    Revert "Unpin the pip version in setupVirtualenv (#36745)"
    
    This reverts commit 02743314acf81a390c7fb9305da585f5b0af0485.
---
 .github/trigger_files/beam_PreCommit_Python_ML.json                 | 4 ----
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy  | 6 +++++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/trigger_files/beam_PreCommit_Python_ML.json 
b/.github/trigger_files/beam_PreCommit_Python_ML.json
index 07d1fb88996..e69de29bb2d 100644
--- a/.github/trigger_files/beam_PreCommit_Python_ML.json
+++ b/.github/trigger_files/beam_PreCommit_Python_ML.json
@@ -1,4 +0,0 @@
-{
-  "comment": "Modify this file in a trivial way to cause this test suite to 
run.",
-  "modification": 0
-}
diff --git 
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy 
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index e8928ab885a..daa8ed85e52 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -3122,8 +3122,12 @@ class BeamModulePlugin implements Plugin<Project> {
           }
           project.exec {
             executable 'sh'
+            // TODO: https://github.com/apache/beam/issues/29022
+            // pip 23.3 is failing due to Hash mismatch between expected SHA 
of the packaged and actual SHA.
+            // until it is resolved on pip's side, don't use pip's cache.
+            // pip 25.1 casues :sdks:python:installGcpTest stuck. Pin to 
25.0.1 for now.
             args '-c', ". ${project.ext.envdir}/bin/activate && " +
-                "pip install --pre --retries 10 --upgrade pip --no-cache-dir 
&& " +
+                "pip install --pre --retries 10 --upgrade pip==25.0.1 
--no-cache-dir && " +
                 "pip install --pre --retries 10 --upgrade tox --no-cache-dir"
           }
         }

Reply via email to