Closed Bug 1665444 Opened 4 years ago Closed 4 years ago

|mach install-moz-phab| doesn't work if a virtualenv is active

Categories

(Firefox Build System :: Mach Core, defect)

defect

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mhentges, Assigned: mhentges)

References

Details

Attachments

(1 file)

If moz-phab isn't installed, a virtualenv is in use, and ./mach install-moz-phab is run, the following error is printed:

ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

Assignee: nobody → mhentges
Status: NEW → ASSIGNED
Blocks: 1665232

Virtual environments don't allow user installations.
When installing moz-phab, check if in a venv before adding the --user
flag.

Attachment #9176121 - Attachment description: Bug 1665444: Don't install moz-phab with --user if in venv → Bug 1665444: Don't `install-moz-phab` with --user if in venv
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0aba2f512edf
Don't `install-moz-phab` with --user if in venv r=firefox-build-system-reviewers,rstewart
Status: ASSIGNED → RESOLVED
Closed: 4 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

Created:
Updated:
Size: