build: support Python 3.15

Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
PR-URL: https://github.com/nodejs/node/pull/65750
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
This commit is contained in:
Mike McCready authored and GitHub committed 2026-10-11 15:56:06 +00:00
1 parent e7fcd60189
commit 85543c1522
16 files changed
+32 -16

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
NODE_VERSION: lts/*
@@ -34,7 +34,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
+1 -1
View File
@@ -34,7 +34,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
+1 -1
View File
@@ -60,7 +60,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
RUSTC_VERSION: '1.88'
+1 -1
View File
@@ -13,7 +13,7 @@ on:
- cron: 30 0 * * *
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
permissions:
contents: read
+1 -1
View File
@@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
NODE_VERSION: lts/*
permissions:
+1 -1
View File
@@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
NODE_VERSION: lts/*
permissions:
+1 -1
View File
@@ -33,7 +33,7 @@ on:
type: string
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
XCODE_VERSION: '16.4'
CLANG_VERSION: '19'
RUSTC_VERSION: '1.88'
+1 -1
View File
@@ -39,7 +39,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
+1 -1
View File
@@ -20,7 +20,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
+1 -1
View File
@@ -30,7 +30,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
+1 -1
View File
@@ -39,7 +39,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
+1 -1
View File
@@ -65,7 +65,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
XCODE_VERSION: '16.4'
FLAKY_TESTS: keep_retrying
RUSTC_VERSION: '1.88'
+1 -1
View File
@@ -47,7 +47,7 @@ on:
- zstd
env:
PYTHON_VERSION: '3.14'
PYTHON_VERSION: '3.15'
permissions:
contents: read
+9 -1
View File
@@ -4,6 +4,7 @@
# Note that the mix of single and double quotes is intentional,
# as is the fact that the ] goes on a new line.
_=[ 'exec' '/bin/sh' '-c' '''
command -v python3.15 >/dev/null && exec python3.15 "$0" "$@"
command -v python3.14 >/dev/null && exec python3.14 "$0" "$@"
command -v python3.13 >/dev/null && exec python3.13 "$0" "$@"
command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
@@ -22,7 +23,14 @@ except ImportError:
from distutils.spawn import find_executable as which
print('Node.js android configure: Found Python {}.{}.{}...'.format(*sys.version_info))
acceptable_pythons = ((3, 14), (3, 13), (3, 12), (3, 11), (3, 10))
acceptable_pythons = (
(3, 15),
(3, 14),
(3, 13),
(3, 12),
(3, 11),
(3, 10),
)
if sys.version_info[:2] in acceptable_pythons:
import android_configure
else:
Vendored
+9 -1
View File
@@ -4,6 +4,7 @@
# Note that the mix of single and double quotes is intentional,
# as is the fact that the ] goes on a new line.
_=[ 'exec' '/bin/sh' '-c' '''
command -v python3.15 >/dev/null && exec python3.15 "$0" "$@"
command -v python3.14 >/dev/null && exec python3.14 "$0" "$@"
command -v python3.13 >/dev/null && exec python3.13 "$0" "$@"
command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
@@ -22,7 +23,14 @@ except ImportError:
from distutils.spawn import find_executable as which
print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
acceptable_pythons = ((3, 14), (3, 13), (3, 12), (3, 11), (3, 10))
acceptable_pythons = (
(3, 15),
(3, 14),
(3, 13),
(3, 12),
(3, 11),
(3, 10),
)
if sys.version_info[:2] in acceptable_pythons:
import configure
else: