mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00

Use `poetry` instead of `pip-compile`, then leverage `pip` to assert that there's no conflicts between environments. This enables simplifying `requirements.in`, since `colorama` is now automatically picked up, as vendoring is no longer linux-py3.6-specific. `poetry==1.2.0a2` was chosen because it was the first version that would include `pip`/`setuptools`/`wheel` in the `requirements.txt`, yet it was also the last version that supports Python 3.6 (as still used in CI in some spots). Sorry about the `requirements.txt` noise, that's because poetry doesn't sort hashes yet [1]. Fortunately, you can be confident in `requirements.txt` changes by checking that this patch doesn't include changes to vendored packages themselves (I'm including the results of a `./mach vendor python`). [1] https://github.com/python-poetry/poetry/issues/5408 Differential Revision: https://phabricator.services.mozilla.com/D142884