Skip to content

Commit f8d4a59

Browse files
authored
build: add Jina pins (#1836)
1 parent 9801e2f commit f8d4a59

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/jina.yml

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

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

integrations/jina/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: Implementation :: CPython",
2626
"Programming Language :: Python :: Implementation :: PyPy",
2727
]
28-
dependencies = ["requests", "haystack-ai"]
28+
dependencies = ["requests>=2.25.0", "haystack-ai"]
2929

3030
[project.urls]
3131
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/jina#readme"

0 commit comments

Comments
 (0)