Remove user/system site-packages from import path when running nativecmds
Categories
(Firefox Build System :: Mach Core, enhancement, P2)
Tracking
(firefox90 fixed)
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: mhentges, Assigned: mhentges)
References
Details
Attachments
(1 file)
Including user/system site-packages allows failures when incompatible packages with the wrong versions are on the import path, such as for bug 1702377.
This only affects mach nativecmds, because regular mach commands only have access to their associated virtualenv.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
To avoid erroneously importing a package from the system, we remove
system site package.
This is another positive step towards further insulating the Firefox
build from the state of the environment.
This may cause failures if some mach commands have been sneakily
importing system packages instead of properly vendoring them.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
| bugherder | ||
Comment 4•5 years ago
|
||
Backed out for syntax failure (bug 1704838):
https://hg.mozilla.org/mozilla-central/rev/800d0896c6cd6d582c19ca29b0b5a14776cd1ec3
| Assignee | ||
Comment 5•5 years ago
|
||
Patch to resolve this is ready in Phabricator.
I'll land this again after the code freeze.
Comment 7•5 years ago
|
||
| bugherder | ||
Description
•