Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change sparse installation in CI for NumPy/Python2 compatibility (#4537)
The master version no longer supports Python 2, so this is causing tests
to fail
  • Loading branch information
mrocklin committed Mar 1, 2019
1 parent de6d6c2 commit 6374ad5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion continuous_integration/travis/install.sh
Expand Up @@ -66,7 +66,6 @@ conda install -q -c conda-forge \
pip install --upgrade --no-deps locket git+https://github.com/dask/partd
pip install --upgrade --no-deps git+https://github.com/dask/zict
pip install --upgrade --no-deps git+https://github.com/dask/distributed
pip install --upgrade --no-deps git+https://github.com/pydata/sparse
pip install --upgrade --no-deps git+https://github.com/dask/s3fs

if [[ $PYTHONOPTIMIZE != '2' ]] && [[ $NUMPY > '1.11.0' ]] && [[ $NUMPY < '1.14.0' ]]; then
Expand All @@ -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
Expand Down

0 comments on commit 6374ad5

Please sign in to comment.