[CI] Use legacy resolver for some pip imports (#12517)

This commit is contained in:
Amog Kamsetty
2020-11-30 21:18:21 -08:00
committed by GitHub
parent f9a99f20dd
commit 16ca748454
+1 -1
View File
@@ -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