File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 3636 NUMPY_VERSION : ' *'
3737 SCIPY_VERSION : ' *'
3838 CYTHON_VERSION : ' *'
39+ LIGHTGBM_VERSION : ' *'
3940 PILLOW_VERSION : ' *'
4041 PYTEST_VERSION : ' *'
4142 JOBLIB_VERSION : ' *'
@@ -71,11 +72,10 @@ jobs:
7172 JOBLIB_VERSION : ' 0.12.3'
7273 COVERAGE : ' true'
7374 # Linux environment to test the latest available dependencies and MKL.
74- # It runs tests requiring lightgbm, pandas and PyAMG.
75+ # It runs tests requiring pandas and PyAMG.
7576 pylatest_pip_openblas_pandas :
7677 DISTRIB : ' conda-pip-latest'
77- # Pin the python version to 3.7 since lightgbm is not available for 3.8
78- PYTHON_VERSION : ' 3.7'
78+ PYTHON_VERSION : ' 3.8'
7979 PYTEST_VERSION : ' 4.6.2'
8080 COVERAGE : ' true'
8181 CHECK_PYTEST_SOFT_DEPENDENCY : ' true'
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ if [[ "$DISTRIB" == "conda" ]]; then
4141 TO_INSTALL=" $TO_INSTALL matplotlib=$MATPLOTLIB_VERSION "
4242 fi
4343
44+ if [[ -n " $LIGHTGBM_VERSION " ]]; then
45+ TO_INSTALL=" $TO_INSTALL lightgbm=$LIGHTGBM_VERSION "
46+ fi
47+
4448 if [[ " $UNAMESTR " == " Darwin" ]]; then
4549 if [[ " $SKLEARN_TEST_NO_OPENMP " != " true" ]]; then
4650 # on macOS, install an OpenMP-enabled clang/llvm from conda-forge.
@@ -91,7 +95,7 @@ elif [[ "$DISTRIB" == "conda-pip-latest" ]]; then
9195 python -m pip install -U pip
9296 python -m pip install numpy scipy cython joblib
9397 python -m pip install pytest==$PYTEST_VERSION pytest-cov pytest-xdist
94- python -m pip install pandas matplotlib pyamg lightgbm
98+ python -m pip install pandas matplotlib pyamg
9599fi
96100
97101if [[ " $COVERAGE " == " true" ]]; then
You can’t perform that action at this time.
0 commit comments