From 904e7471a5f5c00ba8e81e878e6d2371926b29e6 Mon Sep 17 00:00:00 2001 From: Tim Pierce Date: Fri, 16 Jan 2015 14:51:28 -0500 Subject: [PATCH] 4922: force google-api-python-client install Install google-api-python-client with 'pip install -I' to fix the case where the Docker image already has an older version of google-api-python-client installed. --- sdk/cli/bin/crunch-job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job index 3539a57a03..c719eee1c0 100755 --- a/sdk/cli/bin/crunch-job +++ b/sdk/cli/bin/crunch-job @@ -1846,7 +1846,7 @@ if (@ARGV) { if ((!$venv_built) and (-d $python_src) and can_run("virtualenv")) { shell_or_die("virtualenv", "--quiet", "--system-site-packages", "--python=python2.7", $venv_dir); - shell_or_die("$venv_dir/bin/pip", "--quiet", "install", $python_src); + shell_or_die("$venv_dir/bin/pip", "--quiet", "install", "-I", $python_src); $venv_built = 1; $Log->("Built Python SDK virtualenv"); } -- 2.39.5