mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
328957d4b8
commit
8007cfcc3b
15 files changed
+17
-15
No files matched your search
@@ -30,7 +30,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
|
||||
permissions:
|
||||
|
||||
@@ -34,7 +34,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
|
||||
@@ -34,7 +34,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
|
||||
@@ -58,7 +58,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
|
||||
permissions:
|
||||
|
||||
@@ -13,7 +13,7 @@ on:
|
||||
- cron: 30 0 * * *
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -10,7 +10,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
permissions:
|
||||
|
||||
@@ -14,7 +14,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
permissions:
|
||||
|
||||
@@ -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.82'
|
||||
|
||||
@@ -31,7 +31,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
|
||||
@@ -30,7 +30,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
|
||||
@@ -35,7 +35,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
|
||||
@@ -31,7 +31,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
XCODE_VERSION: '16.1'
|
||||
FLAKY_TESTS: keep_retrying
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ on:
|
||||
- zstd
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.14'
|
||||
PYTHON_VERSION: '3.15'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
+2
-1
@@ -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" "$@"
|
||||
@@ -23,7 +24,7 @@ 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), (3, 9))
|
||||
acceptable_pythons = ((3, 15), (3, 14), (3, 13), (3, 12), (3, 11), (3, 10), (3, 9))
|
||||
if sys.version_info[:2] in acceptable_pythons:
|
||||
import android_configure
|
||||
else:
|
||||
|
||||
@@ -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" "$@"
|
||||
@@ -23,7 +24,7 @@ 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), (3, 9))
|
||||
acceptable_pythons = ((3, 15), (3, 14), (3, 13), (3, 12), (3, 11), (3, 10), (3, 9))
|
||||
if sys.version_info[:2] in acceptable_pythons:
|
||||
import configure
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user