Skip to content

Commit 4b3a006

Browse files
authored
Fix CI NumPy installation (#851)
1 parent fb7adaf commit 4b3a006

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/_build_linux_cuda.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ jobs:
214214
215215
# Install FFmpeg
216216
# Note: Somehow FFmepg 5.1 does not install libiconv so specifying it here
217-
conda install -q -c conda-forge "ffmpeg==${{ matrix.ffmpeg-version }}" libiconv
217+
# Note: Somehow NumPy got downgraded to 1.24 when using FFmpeg 7.1, so adding constraint here.
218+
conda install -q -c conda-forge "ffmpeg==${{ matrix.ffmpeg-version }}" libiconv 'numpy>=2'
218219
# For some reason, the dynamic libraries are not found.
219220
export "LD_LIBRARY_PATH=${CONDA_PREFIX}/lib"
220221

0 commit comments

Comments
 (0)