-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
build, tools, win: check if python is a executable program #36696
Conversation
ef21ecb
to
4446e9a
Compare
4446e9a
to
4dfdb67
Compare
@nodejs/platform-windows |
run into this on a fresh windows. Why MS did this ... |
Maybe they think that they're helping people to download the correct python🤔 |
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters. Fixes: nodejs#36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update
9761fc4
to
0b5251c
Compare
rebasing |
Commit Queue failed- Loading data for nodejs/node/pull/36696 ✔ Done loading data for nodejs/node/pull/36696 ----------------------------------- PR info ------------------------------------ Title build, tools, win: check if python is a executable program (#36696) Author Himself65 (@Himself65) Branch Himself65:20201231-fix-find_python -> nodejs:master Labels windows, install, build, tools, author ready Commits 2 - build, tools, win: check if python is a executable program - fixup! Committers 1 - himself65 PR-URL: https://github.com/nodejs/node/pull/36696 Fixes: https://github.com/nodejs/node/issues/36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update Reviewed-By: Jiawen Geng Reviewed-By: James M Snell ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36696 Fixes: https://github.com/nodejs/node/issues/36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update Reviewed-By: Jiawen Geng Reviewed-By: James M Snell -------------------------------------------------------------------------------- ℹ This PR was created on Wed, 30 Dec 2020 16:26:57 GMT ✔ Approvals: 2 ✔ - Jiawen Geng (@gengjiawen): https://github.com/nodejs/node/pull/36696#pullrequestreview-809374093 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/36696#pullrequestreview-866765180 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-01-18T17:56:33Z: https://ci.nodejs.org/job/node-test-pull-request/42001/ - Querying data for job/node-test-pull-request/42001/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/master up to date... From https://github.com/nodejs/node * branch master -> FETCH_HEAD ✔ origin/master is now up-to-date - Downloading patch for 36696 From https://github.com/nodejs/node * branch refs/pull/36696/merge -> FETCH_HEAD ✔ Fetched commits as d86dcaa631df..0b5251c46d5a -------------------------------------------------------------------------------- Auto-merging tools/msvs/find_python.cmd [master 1084527c28] build, tools, win: check if python is a executable program Author: himself65 Date: Thu Dec 31 00:23:40 2020 +0800 1 file changed, 11 insertions(+) Auto-merging tools/msvs/find_python.cmd [master 03cf3a2011] fixup! Author: Himself65 Date: Sat Jan 9 18:34:00 2021 +0800 1 file changed, 1 insertion(+), 1 deletion(-) ✔ Patches applied There are 2 commits in the PR. Attempting autorebase. Rebasing (2/4)https://github.com/nodejs/node/actions/runs/1764418351 |
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters. Fixes: #36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update PR-URL: #36696 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
landed in 2818fa6 |
@richardlau Sorry missing the new labels. I have landed it manually using |
Commit Queue failed- Loading data for nodejs/node/pull/36696 ✔ Done loading data for nodejs/node/pull/36696 ----------------------------------- PR info ------------------------------------ Title build, tools, win: check if python is a executable program (#36696) Author Himself65 (@Himself65) Branch Himself65:20201231-fix-find_python -> nodejs:master Labels windows, install, build, tools, author ready Commits 2 - build, tools, win: check if python is a executable program - fixup! Committers 1 - himself65 PR-URL: https://github.com/nodejs/node/pull/36696 Fixes: https://github.com/nodejs/node/issues/36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update Reviewed-By: Jiawen Geng Reviewed-By: James M Snell ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36696 Fixes: https://github.com/nodejs/node/issues/36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update Reviewed-By: Jiawen Geng Reviewed-By: James M Snell -------------------------------------------------------------------------------- ℹ This PR was created on Wed, 30 Dec 2020 16:26:57 GMT ✔ Approvals: 2 ✔ - Jiawen Geng (@gengjiawen): https://github.com/nodejs/node/pull/36696#pullrequestreview-809374093 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/36696#pullrequestreview-866765180 ⚠ This PR was closed on Sat, 29 Jan 2022 01:40:15 GMT ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-01-29T01:20:39Z: https://ci.nodejs.org/job/node-test-pull-request/42001/ - Querying data for job/node-test-pull-request/42001/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/1764466725 |
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters. Fixes: nodejs#36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update PR-URL: nodejs#36696 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters. Fixes: #36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update PR-URL: #36696 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters. Fixes: #36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update PR-URL: #36696 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters. Fixes: #36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update PR-URL: #36696 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters. Fixes: #36694 Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update PR-URL: #36696 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Fixes: #36694
After Windows 10 version 1903, placeholder files named "python.exe" and "python3.exe" appear, not executable programs, and open the MS Store when running without parameters.
Refs: https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update
before install python

after

Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes