`error: externally-managed-environment` with `mach install-moz-phab` on OS X / Homebrew Python 3.12+
Categories
(Firefox Build System :: Mach Core, defect, P3)
Tracking
(Not tracked)
People
(Reporter: shtrom, Unassigned)
References
Details
Homebrew-installed Python started marking the distro as externally managed since 3.12 https://github.com/orgs/Homebrew/discussions/3404#discussioncomment-8549228. This creates a similar issue to bug 1831442 and bug 1876182.
mach already installs MozPhab with --user and PIP_BREAK_SYSTEM_PACKAGES=1 for Linux, but not for OS X https://searchfox.org/mozilla-central/source/tools/phabricator/mach_commands.py#67-104. I think mach should now do a --user install on OS X, too.
Workaround in the meantime:
PIP_BREAK_SYSTEM_PACKAGES=1 ./mach install-moz-phab
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
I think the stack in bug 1697357 has resolved this.
:shtrom can you confirm?
| Reporter | ||
Comment 5•1 year ago
|
||
Bug 1956074 should have resolved this. I'm not sure about bug 1697357, but it seems to be a lot older. In any case, I suspect this is no longer an issue, and this bug can be closed as resolved.
Updated•1 year ago
|
Description
•