Bug 1240993 - Remove deprecated --download-cache flag from pip invocation, r=bustage, a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 19 Jan 2016 22:02:34 -0500
changeset 280476 2e50b83954e62d52d2ef294e850c4380d457d96a
parent 280475 b67316254602a63bf4e568198a5c7d3288a9db27
child 280486 ffa95b144e96a835894e409e3391abd8da4ed994
child 280540 c6c9487c4236fa5a323be109922892dc5398d543
child 280656 765cf8a44b5a472f99ca93bf16c94761ce458861
push id29916
push usernigelbabu@gmail.com
push dateWed, 20 Jan 2016 07:41:12 +0000
treeherdermozilla-central@2e50b83954e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage, bustage
bugs1240993
milestone46.0a1
first release with
nightly linux32
2e50b83954e6 / 46.0a1 / 20160120030239 / files
nightly linux64
2e50b83954e6 / 46.0a1 / 20160120030239 / files
nightly mac
2e50b83954e6 / 46.0a1 / 20160120030239 / files
nightly win32
2e50b83954e6 / 46.0a1 / 20160120030239 / files
nightly win64
2e50b83954e6 / 46.0a1 / 20160120030239 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1240993 - Remove deprecated --download-cache flag from pip invocation, r=bustage, a=bustage CLOSED TREE
testing/mozharness/mozharness/base/python.py
--- a/testing/mozharness/mozharness/base/python.py
+++ b/testing/mozharness/mozharness/base/python.py
@@ -216,19 +216,16 @@ class VirtualenvMixin(object):
                 self.fatal("Must specify module and/or requirements")
             pip = self.query_python_path("pip")
             if c.get("verbose_pip"):
                 command = [pip, "-v", "install"]
             else:
                 command = [pip, "install"]
             if no_deps:
                 command += ["--no-deps"]
-            virtualenv_cache_dir = c.get("virtualenv_cache_dir", os.path.join(venv_path, "cache"))
-            if virtualenv_cache_dir:
-                command += ["--download-cache", virtualenv_cache_dir]
             # To avoid timeouts with our pypi server, increase default timeout:
             # https://bugzilla.mozilla.org/show_bug.cgi?id=1007230#c802
             command += ['--timeout', str(c.get('pip_timeout', 120))]
             for requirement in requirements:
                 command += ["-r", requirement]
             if c.get('find_links') and not c["pip_index"]:
                 command += ['--no-index']
             for opt in global_options: