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

[tune] debug py37 build #12597

Merged
merged 6 commits into from
Dec 3, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/travis/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ install_nvm() {
fi
}

install_pip() {
install_upgrade_pip() {
local python=python
if command -v python3 > /dev/null; then
python=python3
Expand Down Expand Up @@ -237,10 +237,11 @@ install_dependencies() {
install_base
install_toolchains
install_nvm
install_pip
install_upgrade_pip

if [ -n "${PYTHON-}" ] || [ "${LINT-}" = 1 ]; then
install_miniconda
install_upgrade_pip
richardliaw marked this conversation as resolved.
Show resolved Hide resolved
fi

# Install modules needed in all jobs.
Expand Down Expand Up @@ -314,7 +315,6 @@ install_dependencies() {
1.5) TORCHVISION_VERSION=0.6.0;;
*) TORCHVISION_VERSION=0.5.0;;
esac

pip install --use-deprecated=legacy-resolver --upgrade tensorflow-probability=="${TFP_VERSION-0.8}" \
torch=="${TORCH_VERSION-1.6}" torchvision=="${TORCHVISION_VERSION}" \
tensorflow=="${TF_VERSION-2.2.0}" gym
Expand Down