Skip to content

Commit 022ca9f

Browse files
authored
[CI] [GHA] Fix a dependency conflict in the keras job by pinning of the recently updated dependencies (#33123)
### Details: - Seems like the `grain` package that [was updated to 0.2.15 on the 25th of November](https://pypi.org/project/grain/#history) is causing a conflict in dependencies installation for the keras list of dependencies. I will create an issue in the keras repository later. ### Tickets: - *177685*
1 parent 1fc15e5 commit 022ca9f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/job_keras3_backend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ jobs:
9191
working-directory: ${{ env.KERAS_REPO }}
9292
run: |
9393
pip install --upgrade pip setuptools
94-
pip install -r requirements.txt --upgrade
94+
# Specify grain's version to avoid problems described in the 177685 ticket
95+
pip install -r requirements.txt grain==0.2.14 --upgrade
9596
pip install --no-deps tf_keras==2.18.0
9697
# make sure that no other keras is installed via pip
9798
pip uninstall -y keras keras-nightly

.github/workflows/ubuntu_22.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,7 @@ jobs:
378378

379379
Keras3_OpenVINO_Backend:
380380
name: Keras 3 OpenVINO Backend Tests
381-
# if: fromJSON(needs.smart_ci.outputs.affected_components).Python_API.test
382-
if: ${{ 'false' }} # Ticket: 177685
381+
if: fromJSON(needs.smart_ci.outputs.affected_components).Python_API.test
383382
needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
384383
uses: ./.github/workflows/job_keras3_backend.yml
385384
with:

0 commit comments

Comments
 (0)