mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
7814585840
Upstream wptserve just switched to Python 3 only. That's fine for web-platform-tests, but it turns out that some marionette harness tests are also using wptserve and are still on Python 2. Since fixing marionette harness turns out to be non-trivial and this blocks other wpt work, this patch does the following: * Temporarily vendors the last wptserve revision that works with Python 2 in to testing/web-platform/mozilla/tests/tools/wptserve_py2 * Configures the mach virtualenv to use that copy for Python 2 modules only. * Configures the test packaging system to also put that copy in the common tests zip. Requirements files are updated to use either the Python 2 version or the Pyhton 3 version as required. Differential Revision: https://phabricator.services.mozilla.com/D106764
21 lines
639 B
YAML
21 lines
639 B
YAML
---
|
|
black:
|
|
description: Reformat python
|
|
exclude:
|
|
- gfx/harfbuzz/src/meson.build
|
|
- layout/style/ServoCSSPropList.mako.py
|
|
- python/mozbuild/mozbuild/fork_interpose.py
|
|
- python/mozbuild/mozbuild/test/frontend/data/reader-error-syntax/moz.build
|
|
- testing/mozharness/configs/test/test_malformed.py
|
|
- testing/web-platform/mozilla/tests/tools/wptserve_py2
|
|
- testing/web-platform/tests
|
|
extensions:
|
|
- build
|
|
- configure
|
|
- py
|
|
support-files:
|
|
- 'tools/lint/python/**'
|
|
type: external
|
|
payload: python.black:lint
|
|
setup: python.black:setup
|