Skip to content

Commit b76b825

Browse files
Drop python 3.7 from CI (#2836)
* removed 3.7 from ci files * some more changes * removed `m` from gs api link; lets see if ci is is okay with this * use pip install command instead of a python script * Apply suggestions from code review --------- Co-authored-by: vfdev <vfdev.5@gmail.com>
1 parent ecd2b4e commit b76b825

8 files changed

+23
-22
lines changed

.github/workflows/docker-build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
4949
- uses: actions/setup-python@v4
5050
with:
51-
python-version: 3.7
51+
python-version: 3.8
5252
- name: Build hvd hvd-base
5353
working-directory: docker
5454
run: |
@@ -83,10 +83,10 @@ jobs:
8383
- name: Remove cache
8484
run: |
8585
sudo rm -rf "/usr/local/share/boost"
86-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
86+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
8787
- uses: actions/setup-python@v4
8888
with:
89-
python-version: 3.7
89+
python-version: 3.8
9090
- name: Build hvd hvd-apex
9191
working-directory: docker
9292
run: |
@@ -121,10 +121,10 @@ jobs:
121121
- name: Remove cache
122122
run: |
123123
sudo rm -rf "/usr/local/share/boost"
124-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
124+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
125125
- uses: actions/setup-python@v4
126126
with:
127-
python-version: 3.7
127+
python-version: 3.8
128128
- name: Build main base
129129
working-directory: docker
130130
run: |
@@ -156,10 +156,10 @@ jobs:
156156
- name: Remove cache
157157
run: |
158158
sudo rm -rf "/usr/local/share/boost"
159-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
159+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
160160
- uses: actions/setup-python@v4
161161
with:
162-
python-version: 3.7
162+
python-version: 3.8
163163
- name: Build main apex
164164
working-directory: docker
165165
run: |
@@ -191,10 +191,10 @@ jobs:
191191
- name: Remove cache
192192
run: |
193193
sudo rm -rf "/usr/local/share/boost"
194-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
194+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
195195
- uses: actions/setup-python@v4
196196
with:
197-
python-version: 3.7
197+
python-version: 3.8
198198
- name: Build msdp msdp-apex
199199
working-directory: docker
200200
run: |

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- uses: actions/setup-python@v4
1919
with:
20-
python-version: 3.7
20+
python-version: 3.8
2121
- name: Trigger Circle-CI pipeline
2222
env:
2323
CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }}

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-python@v4
1919
with:
20-
python-version: 3.7
20+
python-version: 3.8
2121

2222
- run: sudo npm install katex -g
2323
- uses: actions/cache@v2
@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/checkout@v3
4949
- uses: actions/setup-python@v4
5050
with:
51-
python-version: 3.7
51+
python-version: 3.8
5252

5353
- uses: actions/cache@v3
5454
with:
@@ -69,7 +69,7 @@ jobs:
6969
- uses: actions/checkout@v3
7070
- uses: actions/setup-python@v4
7171
with:
72-
python-version: 3.7
72+
python-version: 3.8
7373

7474
- run: sudo npm install katex -g
7575
- uses: actions/cache@v3

.github/workflows/pytorch-version-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
max-parallel: 10
1515
fail-fast: false
1616
matrix:
17-
python-version: [3.7, 3.8, 3.9, "3.10"]
17+
python-version: [3.8, 3.9, "3.10"]
1818
pytorch-version:
1919
[1.12.1, 1.11.0, 1.10.0, 1.9.1, 1.8.1, 1.7.1, 1.6.0, 1.5.1, 1.4.0, 1.3.1]
2020
exclude:

.github/workflows/stable-release-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@v3
4141
- uses: actions/setup-python@v4
4242
with:
43-
python-version: 3.7
43+
python-version: 3.8
4444
- name: Trigger Circle-CI pipeline
4545
env:
4646
CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }}

.github/workflows/tpu-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828

2929
steps:
3030
- uses: actions/checkout@v3
31-
- name: Set up Python 3.7
31+
- name: Set up Python 3.8
3232
uses: actions/setup-python@v4
3333
with:
34-
python-version: "3.7"
34+
python-version: "3.8"
3535
architecture: "x64"
3636

3737
- name: Get year & week number
@@ -62,9 +62,10 @@ jobs:
6262
# mkl version fixed due to https://github.com/pytorch/ignite/issues/2350
6363
pip install mkl==2021.4.0 requests gsutil
6464
65-
## Install torch & xla
66-
curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py
67-
python pytorch-xla-env-setup.py --version "nightly"
65+
## Install torch & xla and torchvision
66+
pip install --pre https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch-nightly-cp38-cp38-linux_x86_64.whl
67+
pip install --pre https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch_xla-nightly-cp38-cp38-linux_x86_64.whl
68+
pip install --pre https://storage.googleapis.com/tpu-pytorch/wheels/colab/torchvision-nightly-cp38-cp38-linux_x86_64.whl
6869
6970
## Install test deps and Ignite
7071
pip install -r requirements-dev.txt

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
os: [ubuntu-latest]
39-
python-version: [3.7, 3.8, 3.9, "3.10"]
39+
python-version: [3.8, 3.9, "3.10"]
4040
pytorch-channel: [pytorch, pytorch-nightly]
4141
include:
4242
# includes a single build on windows

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 120
3-
target-version = ['py37', 'py38', 'py39']
3+
target-version = ['py38', 'py39']
44
include = '\.pyi?$'
55
exclude = '''
66

0 commit comments

Comments
 (0)