Bug 1440437 - temporary fix/workaround for tp6 win production, r=jmaher
MozReview-Commit-ID: KoOlq3HKSBb
--- a/testing/mozharness/mozharness/mozilla/testing/talos.py
+++ b/testing/mozharness/mozharness/mozilla/testing/talos.py
@@ -493,17 +493,17 @@ class Talos(TestingMixin, MercurialScrip
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")
if 'win' in self.platform_name():
- self.py3_install_modules(modules=['mitmproxy'])
+ self.py3_install_modules(modules=['mitmproxy==2.0.2'])
self.mitmdump = os.path.join(self.py3_path_to_executables(), 'mitmdump')
else:
# on macosx and linux64 we use a prebuilt mitmproxy release binary
mitmproxy_path = os.path.join(self.talos_path, 'talos', 'mitmproxy')
self.mitmdump = os.path.join(mitmproxy_path, 'mitmdump')
if not os.path.exists(self.mitmdump):
# download the mitmproxy release binary; will be overridden by the --no-download
if '--no-download' not in self.config['talos_extra_options']: