Skip to content

Commit 4278277

Browse files
authored
update python version to 3.8 (#4245)
resolves #4191 @balopat was this what you had in mind when opening the linked issue?
1 parent 4960e17 commit 4278277

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-python@v1
1212
with:
13-
python-version: '3.7'
13+
python-version: '3.8'
1414
architecture: 'x64'
1515
- name: Misc
1616
run: check/misc
@@ -36,7 +36,7 @@ jobs:
3636
fetch-depth: 0
3737
- uses: actions/setup-python@v1
3838
with:
39-
python-version: '3.7'
39+
python-version: '3.8'
4040
architecture: 'x64'
4141
- name: Install dependencies
4242
run: pip install -r dev_tools/requirements/deps/format.txt
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@v2
5050
- uses: actions/setup-python@v1
5151
with:
52-
python-version: '3.7'
52+
python-version: '3.8'
5353
architecture: 'x64'
5454
- name: Install mypy
5555
run: pip install -r dev_tools/requirements/mypy.env.txt
@@ -62,7 +62,7 @@ jobs:
6262
- uses: actions/checkout@v2
6363
- uses: actions/setup-python@v1
6464
with:
65-
python-version: '3.7'
65+
python-version: '3.8'
6666
architecture: 'x64'
6767
- name: Install mypy
6868
run: pip install -r dev_tools/requirements/mypy.env.txt
@@ -77,7 +77,7 @@ jobs:
7777
fetch-depth: 0
7878
- uses: actions/setup-python@v1
7979
with:
80-
python-version: '3.7'
80+
python-version: '3.8'
8181
architecture: 'x64'
8282
- name: Install changed files test dependencies
8383
run: dev_tools/conf/pip-install-minimal-for-pytest-changed-files.sh
@@ -90,7 +90,7 @@ jobs:
9090
- uses: actions/checkout@v2
9191
- uses: actions/setup-python@v1
9292
with:
93-
python-version: '3.7'
93+
python-version: '3.8'
9494
architecture: 'x64'
9595
- name: Install pylint
9696
run: pip install -r dev_tools/requirements/deps/pylint.txt
@@ -105,7 +105,7 @@ jobs:
105105
- uses: actions/checkout@v2
106106
- uses: actions/setup-python@v1
107107
with:
108-
python-version: '3.7'
108+
python-version: '3.8'
109109
architecture: 'x64'
110110
- name: Install requirements
111111
run: pip install -r dev_tools/requirements/dev.env.txt
@@ -120,7 +120,7 @@ jobs:
120120
- uses: actions/checkout@v2
121121
- uses: actions/setup-python@v1
122122
with:
123-
python-version: '3.7'
123+
python-version: '3.8'
124124
architecture: 'x64'
125125
- name: Install requirements
126126
run: pip install -r dev_tools/requirements/deps/tensorflow-docs.txt
@@ -143,7 +143,6 @@ jobs:
143143
name: Pytest Ubuntu
144144
strategy:
145145
matrix:
146-
# TODO(#3800): remove 3.6 when Colab switches to 3.7
147146
python-version: [ '3.6', '3.7', '3.8' ]
148147
runs-on: ubuntu-20.04
149148
steps:
@@ -167,7 +166,7 @@ jobs:
167166
- uses: actions/checkout@v2
168167
- uses: actions/setup-python@v1
169168
with:
170-
python-version: '3.7'
169+
python-version: '3.8'
171170
architecture: 'x64'
172171
- name: Install requirements
173172
run: |
@@ -183,7 +182,7 @@ jobs:
183182
fetch-depth: 0
184183
- uses: actions/setup-python@v1
185184
with:
186-
python-version: '3.7'
185+
python-version: '3.8'
187186
architecture: 'x64'
188187
- name: Install requirements
189188
run: |
@@ -204,7 +203,7 @@ jobs:
204203
fetch-depth: 0
205204
- uses: actions/setup-python@v1
206205
with:
207-
python-version: '3.7'
206+
python-version: '3.8'
208207
architecture: 'x64'
209208
- name: Install requirements
210209
run: pip install -r dev_tools/requirements/dev.env.txt
@@ -258,7 +257,7 @@ jobs:
258257
fetch-depth: 0
259258
- uses: actions/setup-python@v1
260259
with:
261-
python-version: '3.7'
260+
python-version: '3.8'
262261
architecture: 'x64'
263262
- name: Install requirements
264263
run: pip install -r dev_tools/requirements/isolated-notebooks.env.txt
@@ -276,7 +275,7 @@ jobs:
276275
- uses: actions/checkout@v2
277276
- uses: actions/setup-python@v1
278277
with:
279-
python-version: '3.7'
278+
python-version: '3.8'
280279
architecture: 'x64'
281280
- name: Install requirements
282281
run: pip install -r dev_tools/requirements/notebooks.env.txt

.github/workflows/release-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-python@v1
1717
with:
18-
python-version: '3.7'
18+
python-version: '3.8'
1919
architecture: 'x64'
2020
- name: Install dependencies
2121
run: |

0 commit comments

Comments
 (0)