Skip to content

Commit 7d6189b

Browse files
authored
chore(ci): Test on Python 3.14 release candidate 3 (#317)
Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3 Also, upgrade from deprecated `macos-13` to `macos-15-intel`. The currently available GitHub Actions macOS runners are: | macOS Version | runner.arch | |---------------|-------------| | macos-13 | X64 | | macos-14 | ARM64 | | macos-15 | ARM64 | | macos-15-intel | X64 | | macos-26 | ARM64 | | macos-latest | ARM64 | * Let's prepare for actions/runner-images#13046
1 parent 488d402 commit 7d6189b

File tree

3 files changed

+26
-20
lines changed

3 files changed

+26
-20
lines changed

.github/workflows/node-gyp.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
node-version: ["22"]
1312
os: [macos-latest, ubuntu-latest, windows-latest]
14-
python-version: ["3.9", "3.11", "3.13"]
13+
python-version: ["3.10", "3.12", "3.14"]
14+
exclude:
15+
# Windows on Python 3.14 is blocked by nodejs/node#59983
16+
- os: windows-latest
17+
python-version: "3.14"
1518
include:
16-
- node-version: "22"
17-
os: macos-13 # macOS on Intel
18-
python-version: "3.13"
19-
- node-version: "22"
20-
os: ubuntu-24.04-arm # Ubuntu on ARM
21-
python-version: "3.13"
22-
- node-version: "22"
23-
os: windows-11-arm # Windows on ARM
19+
- os: windows-latest # Windows on Python 3.13 instead of 3.14
2420
python-version: "3.13"
21+
- os: macos-15-intel # macOS on Intel
22+
python-version: "3.14"
23+
- os: ubuntu-24.04-arm # Ubuntu on ARM
24+
python-version: "3.14"
25+
- os: windows-11-arm # Windows on ARM
26+
python-version: "3.13" # Windows on Python 3.13 instead of 3.14
2527
runs-on: ${{ matrix.os }}
2628
steps:
2729
- name: Clone gyp-next
@@ -35,7 +37,7 @@ jobs:
3537
path: node-gyp
3638
- uses: actions/setup-node@v5
3739
with:
38-
node-version: ${{ matrix.node-version }}
40+
node-version: "lts/*"
3941
- uses: actions/setup-python@v6
4042
with:
4143
python-version: ${{ matrix.python-version }}

.github/workflows/nodejs.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [macos-latest, ubuntu-latest, windows-latest]
13-
python: ["3.9", "3.11", "3.13"]
13+
python-version: ["3.10", "3.12", "3.14"]
14+
exclude:
15+
# Windows on Python 3.14 is blocked by nodejs/node#59983
16+
- os: windows-latest
17+
python-version: "3.14"
1418
include:
15-
- os: macos-13 # macOS on Intel
19+
- os: windows-latest # Windows on Python 3.13 instead of 3.14
1620
python-version: "3.13"
21+
- os: macos-15-intel # macOS on Intel
22+
python-version: "3.14"
1723
- os: ubuntu-24.04-arm # Ubuntu on ARM
18-
python-version: "3.13"
24+
python-version: "3.14"
1925
- os: windows-11-arm # Windows on ARM
20-
python-version: "3.13"
26+
python-version: "3.13" # Windows on Python 3.13 instead of 3.14
2127

2228
runs-on: ${{ matrix.os }}
2329
steps:
@@ -32,7 +38,7 @@ jobs:
3238
path: node
3339
- uses: actions/setup-python@v6
3440
with:
35-
python-version: ${{ matrix.python }}
41+
python-version: ${{ matrix.python-version }}
3642
allow-prereleases: true
3743
- name: Replace gyp in Node.js
3844
shell: bash

.github/workflows/python_tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ jobs:
1414
fail-fast: false
1515
max-parallel: 5
1616
matrix:
17-
os: [macos-13, macos-latest, ubuntu-latest] # , windows-latest]
18-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
17+
os: [macos-15-intel, macos-latest, ubuntu-latest] # , windows-latest]
18+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1919
include:
2020
- os: macos-26
2121
python-version: 3.x
22-
- os: ubuntu-latest
23-
python-version: 3.14
2422
steps:
2523
- uses: actions/checkout@v5
2624
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)