diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2e421732d68..cac37abc94d 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b5364eada5e..c083a716296 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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