Skip to content

Commit

Permalink
Building macOS images uses package version only
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Minack <github@enrico.minack.dev>
  • Loading branch information
EnricoMi committed Dec 8, 2021
1 parent 4bc65ff commit 96b01ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/gen-workflow-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def build_and_test_macos(id: str, name: str, needs: List[str], attempts: int = 3
f' python --version\n'
f'\n'
f' python -m pip install -U pip\n'
f' if [[ ${{TENSORFLOW}} == tensorflow*==1.* ]] || [[ ${{TENSORFLOW_PACKAGE}} == tensorflow*==2.[012345].* ]]; then h5py="h5py<3"; fi\n'
f' if [[ ${{TENSORFLOW}} == 1.* ]] || [[ ${{TENSORFLOW}} == 2.[012345].* ]]; then h5py="h5py<3"; fi\n'
f' pip install tensorflow==${{TENSORFLOW}} keras==${{KERAS}} ${{h5py:-}}\n'
f' pip install torch==${{PYTORCH}} pytorch_lightning==${{PYTORCH_LIGHTNING}} torchvision==${{TORCHVISION}}\n'
f' pip install mxnet==${{MXNET}}\n'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3414,7 +3414,7 @@ jobs:
python --version
python -m pip install -U pip
if [[ ${TENSORFLOW} == tensorflow*==1.* ]] || [[ ${TENSORFLOW_PACKAGE} == tensorflow*==2.[012345].* ]]; then h5py="h5py<3"; fi
if [[ ${TENSORFLOW} == 1.* ]] || [[ ${TENSORFLOW} == 2.[012345].* ]]; then h5py="h5py<3"; fi
pip install tensorflow==${TENSORFLOW} keras==${KERAS} ${h5py:-}
pip install torch==${PYTORCH} pytorch_lightning==${PYTORCH_LIGHTNING} torchvision==${TORCHVISION}
pip install mxnet==${MXNET}
Expand Down

0 comments on commit 96b01ec

Please sign in to comment.