Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander

Differential Revision: https://phabricator.services.mozilla.com/D35755

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-06-25 16:50:50 +00:00
parent 9101a37a23
commit c836cba1d4

View File

@ -52,7 +52,10 @@ class MozillaBuildBootstrapper(BaseBootstrapper):
pass
def upgrade_mercurial(self, current):
self.pip_install('mercurial')
# Mercurial upstream sometimes doesn't upload wheels, and building
# from source requires MS Visual C++ 9.0. So we force pip to install
# the last version that comes with wheels.
self.pip_install('mercurial', '--only-binary', 'mercurial')
def upgrade_python(self, current):
pass