build: drop support for Python 3.9

PR-URL: https://github.com/nodejs/node/pull/61177
Fixes: https://github.com/nodejs/node/issues/60919
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
This commit is contained in:
Mike McCready authored and GitHub committed 2026-01-15 23:14:19 +01:00
1 parent cab20f2396
commit d73c49e849
4 files changed
+4 -6

No files matched your search

+1 -2
View File
@@ -9,7 +9,6 @@ command -v python3.13 >/dev/null && exec python3.13 "$0" "$@"
command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
command -v python3 >/dev/null && exec python3 "$0" "$@"
exec python "$0" "$@"
''' "$0" "$@"
@@ -23,7 +22,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, 14), (3, 13), (3, 12), (3, 11), (3, 10))
if sys.version_info[:2] in acceptable_pythons:
import android_configure
else: