RESOLVED FIXED Bug 231587
Invoke build scripts with python3 explicitly
https://bugs.webkit.org/show_bug.cgi?id=231587
Summary Invoke build scripts with python3 explicitly
Alexey Proskuryakov
Reported 2021-10-12 10:00:09 PDT
To use Python3 on macOS, we need to invoke it as python3.
Attachments
proposed patch (49.89 KB, patch)
2021-10-12 10:55 PDT, Alexey Proskuryakov
jbedard: review+
ap: commit-queue-
Alexey Proskuryakov
Comment 1 2021-10-12 10:55:40 PDT
Created attachment 440958 [details] proposed patch
Jonathan Bedard
Comment 2 2021-10-12 10:56:48 PDT
(In reply to Alexey Proskuryakov from comment #1) > Created attachment 440958 [details] > proposed patch Looks reasonable, let's let EWS double-check we're not going to break any builds
EWS Watchlist
Comment 3 2021-10-12 10:56:53 PDT
This patch modifies the JS builtins code generator. Please ensure that you have rebaselined any generator test results (i.e., by running `Tools/Scripts/run-builtins-generator-tests --reset-results`) This patch modifies the inspector protocol generator. Please ensure that you have rebaselined any generator test results (i.e., by running `Tools/Scripts/run-inspector-generator-tests --reset-results`)
Michael Catanzaro
Comment 4 2021-10-12 10:59:35 PDT
Comment on attachment 440958 [details] proposed patch This is good for Linux too. Currently some distros have /usr/bin/python -> /usr/bin/python2 and others have /usr/bin/python -> /usr/bin/python3 and others just decided to delete /usr/bin/python altogether to avoid the confusion. Explicit is better than implicit....
Alexey Proskuryakov
Comment 5 2021-10-12 11:04:36 PDT
This doesn't touch ThirdParty yet, that will be a separate patch.
Alexey Proskuryakov
Comment 6 2021-10-13 09:43:44 PDT
Comment on attachment 440958 [details] proposed patch Windows build succeeded on retry, so must have been either an unrelated glitch, or a misconfigured bot. cq+
Alexey Proskuryakov
Comment 7 2021-10-13 09:44:16 PDT
Comment on attachment 440958 [details] proposed patch Actually no, I need to land this manually.
Alexey Proskuryakov
Comment 8 2021-10-13 09:52:30 PDT
Committed r284096.
Sam Sneddon [:gsnedders]
Comment 9 2023-08-31 05:46:14 PDT
*** Bug 226615 has been marked as a duplicate of this bug. ***
Sam Sneddon [:gsnedders]
Comment 10 2023-08-31 05:46:44 PDT
*** Bug 226631 has been marked as a duplicate of this bug. ***
Sam Sneddon [:gsnedders]
Comment 11 2023-08-31 05:49:54 PDT
*** Bug 226617 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.