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

damccorm pushed a commit to branch users/damccorm-repro-35816
in repository https://gitbox.apache.org/repos/asf/beam.git

commit d7b5a6b139c5f5aa2eb8c84da4659804523cabd2
Author: Mohamed Awnallah <[email protected]>
AuthorDate: Sun Sep 7 18:53:17 2025 +0000

    Revert "actions+sdks/python: upgrade pip"
    
    This reverts commit c8d88b02467f99ecbe31a56b88db510d81823c4a.
---
 .github/actions/setup-environment-action/action.yml | 7 -------
 sdks/python/tox.ini                                 | 2 ++
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/.github/actions/setup-environment-action/action.yml 
b/.github/actions/setup-environment-action/action.yml
index 6525103f83a..d5f1f879a07 100644
--- a/.github/actions/setup-environment-action/action.yml
+++ b/.github/actions/setup-environment-action/action.yml
@@ -56,13 +56,6 @@ runs:
           sdks/python/setup.py
           sdks/python/tox.ini
 
-    - name: Upgrade pip to latest version
-      if: ${{ inputs.python-version != '' }}
-      shell: bash
-      run: |
-        python -m pip install --upgrade pip
-        pip --version
-
     - name: Cache tox environments
       if: ${{ inputs.python-version != '' && inputs.tox-cache == 'true' }}
       uses: actions/cache@v3
diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index 3681665553c..f344cfc61cc 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -106,6 +106,7 @@ commands =
 [testenv:py{39,310,311}-ml]
 # Don't set TMPDIR to avoid "AF_UNIX path too long" errors in certain tests.
 deps =
+  pip==25.0.1
   accelerate>=1.6.0
   onnx<1.19.0
 setenv =
@@ -516,6 +517,7 @@ deps =
   latest: accelerate>=1.6.0
   tensorflow==2.12.0
   protobuf==4.25.5
+  pip==25.0.1
 extras = test,gcp,ml_test
 commands =
   # Log transformers and its dependencies version for debugging

Reply via email to