Bug 1278196 - Explicitly install functools32 w/ jsonschema r=gps
authorWilliam Lachance <wlachance@mozilla.com>
Mon, 18 Jul 2016 13:12:18 -0400
changeset 346272 9299e5e388d4846246bca9af94ac391d458b7008
parent 346271 b92567e80d1e3b4b18cd1bb7534735417a27d3d8
child 346273 900b411563be89ee5ce4baef0ec38aafeec0ab1b
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1278196
milestone50.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 1278196 - Explicitly install functools32 w/ jsonschema r=gps MozReview-Commit-ID: EDIayiXQwJk
testing/mozharness/mozharness/base/python.py
--- a/testing/mozharness/mozharness/base/python.py
+++ b/testing/mozharness/mozharness/base/python.py
@@ -461,16 +461,22 @@ class ResourceMonitoringMixin(object):
         super(ResourceMonitoringMixin, self).__init__(*args, **kwargs)
 
         self.register_virtualenv_module('psutil>=3.1.1', method='pip',
                                         optional=True)
         self.register_virtualenv_module('mozsystemmonitor==0.3',
                                         method='pip', optional=True)
         self.register_virtualenv_module('jsonschema==2.5.1',
                                         method='pip')
+        # explicitly install functools32, because some slaves aren't using
+        # a version of pip recent enough to install it automatically with
+        # jsonschema (which depends on it)
+        # https://github.com/Julian/jsonschema/issues/233
+        self.register_virtualenv_module('functools32==3.2.3-2',
+                                        method='pip')
         self._resource_monitor = None
 
         # 2-tuple of (name, options) to assign Perfherder resource monitor
         # metrics to. This needs to be assigned by a script in order for
         # Perfherder metrics to be reported.
         self.resource_monitor_perfherder_id = None
 
     @PostScriptAction('create-virtualenv')