You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2019/05/10 13:53:30 UTC

[incubator-mxnet] branch v1.4.x updated: Pins version of scikit-learn for python2 due to drop in support (#14928) (#14929)

This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch v1.4.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/v1.4.x by this push:
     new 6feadf4  Pins version of scikit-learn for python2 due to drop in support (#14928) (#14929)
6feadf4 is described below

commit 6feadf4e722eef7840c10f9fd42dcc0f1542117c
Author: perdasilva <pe...@gmail.com>
AuthorDate: Fri May 10 15:52:54 2019 +0200

    Pins version of scikit-learn for python2 due to drop in support (#14928) (#14929)
---
 ci/docker/install/ubuntu_tutorials.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ci/docker/install/ubuntu_tutorials.sh b/ci/docker/install/ubuntu_tutorials.sh
index 404d4bb..4e40426 100755
--- a/ci/docker/install/ubuntu_tutorials.sh
+++ b/ci/docker/install/ubuntu_tutorials.sh
@@ -23,5 +23,7 @@
 set -ex
 apt-get update || true
 apt-get install graphviz python-opencv
-pip2 install jupyter matplotlib Pillow opencv-python scikit-learn graphviz tqdm mxboard
-pip3 install jupyter matplotlib Pillow opencv-python scikit-learn graphviz tqdm mxboard
+
+# sckit-learn past version 0.20 does not support python version 2 and 3.4
+pip2 install jupyter matplotlib Pillow opencv-python "scikit-learn<0.21.0" graphviz tqdm mxboard scipy
+pip3 install jupyter matplotlib Pillow opencv-python scikit-learn graphviz tqdm mxboard scipy