Skip to content

Commit

Permalink
Updated python 3.8 to 3.10 in the CI (#3080)
Browse files Browse the repository at this point in the history
* Updated python 3.8 to 3.10 in the CI

* fix
  • Loading branch information
vfdev-5 authored Oct 4, 2023
1 parent 82688a4 commit e95e6ec
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/binaries-nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
python-version: 3.8
python-version: "3.10"

- name: Setup nightly version
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- name: Build hvd hvd-base
working-directory: docker
run: |
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- name: Build hvd hvd-apex
working-directory: docker
run: |
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- name: Build main base
working-directory: docker
run: |
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- name: Build main apex
working-directory: docker
run: |
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- name: Build msdp msdp-apex
working-directory: docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
# TODO
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"

- run: sudo npm install katex -g
- uses: actions/cache@v3
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"

- uses: actions/cache@v3
with:
Expand All @@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"

- run: sudo npm install katex -g
- uses: actions/cache@v3
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pytorch-version-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,38 @@ jobs:
- pytorch-version: 1.4.0
python-version: 3.9
- pytorch-version: 1.4.0
python-version: 3.10
python-version: "3.10"

- pytorch-version: 1.5.1
python-version: 3.9
- pytorch-version: 1.5.1
python-version: 3.10
python-version: "3.10"

- pytorch-version: 1.6.0
python-version: 3.9
- pytorch-version: 1.6.0
python-version: 3.10
python-version: "3.10"

# disabling python 3.9 support with PyTorch 1.7.1 and 1.8.1, to stop repeated pytorch-version test fail.
# https://github.com/pytorch/ignite/issues/2383
- pytorch-version: 1.7.1
python-version: 3.9
- pytorch-version: 1.7.1
python-version: 3.10
python-version: "3.10"

- pytorch-version: 1.8.1
python-version: 3.9
- pytorch-version: 1.8.1
python-version: 3.10
python-version: "3.10"

- pytorch-version: 1.9.1
python-version: 3.10
python-version: "3.10"

- pytorch-version: 1.10.0
python-version: 3.10
python-version: "3.10"

- pytorch-version: 1.11.0
python-version: 3.10
python-version: "3.10"

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable-release-anaconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
python-version: 3.8
python-version: "3.10"

- name: Install dependencies
shell: bash -l {0}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stable-release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
python-version: 3.8
python-version: "3.10"

- name: Install dependencies
shell: bash -l {0}
Expand All @@ -40,4 +40,4 @@ jobs:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v4
# with:
# python-version: 3.8
# python-version: "3.10"

0 comments on commit e95e6ec

Please sign in to comment.