+65
−6
Loading
There's an existing algorithm to check if a virtualenv's installed packages are up-to-date with its requirements. This patch extracts that logic so that, in cases where we can't automatically download needed pip packages, we can at least assert that the ones installed to the system Python are sufficient to meet our requirements. The current only case in which this system-checking logic is applied is when starting the Mach virtualenv and the `MOZ_AUTOMATION` or `MACH_USE_SYSTEM_PYTHON` environment variable is set. Differential Revision: https://phabricator.services.mozilla.com/D122890