gecko-dev/python
Mitchell Hentges 67be954a8c Bug 1739177: Add requirements.pths_as_absolute() r=ahal
There were a bunch of locations where we were doing path shenanigans
with `requirements.pth/.vendored` items.

There was a bit of complexity because we were specifically making each
`pthfile` line be a relative path to support moving the Firefox
topsrcdir without causing issues.

However, now that we're more intelligent about checking if `pthfile`
lines are up-to-date (and since moving your topsrcdir will still require
re-generating the Mach virtualenv), this behaviour became less useful.

So, generalize `MachEnvRequirements` -> "sys.path lines" logic and
reuse it everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D129693
2021-11-04 14:35:08 +00:00
..
devtools/migrate-l10n
docs Bug 1713610: Require PyPI-vendored packages be added to requirements.in r=ahal 2021-06-10 19:19:06 +00:00
gdbpp/gdbpp
l10n Bug 1706650 - Split localization item for update banner label for each notification. r=zbraniecki,fluent-reviewers,Gijs 2021-10-26 18:32:36 +00:00
lldbutils
mach Bug 1739177: Add requirements.pths_as_absolute() r=ahal 2021-11-04 14:35:08 +00:00
mozboot Bug 1686137 - Replace 'wget' with 'requests' in install_mobile_android_sdk_or_ndk to remove the external dependency on 'wget' r=mhentges,firefox-build-system-reviewers g=firefox-build-system-reviewers 2021-11-03 15:41:14 +00:00
mozbuild Bug 1529082 - Use bundletool to install apps as aab packages. r=ahal,owlish 2021-11-02 18:56:28 +00:00
mozlint Bug 1723117 - Limit max_workers value of ProcessPoolExecutor to 61 r=firefox-build-system-reviewers,mhentges 2021-09-03 22:27:05 +00:00
mozperftest Bug 1739124: Add new requirements to mozperftest r=perftest-reviewers,sparky 2021-11-03 19:50:24 +00:00
mozrelease Bug 1733950 - Update vendored copies of 'taskcluster', 'taskcluster_urls' and 'slugid', r=aki 2021-10-07 15:22:54 +00:00
mozterm
mozversioncontrol Bug 1717651 - Removed instances of 'ensure_subprocess_env' from python/mozversioncontrol r=mhentges 2021-07-15 21:34:08 +00:00
mach_commands.py Bug 1739177: Add requirements.pths_as_absolute() r=ahal 2021-11-04 14:35:08 +00:00
moz.build Bug 1709697 - Allow to repackage into MSIX. r=firefox-build-system-reviewers,mhowell,bhearsum,glandium 2021-08-05 02:58:14 +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