Upgrade pip version to 9.0.1; Prettier format of log text

* Upgrade pip version used in virtualenv created by the test-on-install to latest (9.0.1).
* Highlight step titles of pip builds with bold font.

PiperOrigin-RevId: 163732825
This commit is contained in:
Shanqing Cai 2017-07-31 12:42:27 -07:00 committed by TensorFlower Gardener
parent 5887cc10e7
commit 21faf19d03
2 changed files with 6 additions and 5 deletions

View File

@ -17,6 +17,7 @@
# Common Bash functions used by build scripts
COLOR_NC='\033[0m'
COLOR_BOLD='\033[1m'
COLOR_LIGHT_GRAY='\033[0;37m'
COLOR_GREEN='\033[0;32m'
COLOR_RED='\033[0;31m'

View File

@ -299,7 +299,7 @@ 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==8.1.2
pip install --upgrade pip==9.0.1
# Force tensorflow reinstallation. Otherwise it may not get installed from
# last build if it had the same version number as previous build.
@ -489,10 +489,10 @@ while [[ ${COUNTER} -lt "${#PIP_TASKS[@]}" ]]; do
INDEX=COUNTER
((INDEX++))
echo ""
echo "=== PIP test step ${INDEX} of ${#PIP_TASKS[@]}: "\
"${PIP_TASKS[COUNTER]} (${PIP_TASKS_DESC[COUNTER]}) ==="
echo ""
echo
printf "${COLOR_BOLD}=== PIP test step ${INDEX} of ${#PIP_TASKS[@]}: "\
"${PIP_TASKS[COUNTER]} (${PIP_TASKS_DESC[COUNTER]}) ===${COLOR_NC}"
echo
${PIP_TASKS[COUNTER]}
RESULT=$?