Closed Bug 1365080 Opened 4 years ago Closed 4 years ago
_exe('python') with sys .executable
59 bytes, text/x-review-board-request
There is a handful of mozharness code doing "self.query_exe('python')". In bug 1361912, I nuked "self.query_exe('python2.7')" and replaced it (and corresponding config entries) with "sys.executable." We should do the same for "python". Also, "python" may resolve to Python 2.6 in some environment. So anywhere we are running the mozharness script as Python 2.7 could "downgrade" to Python 2.6 with the current pattern. This is responsible for a backout in bug 1361912, which is how I discovered this behavior.
Comment on attachment 8867920 [details] Bug 1365080 - Replace self.query_exe('python') with sys.executable; https://reviewboard.mozilla.org/r/139448/#review149900
Attachment #8867920 - Flags: review?(ted) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/b6f04897fdda Replace self.query_exe('python') with sys.executable; r=ted
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/df3950d5ce91 Replace self.query_exe('python') with sys.executable; r=ted
Backout by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/67979a427b75 Backed out changeset b6f04897fdda for mass build bustage
similar bustage as to: https://bugzilla.mozilla.org/show_bug.cgi?id=1361912#c25
You need to log in before you can comment on or make changes to this bug.