This is an automated email from the ASF dual-hosted git repository.
shunping pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 8a4a69e6ae9 Repin pip to 2.50.1 to fix hanging yaml xlang workflow
(#37092)
8a4a69e6ae9 is described below
commit 8a4a69e6ae92d91ebd609745d8ba0c8168c051fb
Author: Shunping Huang <[email protected]>
AuthorDate: Fri Dec 12 13:27:01 2025 -0500
Repin pip to 2.50.1 to fix hanging yaml xlang workflow (#37092)
* Revert "Unpin the pip version in setupVirtualenv (#36745)"
This reverts commit 02743314acf81a390c7fb9305da585f5b0af0485.
* Trigger previously failed workflow.
---
.github/trigger_files/beam_PreCommit_Python_ML.json | 4 ----
.github/trigger_files/beam_PreCommit_Yaml_Xlang_Direct.json | 4 ++++
.../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 6 +++++-
3 files changed, 9 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/.github/trigger_files/beam_PreCommit_Yaml_Xlang_Direct.json
b/.github/trigger_files/beam_PreCommit_Yaml_Xlang_Direct.json
new file mode 100644
index 00000000000..616d37428c0
--- /dev/null
+++ b/.github/trigger_files/beam_PreCommit_Yaml_Xlang_Direct.json
@@ -0,0 +1,4 @@
+{
+ "comment": "Modify this file in a trivial way to cause this test suite to
run",
+ "revision": 1
+}
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"
}
}