From 2309ec59c6b6701a9b49e06f8117d897b5d58da8 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Wed, 30 Jan 2019 13:23:13 -0600 Subject: [PATCH] Require scikit < 0.20 to allow 0.19.x (#103) * Require scikit < 0.20 to allow 0.19.x; 0.19.2 in particular seems to be required for OS X + Python 3.7. Test against newer maintenance releases of scikit * OK, scikit 0.18.1 it is --- .travis.yml | 2 +- python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 35dea30..befdf3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ matrix: - SPARK_VERSION=2.4.0 - NUMPY_VERSION=1.14.3 - PANDAS_VERSION=0.23.0 - - SCIKIT_VERSION=0.19.1 + - SCIKIT_VERSION=0.19.2 before_install: - ./bin/download_travis_dependencies.sh diff --git a/python/setup.py b/python/setup.py index 51a8603..7149a99 100644 --- a/python/setup.py +++ b/python/setup.py @@ -19,7 +19,7 @@ "Programming Language :: Python", "Topic :: Scientific/Engineering", ] -INSTALL_REQUIRES = ["scikit-learn >=0.18.1, <=0.19"] +INSTALL_REQUIRES = ["scikit-learn >=0.18.1, <0.20"] # Project root ROOT = os.path.abspath(os.getcwd() + "/")