[wpt-sync] Sync PR 29306 - conformance-checkers: Use Python 3 in Makefile; don't override envars
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox91 fixed)
| Tracking | Status | |
|---|---|---|
| firefox91 | --- | fixed |
People
(Reporter: wpt-sync, 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.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
| bugherder | ||
Description
•