gecko-dev/python
James Graham 7814585840 Bug 1695263 - Vendor in a copy of wptserve that's still Python 2 compatible, r=marionette-reviewers,whimboo
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
2021-03-03 10:03:05 +00:00
..
devtools/migrate-l10n Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
docs
gdbpp/gdbpp Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
l10n Backed out changeset 44ff4cb38ce1 (bug 1694678) for failures on browser_sync.js. CLOSED TREE 2021-03-03 09:56:35 +02:00
lldbutils Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
mach Bug 1694646 - Remove old build telemetry. r=mhentges 2021-03-02 15:04:27 +00:00
mozboot Bug 1688062 - Update target SDK to API 30. r=esawin,jnicol 2021-03-01 19:12:16 +00:00
mozbuild Bug 1695263 - Vendor in a copy of wptserve that's still Python 2 compatible, r=marionette-reviewers,whimboo 2021-03-03 10:03:05 +00:00
mozlint Bug 1591991 Add lint Fixed count support to linters r=sylvestre 2021-02-08 19:00:10 +00:00
mozperftest Bug 1672422 - Default to mozperftest as the framework instead of browsertime r=perftest-reviewers,sparky 2021-03-01 15:32:10 +00:00
mozrelease Bug 1648832: Make updater/Balrog support AArch64 macOS. r=aki 2020-11-13 18:41:56 +00:00
mozterm Bug 1680345 - python3 - Require six 1.13.0 in non third_party and non web-platform packages r=jgraham,jmaher 2020-12-03 22:54:35 +00:00
mozversioncontrol Backed out changeset 5153f0eaf518 (bug 1676533) as requested by glandium. CLOSED TREE 2020-12-02 07:58:47 +02:00
mach_commands.py Bug 1682959 - Remove legacy_resolver support from mach. r=mhentges 2021-02-25 18:37:00 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025