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)

task

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: rstewart, Assigned: rstewart)

Details

Attachments

(1 file)

No description provided.

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
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: