FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: allow Python 3.8 by targos · Pull Request #30194 · nodejs/node · GitHub

/ node Public

build: allow Python 3.8 - #30194

Closed
targos wants to merge 1 commit into
nodejs:masterfrom
targos:py3.8
Closed

build: allow Python 3.8#30194
targos wants to merge 1 commit into
nodejs:masterfrom
targos:py3.8

Conversation

targos commented Oct 31, 2019

Copy link
Copy Markdown
Member

Tested on Windows.

/cc @nodejs/python @cclauss

targos added build Issues and PRs related to build files or the CI. python PRs and issues that require attention from people who are familiar with Python. labels Oct 31, 2019
nodejs-github-bot added the doc Issues and PRs related to the documentations. label Oct 31, 2019

Copy link
Copy Markdown
Collaborator

Comment thread configure
# 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" "$@"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Should we maybe check for python3 first?

cclauss Oct 31, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Copy link
Copy Markdown
Contributor

I'm fine with this, but I wonder if we should be so specific, can't we just say 3.5 and above?

cclauss commented Oct 31, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

Explicit is better than implicit is line 2 of The Zen of Python written in 2004.
I do believe that we should prefer the most current supported Python that which can find.

cclauss commented Nov 2, 2019

Copy link
Copy Markdown
Contributor

Landed in 3a076ba

cclauss closed this Nov 2, 2019
cclauss pushed a commit that referenced this pull request Nov 2, 2019
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>
targos deleted the py3.8 branch November 2, 2019 14:32
targos added a commit that referenced this pull request Nov 5, 2019
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>
targos mentioned this pull request Nov 5, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. python PRs and issues that require attention from people who are familiar with Python.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants


Back | FazBrowse Home | New Git URL