gecko-dev/python
Mitchell Hentges 53c89c581f Bug 1766497: Mach: use venv instead of virtualenv r=ahal
Brew's Python 3.10 causes `virtualenv==20.7.2` to produce a wonky folder
structure (`$venv/opt/homebrew/lib/python3.10/site-packages`?).

This is likely fixed with newer `virtualenv`, but the simpler workaround
here is to use `venv` instead now that Python 3 is always used.

Adds `python3-venv` to docker image so that tests and debian-based tasks
can leverage it.

Differential Revision: https://phabricator.services.mozilla.com/D144872
2022-05-04 14:17:04 +00:00
..
devtools/migrate-l10n Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky 2022-02-03 18:34:58 +00:00
docs Bug 1659593: Make ./mach vendor python cross-platform r=ahal 2022-04-07 18:00:28 +00:00
gdbpp/gdbpp
l10n Bug 1507471 - Migrate messages from mozapps/extensions/extensions.properties to Fluent. r=Gijs,fluent-reviewers,robwu 2022-05-04 12:12:49 +00:00
lldbutils
mach Bug 1766497: Mach: use venv instead of virtualenv r=ahal 2022-05-04 14:17:04 +00:00
mozboot Bug 1764836: Mercurial update is now compatible with MozillaBuild 4.0 r=ahal 2022-04-19 19:10:11 +00:00
mozbuild Bug 1767335: Fix mach vendor pattern replacement r=jewilde 2022-05-03 19:09:12 +00:00
mozlint Bug 1756224: Update MozlintParser docs about default paths r=ahal 2022-03-09 15:52:48 +00:00
mozperftest Bug 1764466: Fix perftest-test invocation of modern pytest r=perftest-reviewers,sparky 2022-04-13 20:07:17 +00:00
mozrelease Bug 1755088: Replace all usages of unittest deprecated aliases r=webdriver-reviewers,ahal,whimboo 2022-02-17 15:21:41 +00:00
mozterm
mozversioncontrol Bug 1732795: Resolve upcoming pytest deprecations r=webdriver-reviewers,ahal,whimboo 2022-02-18 14:27:18 +00:00
sites Bug 1763695: Move python-test poetry to ini "requirements" r=ahal 2022-04-19 19:10:38 +00:00
mach_commands.py Bug 1717104: Activate virtualenv before running command r=perftest-reviewers,ahal,AlexandruIonescu 2022-03-23 14:50:45 +00:00
moz.build Bug 1724274: Move virtualenv dependency manifests to python/virtualenvs r=ahal 2022-03-24 14:04:34 +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