Uninstall pypi keras from TF in GitHub Actions (#18629)

This commit is contained in:
Ramesh Sampath 2023-10-16 16:42:24 -05:00 committed by GitHub
parent 36322e744c
commit 19a38801e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

@ -48,6 +48,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt --progress-bar off --upgrade
pip uninstall -y keras keras-nightly
pip install -e "." --progress-bar off --upgrade
- name: Test applications with pytest
if: ${{ steps.filter.outputs.applications == 'true' }}
@ -108,6 +109,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt --progress-bar off --upgrade
pip uninstall -y keras keras-nightly
pip install -e "." --progress-bar off --upgrade
- name: Lint
run: bash shell/lint.sh

@ -39,6 +39,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt --progress-bar off --upgrade
pip uninstall -y keras keras-nightly
pip install -e "." --progress-bar off --upgrade
- name: Test integrations
if: ${{ matrix.backend != 'numpy'}}
@ -78,6 +79,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt --progress-bar off --upgrade
pip uninstall -y keras keras-nightly
pip install -e "." --progress-bar off --upgrade
- name: Lint
run: bash shell/lint.sh
@ -97,6 +99,7 @@ jobs:
python -m pip install --upgrade pip setuptools
pip install twine
pip install -r requirements.txt --progress-bar off --upgrade
pip uninstall -y keras keras-nightly
- name: Build wheel file
run: |
python pip_build.py --nightly