Skip to content

Commit 54035ac

Browse files
authored
build: support python 3.13
PR-URL: #53190 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
1 parent 74dff83 commit 54035ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Note that the mix of single and double quotes is intentional,
55
# as is the fact that the ] goes on a new line.
66
_=[ 'exec' '/bin/sh' '-c' '''
7+
command -v python3.13 >/dev/null && exec python3.13 "$0" "$@"
78
command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
89
command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
910
command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
@@ -24,7 +25,7 @@ except ImportError:
2425
from distutils.spawn import find_executable as which
2526

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy