-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: allow Python 3.8 #30194
build: allow Python 3.8 #30194
Conversation
@@ -7,6 +7,7 @@ | |||
# pyenv will alert which shims are available and then will fail the build. | |||
_=[ 'exec' '/bin/sh' '-c' ''' | |||
test ${TRAVIS} && exec python "$0" "$@" # workaround for pyenv on Travis CI | |||
which python3.8 >/dev/null && exec python3.8 "$0" "$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe check for python3
first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The trouble with doing that is that python3
might be in ((3, 0), (3, 1), (3, 2), (3, 3), (3, 4))
which we (and the Python Core Team) do not support.
I'm fine with this, but I wonder if we should be so specific, can't we just say 3.5 and above? |
|
Landed in 3a076ba |
PR-URL: #30194 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
PR-URL: #30194 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Tested on Windows.
/cc @nodejs/python @cclauss