Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing --upgrade and numpy-1.8.2 from pip.sh #1211

Merged
merged 1 commit into from Feb 20, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 4 additions & 5 deletions tensorflow/tools/ci_build/builds/pip.sh
Expand Up @@ -140,12 +140,11 @@ echo "whl file path = ${WHL_PATH}"
# Install, in user's local home folder
echo "Installing pip whl file: ${WHL_PATH}"

# Call pip install twice, first time with --upgrade and second time without it
# This addresses the sporadic test failures related to protobuf version
${PYTHON_BIN_PATH} -m pip install -v --user --upgrade ${WHL_PATH} numpy==1.8.2 \
|| die "pip install (1st step, with --upgrade) FAILED"
# Call pip install on the whl file. We are doing it without the --upgrade
# option. So dependency updates will need to be performed separately in
# the environment.
${PYTHON_BIN_PATH} -m pip install -v --user ${WHL_PATH} \
|| die "pip install (2nd step, without --upgrade) FAILED"
|| die "pip install (without --upgrade) FAILED"

# If NO_TEST_ON_INSTALL is set to any non-empty value, skip all Python
# tests-on-install and exit right away
Expand Down