Unverified Commit 2394b41a authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] Temporary pin dask version at CI (#4770)

* pin Dask version at CI

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* workaround for Python 3.6

* Update test.sh
parent 1d0d746e
...@@ -114,7 +114,14 @@ if [[ $TASK == "swig" ]]; then ...@@ -114,7 +114,14 @@ if [[ $TASK == "swig" ]]; then
exit 0 exit 0
fi fi
conda install -q -y -n $CONDA_ENV cloudpickle dask distributed joblib matplotlib numpy pandas psutil pytest scikit-learn scipy # temporary fix for https://github.com/microsoft/LightGBM/issues/4769
if [[ $PYTHON_VERSION == "3.6" ]]; then
DASK_DEPENDENCIES="dask distributed"
else
DASK_DEPENDENCIES="dask=2021.9.1 distributed=2021.9.1"
fi
conda install -q -y -n $CONDA_ENV cloudpickle ${DASK_DEPENDENCIES} joblib matplotlib numpy pandas psutil pytest scikit-learn scipy
pip install graphviz # python-graphviz from Anaconda is not allowed to be installed with Python 3.9 pip install graphviz # python-graphviz from Anaconda is not allowed to be installed with Python 3.9
if [[ $OS_NAME == "macos" ]] && [[ $COMPILER == "clang" ]]; then if [[ $OS_NAME == "macos" ]] && [[ $COMPILER == "clang" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment