From 9f1e508eab90262cf932d7ec0bfdf67cc8d69278 Mon Sep 17 00:00:00 2001 From: Amit Patankar Date: Wed, 6 Jun 2018 13:35:35 -0700 Subject: Force downgrade setuptools for tests after tf whl is installed. --- tensorflow/tools/ci_build/builds/pip.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tensorflow/tools/ci_build/builds/pip.sh b/tensorflow/tools/ci_build/builds/pip.sh index 76210ba463..883bb93647 100755 --- a/tensorflow/tools/ci_build/builds/pip.sh +++ b/tensorflow/tools/ci_build/builds/pip.sh @@ -315,7 +315,6 @@ create_activate_virtualenv_and_install_tensorflow() { # Upgrade pip so it supports tags such as cp27mu, manylinux1 etc. echo "Upgrade pip in virtualenv" pip install --upgrade pip==9.0.1 - pip install --upgrade setuptools==39.1.0 # Force tensorflow reinstallation. Otherwise it may not get installed from # last build if it had the same version number as previous build. @@ -323,6 +322,10 @@ create_activate_virtualenv_and_install_tensorflow() { pip install -v ${PIP_FLAGS} ${WHL_PATH} || \ die "pip install (forcing to reinstall tensorflow) FAILED" echo "Successfully installed pip package ${TF_WHEEL_PATH}" + + # Force downgrade setuptools. + pip install --upgrade setuptools==39.1.0 + } ################################################################################ -- cgit v1.2.3