Skip to content

Commit 01378de

Browse files
authored
build: add pins for Google AI (#1828)
1 parent 1395c4a commit 01378de

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/google_ai.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,16 @@ jobs:
6262
- name: Run tests
6363
run: hatch run cov-retry
6464

65+
- name: Run unit tests with lowest direct dependencies
66+
run: |
67+
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
68+
hatch run uv pip install -r requirements_lowest_direct.txt
69+
hatch run test -m "not integration"
70+
6571
- name: Nightly - run unit tests with Haystack main branch
6672
if: github.event_name == 'schedule'
6773
run: |
74+
hatch env prune
6875
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
6976
hatch run cov-retry -m "not integration"
7077

integrations/google_ai/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: Implementation :: CPython",
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
]
26-
dependencies = ["haystack-ai>=2.9.0", "google-generativeai>=0.3.1"]
26+
dependencies = ["haystack-ai>=2.11.0", "google-generativeai>=0.6.0"]
2727

2828
[project.urls]
2929
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/google_ai_haystack#readme"

0 commit comments

Comments
 (0)