From 308f664ade0547242608e21f6198c895415f03da Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Thu, 6 Sep 2018 14:56:05 -0700 Subject: [PATCH] Add scikit-learn as dependency for doc build (#3677) --- doc/conf.py | 2 +- doc/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 268f553a7..4b125e699 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -41,7 +41,7 @@ sys.path.insert(0, curr_path) # -- mock out modules import mock -MOCK_MODULES = ['scipy', 'scipy.sparse', 'sklearn', 'pandas'] +MOCK_MODULES = ['scipy', 'scipy.sparse', 'pandas'] for mod_name in MOCK_MODULES: sys.modules[mod_name] = mock.Mock() diff --git a/doc/requirements.txt b/doc/requirements.txt index 4bb33443a..b27d03ac7 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -6,3 +6,4 @@ sh>=1.12.14 matplotlib>=2.1 graphviz numpy +scikit-learn