mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00

At the moment installing Python packages with native code is done by calling `pip install <package>` and does not enforce any SHA hash for installed dependencies, nor does it enforce a specific version to be installed. This commit adds `requirements.in` and `requirements.txt` files for native packages and changes these packages to be installed by running `pip install` and passing the requirements file for the package. This allows us to pin the SHA of the various dependencies. The `.txt` files are generated using `pip-compile`. We also add the new requirements files to the sparse profile for `mach`. Differential Revision: https://phabricator.services.mozilla.com/D99912