Skip to content

Commit 6286f65

Browse files
authored
Fix numpy, scipy and PIL deps in unittests (#3932)
1 parent 148709f commit 6286f65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/unittest-linux/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ fi
9797
set -x
9898
conda install -y -c conda-forge ${NUMBA_DEV_CHANNEL} sox libvorbis librosa parameterized 'requests>=2.20' 'ffmpeg>=6,<7'
9999
pip install kaldi-io SoundFile coverage pytest pytest-cov scipy expecttest unidecode inflect Pillow sentencepiece pytorch-lightning 'protobuf<4.21.0' demucs tinytag pyroomacoustics flashlight-text git+https://github.com/kpu/kenlm
100+
101+
# TODO: might be better to fix the single call to `pip install` above
102+
pip install "pillow<10.0" "scipy<1.10" "numpy<2.0"
100103
)
101104
# Install fairseq
102105
git clone https://github.com/pytorch/fairseq

0 commit comments

Comments
 (0)