From d90e017e8cb3fee25168a5f7c3668bcf568bc7c0 Mon Sep 17 00:00:00 2001 From: dbczumar <39497902+dbczumar@users.noreply.github.com> Date: Sat, 24 Nov 2018 00:20:35 -0800 Subject: [PATCH] Pin sklearn version in test dependencies (#731) The latest version of scikit-learn (0.21.0) is only available on pip. It has not yet been released on Anaconda. This causes test failures when attempting to resolve default conda environments: conda attempts to install a version of the scikit-learn dependency that is not available. To resolve this issue, we will temporarily pin the version of scikit-learn to the latest available version on Anaconda (0.20.0). --- test-requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index 993a9c9aa9972..4694e4f6ce34d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13,6 +13,9 @@ pyspark pytest==3.2.1 pytest-cov rstcheck==3.2 +# TODO: Stop pinning the version of scikit-learn when the latest version of the +# library on Anaconda catches up to pip +scikit-learn==0.20.0 scipy tensorflow torch