Closed
Bug 1662787
Opened 5 years ago
Closed 5 years ago
Provide an environment variable to force running a `mach` command with Python 2
Categories
(Firefox Build System :: Mach Core, task)
Firefox Build System
Mach Core
Tracking
(firefox82 fixed)
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: rstewart, Assigned: rstewart)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•5 years ago
|
||
This is only useful for mach
commands that we want to run with Python 3 by default, but for which running with Python 2 is still useful. We now have one such command: python-test
.
In mach
, switch on the presence of the MACH_PY2
environment variable. We only want to allow this for python-test
, so do that sanity check in mach
as well.
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ab3e17f2944
Provide an environment variable to force running `mach python-test` command with Python 2 r=froydnj,firefox-build-system-reviewers,mhentges
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•