diff options
author | 2018-06-06 13:35:35 -0700 | |
---|---|---|
committer | 2018-06-06 13:35:35 -0700 | |
commit | 9f1e508eab90262cf932d7ec0bfdf67cc8d69278 (patch) | |
tree | f677f49defb6b0689d587d008479d598cfbf0aa3 | |
parent | 60c479deab1875b8c6472603aeb6391dc83fd1e2 (diff) |
Force downgrade setuptools for tests after tf whl is installed.
-rwxr-xr-x | tensorflow/tools/ci_build/builds/pip.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 + } ################################################################################ |