Skip to content

Commit 3254e98

Browse files
authored
MNT Use version less than 3.0.0 for lightgbm (scikit-learn#18317)
1 parent 875d32f commit 3254e98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_tools/azure/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ elif [[ "$DISTRIB" == "conda-pip-latest" ]]; then
6666

6767
python -m pip install pandas matplotlib pyamg scikit-image
6868
# do not install dependencies for lightgbm since it requires scikit-learn
69-
python -m pip install lightgbm --no-deps
69+
# and install a version less than 3.0.0 until the issue #18316 is solved.
70+
python -m pip install "lightgbm<3.0.0" --no-deps
7071
elif [[ "$DISTRIB" == "conda-pip-scipy-dev" ]]; then
7172
make_conda "python=$PYTHON_VERSION"
7273
python -m pip install -U pip

0 commit comments

Comments
 (0)