Skip to content

Commit 05601cb

Browse files
build: add pins for Pinecone (#1851)
Co-authored-by: David S. Batista <[email protected]>
1 parent 77515bd commit 05601cb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/pinecone.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,16 @@ jobs:
6666
INDEX_NAME: ${{ matrix.INDEX_NAME }}
6767
run: hatch run cov-retry
6868

69+
- name: Run unit tests with lowest direct dependencies
70+
run: |
71+
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
72+
hatch run uv pip install -r requirements_lowest_direct.txt
73+
hatch run test -m "not integration"
74+
6975
- name: Nightly - run unit tests with Haystack main branch
7076
if: github.event_name == 'schedule'
7177
run: |
78+
hatch env prune
7279
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
7380
hatch run cov-retry -m "not integration"
7481

integrations/pinecone/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
]
2626
dependencies = [
2727
"haystack-ai>=2.11.0",
28-
"pinecone[asyncio]>=3", # our implementation is not compatible with pinecone <3,
28+
"pinecone[asyncio]>=6.0.0", # asyncio extra was added in 6.0.0,
2929
]
3030

3131
[project.urls]

0 commit comments

Comments
 (0)