gecko-dev/build/common_virtualenv_packages.txt
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

109 lines
4.3 KiB
Plaintext

optional:packages.txt:comm/build/virtualenv_packages.txt
mozilla.pth:build
mozilla.pth:config
mozilla.pth:config/mozunit
mozilla.pth:dom/bindings
mozilla.pth:dom/bindings/parser
mozilla.pth:layout/tools/reftest
mozilla.pth:python/l10n
mozilla.pth:python/mach
mozilla.pth:python/mozboot
mozilla.pth:python/mozbuild
mozilla.pth:python/mozlint
mozilla.pth:python/mozperftest
mozilla.pth:python/mozrelease
mozilla.pth:python/mozterm
mozilla.pth:python/mozversioncontrol
mozilla.pth:taskcluster
mozilla.pth:testing
mozilla.pth:testing/condprofile
mozilla.pth:testing/firefox-ui/harness
mozilla.pth:testing/marionette/client
mozilla.pth:testing/marionette/harness
mozilla.pth:testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py
mozilla.pth:testing/marionette/puppeteer/firefox
packages.txt:testing/mozbase/packages.txt
mozilla.pth:testing/raptor
mozilla.pth:testing/talos
mozilla.pth:testing/web-platform
mozilla.pth:testing/web-platform/tests/tools/six
mozilla.pth:testing/web-platform/tests/tools/third_party/certifi
mozilla.pth:testing/web-platform/tests/tools/third_party/h2
mozilla.pth:testing/web-platform/tests/tools/third_party/hpack
mozilla.pth:testing/web-platform/tests/tools/third_party/html5lib
mozilla.pth:testing/web-platform/tests/tools/third_party/hyperframe
mozilla.pth:testing/web-platform/tests/tools/third_party/pywebsocket3
mozilla.pth:testing/web-platform/tests/tools/third_party/webencodings
python3:mozilla.pth:testing/web-platform/tests/tools/wptserve
python2:mozilla.pth:testing/web-platform/mozilla/tests/tools/wptserve_py2
mozilla.pth:testing/web-platform/tests/tools/wptrunner
mozilla.pth:testing/xpcshell
mozilla.pth:third_party/python/appdirs
mozilla.pth:third_party/python/atomicwrites
mozilla.pth:third_party/python/attrs/src
python2:mozilla.pth:third_party/python/backports
mozilla.pth:third_party/python/blessings
mozilla.pth:third_party/python/cbor2
mozilla.pth:third_party/python/Click
mozilla.pth:third_party/python/compare-locales
mozilla.pth:third_party/python/cookies
mozilla.pth:third_party/python/cram
mozilla.pth:third_party/python/diskcache
mozilla.pth:third_party/python/distro
mozilla.pth:third_party/python/dlmanager
mozilla.pth:third_party/python/ecdsa/src
python2:mozilla.pth:third_party/python/enum34
mozilla.pth:third_party/python/esprima
mozilla.pth:third_party/python/fluent.migrate
mozilla.pth:third_party/python/fluent.syntax
mozilla.pth:third_party/python/funcsigs
python2:mozilla.pth:third_party/python/futures
mozilla.pth:third_party/python/gyp/pylib
mozilla.pth:third_party/python/importlib_metadata
mozilla.pth:third_party/python/iso8601
mozilla.pth:third_party/python/Jinja2/src
mozilla.pth:third_party/python/jsmin
mozilla.pth:third_party/python/json-e
mozilla.pth:third_party/python/jsonschema
mozilla.pth:third_party/python/MarkupSafe/src
mozilla.pth:third_party/python/mock-1.0.0
mozilla.pth:third_party/python/mohawk
mozilla.pth:third_party/python/more-itertools
mozilla.pth:third_party/python/mozilla-version
mozilla.pth:third_party/python/pathlib2
mozilla.pth:third_party/python/pathspec
mozilla.pth:third_party/python/pep487/lib
mozilla.pth:third_party/python/pluggy
mozilla.pth:third_party/python/ply
mozilla.pth:third_party/python/py
mozilla.pth:third_party/python/pyasn1
mozilla.pth:third_party/python/pyasn1-modules
mozilla.pth:third_party/python/pylru
mozilla.pth:third_party/python/pyrsistent
mozilla.pth:third_party/python/pystache
mozilla.pth:third_party/python/pytest/src
mozilla.pth:third_party/python/python-hglib
mozilla.pth:third_party/python/pytoml
python2:mozilla.pth:third_party/python/PyYAML/lib
python3:mozilla.pth:third_party/python/PyYAML/lib3/
mozilla.pth:third_party/python/redo
mozilla.pth:third_party/python/requests
mozilla.pth:third_party/python/requests-unixsocket
mozilla.pth:third_party/python/responses
mozilla.pth:third_party/python/rsa
python2:mozilla.pth:third_party/python/scandir
mozilla.pth:third_party/python/sentry-sdk
mozilla.pth:third_party/python/six
mozilla.pth:third_party/python/slugid
mozilla.pth:third_party/python/taskcluster
mozilla.pth:third_party/python/taskcluster-urls
mozilla.pth:third_party/python/urllib3/src
mozilla.pth:third_party/python/voluptuous
mozilla.pth:third_party/python/yamllint
mozilla.pth:third_party/python/zipp
mozilla.pth:toolkit/components/telemetry/tests/marionette/harness
mozilla.pth:tools
mozilla.pth:tools/moztreedocs
mozilla.pth:xpcom/ds/tools
mozilla.pth:xpcom/idl-parser