Closed Bug 1554759 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16670 - [docs] Add information on virtualenv

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync upstream])

Sync web-platform-tests PR 16670 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/16670
Details from upstream follow.

Mike Pennisi <mike@mikepennisi.com> wrote:

[docs] Add information on virtualenv

Many of the subcommands of the WPT CLI require the virtualenv utility,
but the installation instructions did not instruct contributors to
install it. Add an installation step describing how to install the
dependency.


This is intended to resolve gh-6565.

I initially wrote this patch to assume Python 2.7.9 since that would allow us to take the presence of Pip for granted. However, it seems like older (but still common) releases of macOS may bundle prior versions of Python. If that's the case, it seems better to add a potentially-unnecessary invocation of easy_install than to try to guide users on updating their system Python.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5de9eb5dce51
[wpt PR 16670] - [docs] Add information on virtualenv, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Whiteboard: [wptsync downstream error] → [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.