Skip to content

Commit e3f8703

Browse files
agunapalmsaroufim
andauthored
Update default python version of workflows to 3.9 (#2938)
Co-authored-by: Mark Saroufim <[email protected]>
1 parent 224fd56 commit e3f8703

11 files changed

+34
-34
lines changed

.github/workflows/benchmark_nightly.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
cd ..
2525
pwd
2626
rm -rf _tool
27-
- name: Setup Python 3.8
28-
uses: actions/setup-python@v4
27+
- name: Setup Python 3.9
28+
uses: actions/setup-python@v5
2929
with:
30-
python-version: 3.8
30+
python-version: 3.9
3131
architecture: x64
3232
- name: Setup Java 17
3333
uses: actions/setup-java@v3

.github/workflows/ci_cpu.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
if: matrix.os == 'macos-14'
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: '3.10'
30+
python-version: '3.10'
3131
- name: Setup Python for all other OS
3232
if: matrix.os != 'macos-14'
33-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3434
with:
35-
python-version: 3.8
35+
python-version: 3.9
3636
architecture: x64
3737
- name: Setup Java 17
3838
uses: actions/setup-java@v3

.github/workflows/ci_gpu.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
# deletes all hidden files in a directory
2828
sudo rm -rf ./.??* || true
2929
ls -la ./
30-
- name: Setup Python 3.8
31-
uses: actions/setup-python@v4
30+
- name: Setup Python 3.9
31+
uses: actions/setup-python@v5
3232
with:
33-
python-version: 3.8
33+
python-version: 3.9
3434
architecture: x64
3535
- name: Setup Java 17
3636
uses: actions/setup-java@v3

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
uses: actions/checkout@v3
3737
with:
3838
submodules: recursive
39-
40-
- name: Setup Python 3.8
41-
uses: actions/setup-python@v4
39+
40+
- name: Setup Python 3.9
41+
uses: actions/setup-python@v5
4242
with:
43-
python-version: 3.8
43+
python-version: 3.9
4444
architecture: x64
4545
- name: Setup Java 17
4646
uses: actions/setup-java@v3

.github/workflows/doc-automation.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
build_docs_job:
99
runs-on: ubuntu-20.04
1010
steps:
11-
- name: Setup Python 3.8
12-
uses: actions/setup-python@v4
11+
- name: Setup Python 3.9
12+
uses: actions/setup-python@v5
1313
with:
14-
python-version: 3.8
14+
python-version: 3.9
1515
architecture: x64
1616
- name: Checkout
1717
uses: actions/checkout@v3

.github/workflows/docker-nightly-build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
sudo rm -rf ./* || true
1616
sudo rm -rf ./.??* || true
1717
ls -la ./
18-
- name: Setup Python 3.8
19-
uses: actions/setup-python@v4
18+
- name: Setup Python 3.9
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.8
21+
python-version: 3.9
2222
architecture: x64
2323
- name: Checkout TorchServe
2424
uses: actions/checkout@v3

.github/workflows/kserve_cpu_tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
2525
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
2626
echo "/usr/local/bin" >> $GITHUB_PATH
27-
- name: Setup Python 3.8
28-
uses: actions/setup-python@v4
27+
- name: Setup Python 3.9
28+
uses: actions/setup-python@v5
2929
with:
30-
python-version: 3.8
30+
python-version: 3.9
3131
architecture: x64
3232
- name: Install grpcurl
3333
run: |

.github/workflows/lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
mypy:
1515
runs-on: ubuntu-20.04
1616
steps:
17-
- name: Setup Python 3.8
18-
uses: actions/setup-python@v4
17+
- name: Setup Python 3.9
18+
uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.8
20+
python-version: 3.9
2121
architecture: x64
2222
- name: Checkout TorchServe
2323
uses: actions/checkout@v3

.github/workflows/official_release_docker.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
sudo rm -rf ./* || true
2626
sudo rm -rf ./.??* || true
2727
ls -la ./
28-
- name: Setup Python 3.8
29-
uses: actions/setup-python@v4
28+
- name: Setup Python 3.9
29+
uses: actions/setup-python@v5
3030
with:
31-
python-version: 3.8
31+
python-version: 3.9
3232
architecture: x64
3333
- name: Checkout TorchServe
3434
uses: actions/checkout@v3

.github/workflows/regression_tests_cpu.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
if: matrix.os == 'macos-14'
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: '3.10'
29+
python-version: '3.10'
3030
- name: Setup Python for all other OS
3131
if: matrix.os != 'macos-14'
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.8
34+
python-version: 3.9
3535
architecture: x64
3636
- name: Setup Java 17
3737
uses: actions/setup-java@v3

.github/workflows/regression_tests_gpu.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
run: sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update && sudo apt-get install git -y
3131
- name: Check git version
3232
run: git --version
33-
- name: Setup Python 3.8
34-
uses: actions/setup-python@v3
33+
- name: Setup Python 3.9
34+
uses: actions/setup-python@v5
3535
with:
36-
python-version: 3.8
36+
python-version: 3.9
3737
architecture: x64
3838
- name: Setup Java 17
3939
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)