From db0a4a7d97bb3027a9b66d28f9ad6763477e0eca Mon Sep 17 00:00:00 2001 From: Matthew Rocklin Date: Fri, 1 Mar 2019 10:28:11 -0800 Subject: [PATCH] conditionally install sparse based on numpy version --- continuous_integration/travis/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/continuous_integration/travis/install.sh b/continuous_integration/travis/install.sh index d3ba7107232..48483888c96 100644 --- a/continuous_integration/travis/install.sh +++ b/continuous_integration/travis/install.sh @@ -60,7 +60,6 @@ conda install -q -c conda-forge \ scikit-image \ scikit-learn \ scipy \ - sparse \ sqlalchemy \ toolz @@ -75,6 +74,10 @@ if [[ $PYTHONOPTIMIZE != '2' ]] && [[ $NUMPY > '1.11.0' ]] && [[ $NUMPY < '1.14. pip install --no-deps git+https://github.com/dask/fastparquet fi +if [[ $NUMPY > '1.13.0' ]]; then + pip install sparse +fi + if [[ $PYTHON == '2.7' ]]; then pip install --no-deps backports.lzma mock fi