Skip to content

Commit 91da267

Browse files
committed
Pin python version 3.10 for builds
Python 3.11 started to roll out to github actions, and .. it doesn't work. This MAY affect just the espressif build, but I'm pinning it back at 3.10 for all builds. Typical failure, during "Run $IDF_PATH/tools/idf_tools.py --non-interactive install required" shows a lot of failures building gevent: ``` ... Collecting gevent<2.0,>=1.2.2 Downloading gevent-1.5.0.tar.gz (5.3 MB) ... Building wheel for gevent (pyproject.toml): finished with status 'error' ... src/gevent/_greenlet_primitives.c:216:12: fatal error: longintrepr.h: No such file or directory 216 | #include "longintrepr.h" | ^~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 ``` I notice that gevent is pinned at <2.0 while the current version is 22.10.2! This is a dependency of gdbgui==0.13.2.0, which is installed by esp-idf pinned at that version.
1 parent 403a5b2 commit 91da267

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up Python 3
3838
uses: actions/setup-python@v4
3939
with:
40-
python-version: "3.x"
40+
python-version: "3.10"
4141
- name: Get CP deps
4242
run: python tools/ci_fetch_deps.py test ${{ github.sha }}
4343
- name: CircuitPython version
@@ -156,7 +156,7 @@ jobs:
156156
- name: Set up Python 3
157157
uses: actions/setup-python@v4
158158
with:
159-
python-version: "3.x"
159+
python-version: "3.10"
160160
- name: Get CP deps
161161
run: python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.sha }}
162162
- name: CircuitPython version
@@ -220,7 +220,7 @@ jobs:
220220
- name: Set up Python 3
221221
uses: actions/setup-python@v4
222222
with:
223-
python-version: "3.x"
223+
python-version: "3.10"
224224
- name: Install dependencies
225225
run: |
226226
sudo apt-get update
@@ -278,7 +278,7 @@ jobs:
278278
- name: Set up Python 3
279279
uses: actions/setup-python@v4
280280
with:
281-
python-version: "3.x"
281+
python-version: "3.10"
282282
- uses: actions/checkout@v3
283283
with:
284284
submodules: false
@@ -331,7 +331,7 @@ jobs:
331331
- name: Set up Python 3
332332
uses: actions/setup-python@v4
333333
with:
334-
python-version: "3.x"
334+
python-version: "3.10"
335335
- uses: actions/checkout@v3
336336
with:
337337
submodules: false
@@ -384,7 +384,7 @@ jobs:
384384
id: py3
385385
uses: actions/setup-python@v4
386386
with:
387-
python-version: "3.x"
387+
python-version: "3.10"
388388
- uses: actions/checkout@v3
389389
with:
390390
submodules: false
@@ -473,7 +473,7 @@ jobs:
473473
- name: Set up Python 3
474474
uses: actions/setup-python@v4
475475
with:
476-
python-version: "3.x"
476+
python-version: "3.10"
477477
- uses: actions/checkout@v3
478478
with:
479479
submodules: false

.github/workflows/create_website_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python 3
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: "3.x"
26+
python-version: "3.10"
2727
- name: Get CP deps
2828
run: python tools/ci_fetch_deps.py website ${{ github.sha }}
2929
- name: Install deps

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Python 3
2121
uses: actions/setup-python@v4
2222
with:
23-
python-version: "3.x"
23+
python-version: "3.10"
2424
- name: Install deps
2525
run: |
2626
sudo apt-get install -y gettext uncrustify

0 commit comments

Comments
 (0)