8000 .github/workflow/ports_unix: Update virtual env. to CPython 3.9. · micropython/micropython@a8d421e · GitHub
[go: up one dir, main page]

Skip to content

Commit a8d421e

Browse files
author
jbbjarnason
committed
.github/workflow/ports_unix: Update virtual env. to CPython 3.9.
New Python features depend on more recent Python.
1 parent c01da70 commit a8d421e

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/ports_qemu-arm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v2
21+
- uses: actions/setup-python@v2
22+
with:
23+
python-version: '3.9'
2124
- name: Install packages
2225
run: source tools/ci.sh && ci_qemu_arm_setup
2326
- name: Build and run test suite

.github/workflows/ports_unix.yml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- uses: actions/checkout@v2
44+
- uses: actions/setup-python@v2
45+
with:
46+
python-version: '3.9'
4447
- name: Build
4548
run: source tools/ci.sh && ci_unix_standard_build
4649
- name: Run main test suite
@@ -55,6 +58,9 @@ jobs:
5558
runs-on: ubuntu-latest
5659
steps:
5760
- uses: actions/checkout@v2
61+
- uses: actions/setup-python@v2
62+
with:
63+
python-version: '3.9'
5864
- name: Build
5965
run: source tools/ci.sh && ci_unix_dev_build
6066
- name: Run main test suite
@@ -67,6 +73,9 @@ jobs:
6773
runs-on: ubuntu-latest
6874
steps:
6975
- uses: actions/checkout@v2
76+
- uses: actions/setup-python@v2
77+
with:
78+
python-version: '3.9'
7079
- name: Install packages
7180
run: source tools/ci.sh && ci_unix_coverage_setup
7281
- name: Build
@@ -94,6 +103,9 @@ jobs:
94103
runs-on: ubuntu-latest
95104
steps:
96105
- uses: actions/checkout@v2
106+
- uses: actions/setup-python@v2
107+
with:
108+
python-version: '3.9'
97109
- name: Install packages
98110
run: source tools/ci.sh && ci_unix_32bit_setup
99111
- name: Build
@@ -112,6 +124,9 @@ jobs:
112124
runs-on: ubuntu-latest
113125
steps:
114126
- uses: actions/checkout@v2
127+
- uses: actions/setup-python@v2
128+
with:
129+
python-version: '3.9'
115130
- name: Install packages
116131
run: source tools/ci.sh && ci_unix_32bit_setup
117132
- name: Build
@@ -126,6 +141,9 @@ jobs:
126141
runs-on: ubuntu-latest
127142
steps:
128143
- uses: actions/checkout@v2
144+
- uses: actions/setup-python@v2
145+
with:
146+
python-version: '3.9'
129147
- name: Build
130148
run: source tools/ci.sh && ci_unix_float_build
131149
- name: Run main test suite
@@ -138,6 +156,9 @@ jobs:
138156
runs-on: ubuntu-20.04
139157
steps:
140158
- uses: actions/checkout@v2
159+
- uses: actions/setup-python@v2
160+
with:
161+
python-version: '3.9'
141162
- name: Install packages
142163
run: source tools/ci.sh && ci_unix_clang_setup
143164
- name: Build
@@ -152,6 +173,9 @@ jobs:
152173
runs-on: ubuntu-20.04
153174
steps:
154175
- uses: actions/checkout@v2
176+
- uses: actions/setup-python@v2
177+
with:
178+
python-version: '3.9'
155179
- name: Install packages
156180
run: source tools/ci.sh && ci_unix_clang_setup
157181
- name: Build
@@ -166,6 +190,9 @@ jobs:
166190
runs-on: ubuntu-latest
167191
steps:
168192
- uses: actions/checkout@v2
193+
- uses: actions/setup-python@v2
194+
with:
195+
python-version: '3.9'
169196
- name: Build
170197
run: source tools/ci.sh && ci_unix_settrace_build
171198
- name: Run main test suite
@@ -178,6 +205,9 @@ jobs:
178205
runs-on: ubuntu-latest
179206
steps:
180207
- uses: actions/checkout@v2
208+
- uses: actions/setup-python@v2
209+
with:
210+
python-version: '3.9'
181211
- name: Build
182212
run: source tools/ci.sh && ci_unix_settrace_stackless_build
183213
- name: Run main test suite
@@ -192,7 +222,7 @@ jobs:
192222
- uses: actions/checkout@v2
193223
- uses: actions/setup-python@v2
194224
with:
195-
python-version: '3.8'
225+
python-version: '3.9'
196226
- name: Build
197227
run: source tools/ci.sh && ci_unix_macos_build
198228
- name: Run tests
@@ -205,6 +235,9 @@ jobs:
205235
runs-on: ubuntu-latest
206236
steps:
207237
- uses: actions/checkout@v2
238+
- uses: actions/setup-python@v2
239+
with:
240+
python-version: '3.9'
208241
- name: Install packages
209242
run: source tools/ci.sh && ci_unix_qemu_mips_setup
210243
- name: Build
@@ -219,6 +252,9 @@ jobs:
219252
runs-on: ubuntu-latest
220253
steps:
221254
- uses: actions/checkout@v2
255+
- uses: actions/setup-python@v2
256+
with:
257+
python-version: '3.9'
222258
- name: Install packages
223259
run: source tools/ci.sh && ci_unix_qemu_arm_setup
224260
- name: Build

0 commit comments

Comments
 (0)
0