Skip to content

Commit 43c1feb

Browse files
committed
Build with newer version of Python
We are getting an issue importing __future__ from annotations in one case and "invalid syntax" in another with `if CC :=`.
1 parent 4b7bca3 commit 43c1feb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
package-lock.json
4242
test/package-lock.json
4343
44+
# node-gyp needs a newer version of Python.
45+
- uses: actions/setup-python@v5
46+
with:
47+
python-version: "3.12"
48+
4449
- run: SKIP_SUBMODULE_DEPS=1 npm ci
4550

4651
- name: Install development tools
@@ -138,6 +143,11 @@ jobs:
138143
package-lock.json
139144
test/package-lock.json
140145
146+
# node-gyp needs a newer version of Python.
147+
- uses: actions/setup-python@v5
148+
with:
149+
python-version: "3.12"
150+
141151
- name: Install cross-compiler and system dependencies
142152
run: |
143153
dpkg --add-architecture $TARGET_ARCH

0 commit comments

Comments
 (0)