Bug 1453658: [talos] Install cffi before trying to install mitmproxy dependencies; r=bhearsum a=Aryx
authorTom Prince <mozilla@hocat.ca>
Thu, 12 Apr 2018 10:18:22 -0600
changeset 781261 16b880957aa7bdfb5bf66bab90cb9e35d5ebe558
parent 781260 ad1e2f797d20e85aa5d769cb45d931091b837fda
child 781262 516c4fb1e4b862b78a40c472e4d61dea79d51890
push id106259
push userkgupta@mozilla.com
push dateThu, 12 Apr 2018 19:54:47 +0000
reviewersbhearsum, Aryx
bugs1453658
milestone61.0a1
Bug 1453658: [talos] Install cffi before trying to install mitmproxy dependencies; r=bhearsum a=Aryx Differential Revision: https://phabricator.services.mozilla.com/D925
testing/mozharness/mozharness/mozilla/testing/talos.py
--- a/testing/mozharness/mozharness/mozilla/testing/talos.py
+++ b/testing/mozharness/mozharness/mozilla/testing/talos.py
@@ -484,16 +484,17 @@ class Talos(TestingMixin, MercurialScrip
     def setup_py3_virtualenv(self):
         """Mitmproxy needs Python 3.x; set up a separate py 3.x env here"""
         self.info("Setting up python 3.x virtualenv, required for mitmproxy")
         # first download the py3 package
         self.py3_path = self.fetch_python3()
         # now create the py3 venv
         self.py3_venv_configuration(python_path=self.py3_path, venv_path='py3venv')
         self.py3_create_venv()
+        self.py3_install_modules(["cffi==1.10.0"])
         requirements = [os.path.join(self.talos_path, 'talos', 'mitmproxy', 'mitmproxy_requirements.txt')]
         self.py3_install_requirement_files(requirements)
         # add py3 executables path to system path
         sys.path.insert(1, self.py3_path_to_executables())
 
     def install_mitmproxy(self):
         """Install the mitmproxy tool into the Python 3.x env"""
         self.info("Installing mitmproxy")