Skip to content

Commit 78fdaf3

Browse files
authored
pin pyav to <10 (#6789)
* pin pyav to <10 * pin av in GHA workflows as well * also pin in M1 workflow
1 parent 32757a2 commit 78fdaf3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.circleci/unittest/linux/scripts/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ dependencies:
1313
- pip:
1414
- future
1515
- scipy
16-
- av
16+
- av < 10

.circleci/unittest/windows/scripts/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ dependencies:
1414
- pip:
1515
- future
1616
- scipy
17-
- av != 9.1.1
17+
- av !=9.1.1, <10
1818
- dataclasses
1919
- h5py

.github/workflows/test-linux-cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
-c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] \
5757
"${CUDATOOLKIT}"
5858
${CONDA_RUN} python3 setup.py develop
59-
${CONDA_RUN} python3 -m pip install pytest pytest-mock av
59+
${CONDA_RUN} python3 -m pip install pytest pytest-mock 'av<10'
6060
- name: Run tests
6161
shell: bash -l {0}
6262
env:

.github/workflows/test-m1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
conda create -yp ${ENV_NAME} python=${PY_VERS} numpy libpng jpeg scipy
3838
conda run -p ${ENV_NAME} python3 -mpip install --pre torch --extra-index-url=https://download.pytorch.org/whl/${CHANNEL}
3939
conda run -p ${ENV_NAME} python3 setup.py develop
40-
conda run -p ${ENV_NAME} python3 -mpip install pytest pytest-mock av
40+
conda run -p ${ENV_NAME} python3 -mpip install pytest pytest-mock 'av<10'
4141
- name: Run tests
4242
shell: arch -arch arm64 bash {0}
4343
env:

0 commit comments

Comments
 (0)