Skip to content

Commit e55b02b

Browse files
authored
build: drop support for python 3.8
PR-URL: #55239 Reviewed-By: Christian Clauss <[email protected]>
1 parent 08eeddf commit e55b02b

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

android-configure

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
99
command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
1010
command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
1111
command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
12-
command -v python3.8 >/dev/null && exec python3.8 "$0" "$@"
1312
command -v python3 >/dev/null && exec python3 "$0" "$@"
1413
exec python "$0" "$@"
1514
''' "$0" "$@"
@@ -23,7 +22,7 @@ except ImportError:
2322
from distutils.spawn import find_executable as which
2423

2524
print('Node.js android configure: Found Python {}.{}.{}...'.format(*sys.version_info))
26-
acceptable_pythons = ((3, 13), (3, 12), (3, 11), (3, 10), (3, 9), (3, 8))
25+
acceptable_pythons = ((3, 13), (3, 12), (3, 11), (3, 10), (3, 9))
2726
if sys.version_info[:2] in acceptable_pythons:
2827
import android_configure
2928
else:

configure

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
99
command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
1010
command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
1111
command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
12-
command -v python3.8 >/dev/null && exec python3.8 "$0" "$@"
1312
command -v python3 >/dev/null && exec python3 "$0" "$@"
1413
exec python "$0" "$@"
1514
''' "$0" "$@"
@@ -23,7 +22,7 @@ except ImportError:
2322
from distutils.spawn import find_executable as which
2423

2524
print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
26-
acceptable_pythons = ((3, 13), (3, 12), (3, 11), (3, 10), (3, 9), (3, 8))
25+
acceptable_pythons = ((3, 13), (3, 12), (3, 11), (3, 10), (3, 9))
2726
if sys.version_info[:2] in acceptable_pythons:
2827
import configure
2928
else:

configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ def make_bin_override():
21432143
if sys.platform == 'win32':
21442144
raise Exception('make_bin_override should not be called on win32.')
21452145
# If the system python is not the python we are running (which should be
2146-
# python 3.8+), then create a directory with a symlink called `python` to our
2146+
# python 3.9+), then create a directory with a symlink called `python` to our
21472147
# sys.executable. This directory will be prefixed to the PATH, so that
21482148
# other tools that shell out to `python` will use the appropriate python
21492149

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude = [
77
"tools/eslint/node_modules"
88
]
99
line-length = 172
10-
target-version = "py38"
10+
target-version = "py39"
1111

1212
[tool.ruff.lint]
1313
select = [

0 commit comments

Comments
 (0)