Skip to content

Commit

Permalink
Merge pull request #150 from IntelPython/bump-sklearn-compatibility-v…
Browse files Browse the repository at this point in the history
…ersion

in anticipation of bugfix 0.22.1 release of sklearn
  • Loading branch information
oleksandr-pavlyk committed Dec 20, 2019
2 parents 0d9422c + 6526074 commit 2958265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ install:
- g++ -v

script:
- conda build -c intel -c conda-forge $PYVER --output-folder ./ conda-recipe
- conda build -c conda-forge -c intel $PYVER --output-folder ./ conda-recipe
2 changes: 1 addition & 1 deletion daal4py/sklearn/monkeypatch/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def do_unpatch(name):
def enable(name=None, verbose=True):
if LooseVersion(sklearn_version) < LooseVersion("0.20.0"):
raise NotImplementedError("daal4py patches apply for scikit-learn >= 0.20.0 only ...")
elif LooseVersion(sklearn_version) > LooseVersion("0.22"):
elif LooseVersion(sklearn_version) > LooseVersion("0.22.1"):
warn_msg = ("daal4py {daal4py_version} has only been tested " +
"with scikit-learn 0.22.0, found version: {sklearn_version}")
warnings.warn(warn_msg.format(
Expand Down

0 comments on commit 2958265

Please sign in to comment.