bootstrap: Improve pip dependency resolution (#31026)

We can now use the "new" pip resolver which should prevent the
installation of conflicting packages. Also, take this opportunity to
make bootstrap more resilient. Hash all dependencies to detect
situations where a newer marker file has been installed, but for an
older branch. This should ensure that dependencies are up to date even
when switching back and forth between older and new branches.

This also updates some dependencies to be the same as the ones used for
WPT tests, which is an issue caught be the resolver.

Fixes #10611.
This commit is contained in:
Martin Robinson 2024-01-15 14:16:42 +01:00 committed by GitHub
parent 5d94fc6b70
commit 25a9f4560e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 30 deletions

View file

@ -3,8 +3,8 @@
blessings == 1.7
distro == 1.4
mozinfo == 1.2.1
mozlog == 7.1.0
mozinfo == 1.2.3
mozlog == 8.0.0
setuptools == 68.2.2; python_version >= "3.8"
setuptools == 65.5.1; python_version < "3.8"
toml == 0.9.2
@ -27,7 +27,7 @@ pyOpenSSL == 23.0.0
PyGithub == 1.58.1
# For Python3 compatibility
six == 1.15
six == 1.16
# For sending build notifications.
notify-py == 0.3.42