[CI] Update Pillow from 6.2.2 to 8.4 in CI
@@ -54,7 +54,7 @@ jobs:
- name: Upgrade pip
run: pip install pip --upgrade
- name: Install Pillow
- run: pip install Pillow==6.2.2
+ run: pip install "Pillow<9"
if: ${{matrix.torchvision == '0.4.1'}}
- name: Install PyTorch
run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
@@ -135,8 +135,8 @@ jobs:
apt-get clean
rm -rf /var/lib/apt/lists/*
- name: Install Pillow
- run: python -m pip install Pillow==6.2.2
- if: ${{matrix.torchvision < 0.5}}
+ run: python -m pip install "Pillow<9"
+ if: ${{matrix.torchvision == '0.4.1'}}
- name: Install PyTorch
run: python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install MMCV
