"...en/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "c697c5ab57eb9bc98a38d8aba9e2fc8fb0b06b95"
Unverified Commit 78fdaf3a authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

pin pyav to <10 (#6789)

* pin pyav to <10

* pin av in GHA workflows as well

* also pin in M1 workflow
parent 32757a26
...@@ -13,4 +13,4 @@ dependencies: ...@@ -13,4 +13,4 @@ dependencies:
- pip: - pip:
- future - future
- scipy - scipy
- av - av < 10
...@@ -14,6 +14,6 @@ dependencies: ...@@ -14,6 +14,6 @@ dependencies:
- pip: - pip:
- future - future
- scipy - scipy
- av != 9.1.1 - av !=9.1.1, <10
- dataclasses - dataclasses
- h5py - h5py
...@@ -56,7 +56,7 @@ jobs: ...@@ -56,7 +56,7 @@ jobs:
-c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] \ -c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] \
"${CUDATOOLKIT}" "${CUDATOOLKIT}"
${CONDA_RUN} python3 setup.py develop ${CONDA_RUN} python3 setup.py develop
${CONDA_RUN} python3 -m pip install pytest pytest-mock av ${CONDA_RUN} python3 -m pip install pytest pytest-mock 'av<10'
- name: Run tests - name: Run tests
shell: bash -l {0} shell: bash -l {0}
env: env:
......
...@@ -37,7 +37,7 @@ jobs: ...@@ -37,7 +37,7 @@ jobs:
conda create -yp ${ENV_NAME} python=${PY_VERS} numpy libpng jpeg scipy conda create -yp ${ENV_NAME} python=${PY_VERS} numpy libpng jpeg scipy
conda run -p ${ENV_NAME} python3 -mpip install --pre torch --extra-index-url=https://download.pytorch.org/whl/${CHANNEL} conda run -p ${ENV_NAME} python3 -mpip install --pre torch --extra-index-url=https://download.pytorch.org/whl/${CHANNEL}
conda run -p ${ENV_NAME} python3 setup.py develop conda run -p ${ENV_NAME} python3 setup.py develop
conda run -p ${ENV_NAME} python3 -mpip install pytest pytest-mock av conda run -p ${ENV_NAME} python3 -mpip install pytest pytest-mock 'av<10'
- name: Run tests - name: Run tests
shell: arch -arch arm64 bash {0} shell: arch -arch arm64 bash {0}
env: env:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment