Skip to content

Commit

Permalink
[ci] put ceiling on graphviz in Python 3.7 jobs (#6370)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Mar 18, 2024
1 parent cb4972e commit 8bc4578
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ fi
# older versions of Dask are incompatible with pandas>=2.0, but not all conda packages' metadata accurately reflects that
#
# ref: https://github.com/microsoft/LightGBM/issues/6030
CONSTRAINED_DEPENDENCIES="'dask>=2023.5.0' 'distributed>=2023.5.0' 'pandas>=2.0'"
CONSTRAINED_DEPENDENCIES="'dask>=2023.5.0' 'distributed>=2023.5.0' 'pandas>=2.0' python-graphviz"
if [[ $PYTHON_VERSION == "3.7" ]]; then
CONSTRAINED_DEPENDENCIES="'dask' 'distributed' 'pandas<2.0'"
CONSTRAINED_DEPENDENCIES="'dask' 'distributed' 'python-graphviz<0.20.2' 'pandas<2.0'"
fi

# including python=version[build=*cpython] to ensure that conda doesn't fall back to pypy
Expand All @@ -143,7 +143,6 @@ mamba create -q -y -n $CONDA_ENV \
pyarrow \
pytest \
${CONDA_PYTHON_REQUIREMENT} \
python-graphviz \
scikit-learn \
scipy || exit 1

Expand Down

0 comments on commit 8bc4578

Please sign in to comment.