Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
Fix Python detection when depot_tools are in PATH in Windows#22539
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
guybedford commented Aug 26, 2018 • edited by BridgeAR
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by BridgeAR
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented Aug 26, 2018
bzoz left a comment
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.
Can confirm: python.bat in PATH breaks vcbuild, this fixes it.
BridgeAR commented Aug 31, 2018
The commit message has to be fixed to adhere to the guidelines (e.g., adding @nodejs/platform-windows @nodejs/build-files PTAL |
refack commented Aug 31, 2018
@guybedford could you add a inline comment as to why the added |
addaleax commented Sep 2, 2018
(This was not |
BridgeAR commented Sep 2, 2018
@addaleax sorry, I missed to start the CI. |
addaleax commented Sep 2, 2018
@guybedford You’ll need to rebase this to get rid of the CI failures here, sorry. |
jasnell commented Sep 10, 2018
Ping @guybedford |
Trott commented Nov 21, 2018
Trott commented Nov 21, 2018
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/18851/ |
Trott commented Nov 21, 2018
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/18852/ |
PR-URL: nodejs#22539 Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
Trott commented Nov 21, 2018
Landed in 1d3e40d |
PR-URL: #22539 Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
PR-URL: #22539 Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
PR-URL: #22539 Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
PR-URL: nodejs#22539 Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
PR-URL: #22539 Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
PR-URL: #22539 Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
This fixes the detection of Python for me in Windows.
The issue is I've installed "depot_tools" in path for building v8, and as a result "depot_tools/python.bat" is being found instead and that then causes Node to say it can't find Python.
It's probably only affecting my case, but that is good enough for a PR for me :)
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes