Skip to content

Commit c8d88b0

Browse files
actions+sdks/python: upgrade pip
1 parent ab93ebb commit c8d88b0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/actions/setup-environment-action/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ runs:
5656
sdks/python/setup.py
5757
sdks/python/tox.ini
5858
59+
- name: Upgrade pip to latest version
60+
if: ${{ inputs.python-version != '' }}
61+
shell: bash
62+
run: |
63+
python -m pip install --upgrade pip
64+
pip --version
65+
5966
- name: Cache tox environments
6067
if: ${{ inputs.python-version != '' && inputs.tox-cache == 'true' }}
6168
uses: actions/cache@v3

sdks/python/tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ commands =
106106
[testenv:py{39,310,311}-ml]
107107
# Don't set TMPDIR to avoid "AF_UNIX path too long" errors in certain tests.
108108
deps =
109-
pip==25.0.1
110109
accelerate>=1.6.0
111110
setenv =
112111
extras = test,gcp,dataframe,ml_test
@@ -516,7 +515,6 @@ deps =
516515
latest: accelerate>=1.6.0
517516
tensorflow==2.12.0
518517
protobuf==4.25.5
519-
pip==25.0.1
520518
extras = test,gcp,ml_test
521519
commands =
522520
# Log transformers and its dependencies version for debugging

0 commit comments

Comments
 (0)