Bug 1453658 - [talos] Install cffi before trying to install mitmproxy dependencies. r=bhearsum, a=test-only DEVEDITION_60_0b13_BUILD1 DEVEDITION_60_0b13_RELEASE FENNEC_60_0b13_BUILD1 FENNEC_60_0b13_RELEASE FIREFOX_60_0b13_BUILD1 FIREFOX_60_0b13_RELEASE
authorTom Prince <mozilla@hocat.ca>
Thu, 12 Apr 2018 10:18:22 -0600
changeset 783689 1cf6b6ff8bd2d01bf14175640971f1c28d1ea7fe
parent 783688 b36fb5458ecbde976a48ec0644d3b88154325eb8
child 783690 1c12e0428ff13c0b07a612d48f7043e4931e74c1
push id106755
push userbmo:jlorenzo@mozilla.com
push dateTue, 17 Apr 2018 15:40:10 +0000
reviewersbhearsum, test-only
bugs1453658
milestone60.0
Bug 1453658 - [talos] Install cffi before trying to install mitmproxy dependencies. r=bhearsum, a=test-only 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")