Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit da35612

Browse filesBrowse files
iam-frankqiurichardlau
authored andcommitted
build: support Python 3.10.0
PR-URL: #40296 Backport-PR-URL: #40689 Fixes: #40294 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 6b7b2bb commit da35612
Copy full SHA for da35612

File tree

Expand file treeCollapse file tree

8 files changed

+11
-10
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

8 files changed

+11
-10
lines changed
Open diff view settings
Collapse file

‎.github/workflows/build-tarball.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/build-tarball.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build-tarball:
1818
env:
19-
PYTHON_VERSION: 3.9
19+
PYTHON_VERSION: '3.10'
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v2
@@ -41,7 +41,7 @@ jobs:
4141
path: tarballs
4242
test-tarball-linux:
4343
env:
44-
PYTHON_VERSION: 3.9
44+
PYTHON_VERSION: '3.10'
4545
needs: build-tarball
4646
runs-on: ubuntu-latest
4747
steps:
Collapse file

‎.github/workflows/build-windows.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/build-windows.yml
+1-1Lines 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:
Collapse file

‎.github/workflows/linters.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/linters.yml
+1-1Lines 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:
Collapse file

‎.github/workflows/test-asan.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test-asan.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- 'doc/**'
1919

2020
env:
21-
PYTHON_VERSION: 3.9
21+
PYTHON_VERSION: '3.10'
2222
FLAKY_TESTS: dontcare
2323

2424
jobs:
Collapse file

‎.github/workflows/test-linux.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test-linux.yml
+1-1Lines 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:
Collapse file

‎.github/workflows/test-macos.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test-macos.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- 'doc/**'
1919

2020
env:
21-
PYTHON_VERSION: 3.9
21+
PYTHON_VERSION: '3.10'
2222
FLAKY_TESTS: dontcare
2323

2424
jobs:
Collapse file

‎BUILDING.md‎

Copy file name to clipboardExpand all lines: BUILDING.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ test with Python 3.
239239
* GNU Make 3.81 or newer
240240
* Python (see note above)
241241
* Python 2.7
242-
* Python 3.5, 3.6, 3.7, or 3.8
242+
* Python 3.5, 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

@@ -256,7 +256,7 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`.
256256
* Xcode Command Line Tools >= 10 for macOS
257257
* Python (see note above)
258258
* Python 2.7
259-
* Python 3.5, 3.6, 3.7, or 3.8
259+
* Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above)
260260

261261
macOS users can install the `Xcode Command Line Tools` by running
262262
`xcode-select --install`. Alternatively, if you already have the full Xcode
Collapse file

‎configure‎

Copy file name to clipboardExpand all lines: configure
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# as is the fact that the ] goes on a new line.
66
_=[ 'exec' '/bin/sh' '-c' '''
77
test ${FORCE_PYTHON2} && exec python2 "$0" "$@" # workaround for gclient
8+
command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
89
command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
910
command -v python3.8 >/dev/null && exec python3.8 "$0" "$@"
1011
command -v python3.7 >/dev/null && exec python3.7 "$0" "$@"
@@ -24,7 +25,7 @@ except ImportError:
2425
from distutils.spawn import find_executable as which
2526

2627
print('Node.js configure: Found Python {0}.{1}.{2}...'.format(*sys.version_info))
27-
acceptable_pythons = ((3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (2, 7))
28+
acceptable_pythons = ((3,10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (2, 7))
2829
if sys.version_info[:2] in acceptable_pythons:
2930
import configure
3031
else:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.