pinning numpy<2 in tests (#2332)

* pinning numpy<2 in tests

* pip install together

* pip install together
This commit is contained in:
Jong Wook Kim 2024-09-10 10:43:21 -07:00 committed by GitHub
parent 32d55d5d76
commit 279133e310
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,8 +49,7 @@ jobs:
steps:
- uses: conda-incubator/setup-miniconda@v2
- run: conda install -n test ffmpeg python=${{ matrix.python-version }}
- run: pip3 install torch==${{ matrix.pytorch-version }}+cpu --index-url https://download.pytorch.org/whl/cpu
- uses: actions/checkout@v3
- run: echo "$CONDA/envs/test/bin" >> $GITHUB_PATH
- run: pip install .["dev"]
- run: pip3 install .["dev"] 'numpy<2' torch==${{ matrix.pytorch-version }}+cpu --index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.org/simple
- run: pytest --durations=0 -vv -k 'not test_transcribe or test_transcribe[tiny] or test_transcribe[tiny.en]' -m 'not requires_cuda'