Skip to content

Commit

Permalink
[ci] prevent getting incompatible dask and distributed versions (#4054)
Browse files Browse the repository at this point in the history
* [ci] prevent getting incompatible dask and distributed versions

* Update .ci/test.sh

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* empty commit

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
  • Loading branch information
jameslamb and StrikerRUS authored Mar 9, 2021
1 parent 3a5e3c0 commit 4e9c976
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,19 @@ if [[ $TASK == "swig" ]]; then
exit 0
fi

conda install -q -y -n $CONDA_ENV cloudpickle dask distributed joblib matplotlib numpy pandas psutil pytest scikit-learn scipy
conda install -q -y -n $CONDA_ENV cloudpickle joblib matplotlib numpy pandas psutil pytest scikit-learn scipy

# graphviz must come from conda-forge to avoid this on some linux distros:
# https://github.com/conda-forge/graphviz-feedstock/issues/18
#
# dask and distributed must come from conda-forge because they need to be kept
# in sync and conda-forge packages are updated more quickly (automatically based
# on pushes to PyPI)
conda install -q -y \
-n $CONDA_ENV \
-c conda-forge \
'dask>=2021.3.0' \
'distributed>=2021.3.0' \
python-graphviz \
xorg-libxau

Expand Down

0 comments on commit 4e9c976

Please sign in to comment.