Closed Bug 1715495 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29306 - conformance-checkers: Use Python 3 in Makefile; don't override envars

Categories

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

task

Tracking

(firefox91 fixed)

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Joanmarie Diggs <jdiggs@igalia.com>' wrote:

conformance-checkers: Use Python 3 in Makefile; don't override envars

Makefile uses the --sort-keys command line option which was introduced
in Python 3.5. Setting PYTHON to "python" means make will fail in
environments where Python 2 is the default. Furthermore, setting it
unconditionally means that users cannot work around this in their own
environment.

Set PYTHON to "python3" and also replace the = operator with ?= so that
variables are only set by Makefile when not already set locally. (Thanks
gsnedders for the operator tip!)

Fixes #29196.

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2f65efa9659c
[wpt PR 29306] - conformance-checkers: Use Python 3 in Makefile; don't override envars, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.