Skip to content

Commit

Permalink
Pin sklearn version in test dependencies (mlflow#731)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
dbczumar authored and mateiz committed Nov 24, 2018
1 parent 883f3b6 commit d90e017
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d90e017

Please sign in to comment.