Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Update default python version of workflows to 3.9 #2938

Merged
merged 2 commits into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/benchmark_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
cd ..
pwd
rm -rf _tool
- name: Setup Python 3.8
uses: actions/setup-python@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
if: matrix.os == 'macos-14'
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.10'
- name: Setup Python for all other OS
if: matrix.os != 'macos-14'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
# deletes all hidden files in a directory
sudo rm -rf ./.??* || true
ls -la ./
- name: Setup Python 3.8
uses: actions/setup-python@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Python 3.8
uses: actions/setup-python@v4

- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/doc-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
build_docs_job:
runs-on: ubuntu-20.04
steps:
- name: Setup Python 3.8
uses: actions/setup-python@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Checkout
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
sudo rm -rf ./* || true
sudo rm -rf ./.??* || true
ls -la ./
- name: Setup Python 3.8
uses: actions/setup-python@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Checkout TorchServe
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/kserve_cpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
echo "/usr/local/bin" >> $GITHUB_PATH
- name: Setup Python 3.8
uses: actions/setup-python@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Install grpcurl
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
mypy:
runs-on: ubuntu-20.04
steps:
- name: Setup Python 3.8
uses: actions/setup-python@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Checkout TorchServe
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/official_release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
sudo rm -rf ./* || true
sudo rm -rf ./.??* || true
ls -la ./
- name: Setup Python 3.8
uses: actions/setup-python@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Checkout TorchServe
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/regression_tests_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
if: matrix.os == 'macos-14'
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.10'
- name: Setup Python for all other OS
if: matrix.os != 'macos-14'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/regression_tests_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
run: sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update && sudo apt-get install git -y
- name: Check git version
run: git --version
- name: Setup Python 3.8
uses: actions/setup-python@v3
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down