Bug 1685573 [wpt PR 27081] - Make --py3 the default for 'wpt', a=testonly
commit208bfe570d098c7153ccc1e2b9d120a9104f7906
authorStephen McGruer <smcgruer@chromium.org>
Fri, 15 Jan 2021 03:59:05 +0000 (15 03:59 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 15 Jan 2021 15:12:55 +0000 (15 15:12 +0000)
tree33318d3f3049a2432cc152cb53d06ee63ed0b722
parent3048d80d70b5b32c0a61d3537f65b6813e6d8be8
Bug 1685573 [wpt PR 27081] - Make --py3 the default for 'wpt', a=testonly

Automatic update from web-platform-tests
Make --py3 the default for 'wpt' (#27081)

As per
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/py_3.md,
step #2 of the transition to Python 3-only is to make 'wpt ...' commands
run in Python 3 by default.

Passing --py2 will now be necessary to run under Python 2. (Until ~Feb
2021, when we will remove py2 support entirely).

This does affect some CI runs. Cases where they already specified py3
will remain py3. Cases which are designed to run under py2 had `--py2`
added. Cases that didn't currently specify and aren't version specific
are upgraded from py2 to py3 (one example is Azure Pipelines Mac
infrastructure tests.)

Some Azure Pipelines helper scripts are used for both py2 and py3 tasks.
As a simple way to keep them working, `--py2` is used for them as it is
always available.
--

wpt-commits: 61d85c8f90cad174dd83d97399b894554705915e
wpt-pr: 27081
testing/web-platform/tests/.azure-pipelines.yml
testing/web-platform/tests/tools/ci/azure/update_hosts.yml
testing/web-platform/tests/tools/ci/azure/update_manifest.yml
testing/web-platform/tests/tools/ci/ci_wptrunner_infrastructure.sh
testing/web-platform/tests/tools/ci/tc/decision.py
testing/web-platform/tests/tools/ci/tc/tasks/test.yml
testing/web-platform/tests/wpt