mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 09:16:58 -10:00
The pip function `check_if_exists` returns True if any version of the named package exists, and sets attributes on the requirement object based on whether the correct version exists. Prior to this patch, we were interpreting a `True` result from `check_if_exists` to mean the named package did not need to be installed or updated at all, causing the build system virtualenv to use incorrect dependency versions and fail in some cases. This was found in the case of attempting an artifact build on a system where mozregression was installed locally, resulting in an incompatible version of the taskcluster client being used by the artifact code. MozReview-Commit-ID: 5Q54PsUIrKR