From 16ca748454a90b15c2c9102f11b5bdf975815b53 Mon Sep 17 00:00:00 2001 From: Amog Kamsetty Date: Mon, 30 Nov 2020 21:18:21 -0800 Subject: [PATCH] [CI] Use legacy resolver for some pip imports (#12517) --- ci/travis/install-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/travis/install-dependencies.sh b/ci/travis/install-dependencies.sh index a6d2961f4..681168245 100755 --- a/ci/travis/install-dependencies.sh +++ b/ci/travis/install-dependencies.sh @@ -315,7 +315,7 @@ install_dependencies() { *) TORCHVISION_VERSION=0.5.0;; esac - pip install --upgrade tensorflow-probability=="${TFP_VERSION-0.8}" \ + 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 fi