Skip to content

Commit f83b9bc

Browse files
iam-frankqiudanielleadams
authored andcommitted
build: support Python 3.10.0
PR-URL: #40296 Fixes: #40294 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 18820bf commit f83b9bc

File tree

11 files changed

+14
-13
lines changed

11 files changed

+14
-13
lines changed

.github/workflows/build-tarball.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
build-tarball:
2828
if: github.event.pull_request.draft == false
2929
env:
30-
PYTHON_VERSION: 3.9
30+
PYTHON_VERSION: '3.10'
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v2
@@ -52,7 +52,7 @@ jobs:
5252
path: tarballs
5353
test-tarball-linux:
5454
env:
55-
PYTHON_VERSION: 3.9
55+
PYTHON_VERSION: '3.10'
5656
needs: build-tarball
5757
runs-on: ubuntu-latest
5858
steps:

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- v[0-9]+.x
1313

1414
env:
15-
PYTHON_VERSION: 3.9
15+
PYTHON_VERSION: '3.10'
1616
FLAKY_TESTS: dontcare
1717

1818
jobs:

.github/workflows/coverage-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
- 'doc/**'
2020

2121
env:
22-
PYTHON_VERSION: 3.9
22+
PYTHON_VERSION: '3.10'
2323
FLAKY_TESTS: dontcare
2424

2525
jobs:

.github/workflows/coverage-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
- 'tools/**'
2222

2323
env:
24-
PYTHON_VERSION: 3.9
24+
PYTHON_VERSION: '3.10'
2525
FLAKY_TESTS: dontcare
2626

2727
jobs:

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- v[0-9]+.x
1212

1313
env:
14-
PYTHON_VERSION: 3.9
14+
PYTHON_VERSION: '3.10'
1515
NODE_VERSION: lts/*
1616

1717
jobs:

.github/workflows/test-asan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
- 'doc/**'
2323

2424
env:
25-
PYTHON_VERSION: 3.9
25+
PYTHON_VERSION: '3.10'
2626
FLAKY_TESTS: dontcare
2727

2828
jobs:

.github/workflows/test-internet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
- test/internet/**
2121

2222
env:
23-
PYTHON_VERSION: 3.9
23+
PYTHON_VERSION: '3.10'
2424
FLAKY_TESTS: dontcare
2525

2626
jobs:

.github/workflows/test-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- v[0-9]+.x
1313

1414
env:
15-
PYTHON_VERSION: 3.9
15+
PYTHON_VERSION: '3.10'
1616
FLAKY_TESTS: dontcare
1717

1818
jobs:

.github/workflows/test-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
- 'doc/**'
2323

2424
env:
25-
PYTHON_VERSION: 3.9
25+
PYTHON_VERSION: '3.10'
2626
FLAKY_TESTS: dontcare
2727

2828
jobs:

BUILDING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ The Node.js project supports Python >= 3 for building and testing.
239239

240240
* `gcc` and `g++` >= 8.3 or newer, or
241241
* GNU Make 3.81 or newer
242-
* Python 3.6, 3.7, 3.8, or 3.9 (see note above)
242+
* Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above)
243243

244244
Installation via Linux package manager can be achieved with:
245245

@@ -254,7 +254,7 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`.
254254
#### macOS prerequisites
255255

256256
* Xcode Command Line Tools >= 11 for macOS
257-
* Python 3.6, 3.7, 3.8, or 3.9 (see note above)
257+
* Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above)
258258

259259
macOS users can install the `Xcode Command Line Tools` by running
260260
`xcode-select --install`. Alternatively, if you already have the full Xcode

0 commit comments

Comments
 (0)