Closed Bug 1717651 Opened 3 years ago Closed 3 years ago

Remove "ensure_subprocess_env()"

Categories

(Firefox Build System :: Mach Core, task)

task

Tracking

(firefox-esr91 fixed, firefox92 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr91 --- fixed
firefox92 --- fixed

People

(Reporter: mhentges, Assigned: surajeet310)

References

Details

Attachments

(9 files, 1 obsolete file)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

Now that Mach always runs with Python 3, we should no longer need ensure_subprocess_env().

You can see the two definitions here (ignore the xpcshell one for now), and you can see all usages here.

Note that this may require some digging to ensure that inputs that are currently cleaned up with ensure_subprocess_env() are instead being properly cleaned up (or are already clean) earlier in the process.

See Also: → 1714688
Assignee: nobody → surajeet310
Keywords: leave-open

Since Python 2 is no longer used in virtualenv.py ,hence 'ensure_subprocess_env()' is obsolete.

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/13fbb4213ba3
Removed instances of 'ensure_subprocess_env()' from virtualenv.py r=mhentges

Since Python 2 is no longer used in python/mach, hence 'ensure_subprocess_env' is obsolete .

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f74deeb960bd
Removed instances of 'ensure_subprocess_env' from python/mach r=mhentges

Since Python 2 is no longer used in python/mozbuild, 'ensure_subprocess_env' is obsolete .

Attachment #9230964 - Attachment is obsolete: true

Since Python 2 is no longer used in python/mozbuild, hence 'ensure_subprocess_env' is obsolete.

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/912db2ad9575
Removed instances of 'ensure_subprocess_env' from python/mozbuild r=mhentges

Since Python 2 is no longer used in python/mozperftest, hence 'ensure_subprocess_env' is obsolete.

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a1fb684b26c1
Removed instances of 'ensure_subprocess_env' from python/mozperftest r=mhentges

Since Python 2 is no longer used in python/mozversioncontrol, hence 'ensure_subprocess_env' is obsolete.

Since Python 2 is no longer used in tools/lint/eslint,hence 'ensure_subprocess_env' is obsolete.

'ensure_subprocess_env' is obsolete now as Python 2 is no longer used in tools/tryselect/selectors .

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09f3f41ede3e
Removed instances of 'ensure_subprocess_env' from python/mozversioncontrol r=mhentges
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf8fd1ef8974
Removed instances of 'ensure_subprocess_env' from tools/tryselect/selectors r=mhentges

'ensure_subprocess_env()' is obsolete as Python 2 is no longer used in python/mozbuild .

See Also: → 1720951
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2a4fa947b58f
Removed instances of 'ensure_subprocess_env' from tools/lint/eslint r=mhentges

Since Python 2 is no longer used in testing/xpcshell, therefore 'ensure_subprocess_env' is obsolete.

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af4c8799d2e8
Removed 'ensure_subprocess_env()' from mozbuild/util.py r=mhentges
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0969515dee19
Removed instances of 'ensure_subprocess_env' from testing/xpcshell r=mhentges
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: