8000 CI Pins pillow version to fix ci failure (#16843) · scikit-learn/scikit-learn@dba4514 · GitHub
[go: up one dir, main page]

Skip to content

Commit dba4514

Browse files
authored
CI Pins pillow version to fix ci failure (#16843)
1 parent 7b5c703 commit dba4514

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_tools/azure/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ elif [[ "$DISTRIB" == "conda-pip-latest" ]]; then
9797
make_conda "python=$PYTHON_VERSION"
9898
python -m pip install -U pip
9999
python -m pip install pytest==$PYTEST_VERSION pytest-cov pytest-xdist
100+
101+
# TODO: Remove pin when https://github.com/python-pillow/Pillow/issues/4518 gets fixed
102+
python -m pip install "pillow>=4.3.0,!=7.1.0,!=7.1.1"
103+
100104
python -m pip install pandas matplotlib pyamg scikit-image
101105
# do not install dependencies for lightgbm since it requires scikit-learn
102106
python -m pip install lightgbm --no-deps

0 commit comments

Comments
 (0)
0