Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 25 Jun 2019 16:50:50 +0000
changeset 542922 bd4a8fb77389fc0f47979529bcb206c3064808f2
parent 542921 14659558eaad0da11cfe567cf9304ef67d666ddf
child 542923 cac1aaff7d7b51da082004488956610f881629e5
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1560826
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander Differential Revision: https://phabricator.services.mozilla.com/D35755
python/mozboot/mozboot/mozillabuild.py
--- a/python/mozboot/mozboot/mozillabuild.py
+++ b/python/mozboot/mozboot/mozillabuild.py
@@ -47,17 +47,20 @@ class MozillaBuildBootstrapper(BaseBoots
 
     def which(self, name, *extra_search_dirs):
         return BaseBootstrapper.which(self, name + '.exe', *extra_search_dirs)
 
     def install_system_packages(self):
         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
 
     def install_browser_packages(self):
         pass
 
     def install_browser_artifact_mode_packages(self):