Closed Bug 1657719 Opened 6 months ago Closed 5 months ago

`mach python-test` is creating two py3 venvs: "init_py3" and "init_py3_py3"

Categories

(Testing :: Python Test, defect)

Default
defect

Tracking

(firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mhentges, Assigned: mhentges)

Details

Attachments

(1 file)

To reproduce:

  1. ./mach python-test --python 3 --subsuite mach
  2. ls obj-*/_virtualenvs/
Assignee: nobody → mhentges
Status: NEW → ASSIGNED

To ensure that a python 3 virtualenv exists for tests, python-test will ensure that it's created (regardless of which version of python is currently in use).
However, the existing logic was incorrectly creating an "extra py3 virtualenv", even if currently running python 3 and having already created a "first" py3 virtualenv

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0fa4371f24bf
Don't create init_py3_py3 venv in python-test r=firefox-build-system-reviewers,rstewart
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.