Skip to content

Commit 091a528

Browse files
authored
build: app pins for MCP (#1845)
1 parent eacc0b1 commit 091a528

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/mcp.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,16 @@ jobs:
7474
- name: Run tests
7575
run: hatch run cov-retry
7676

77+
- name: Run unit tests with lowest direct dependencies
78+
run: |
79+
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
80+
hatch run uv pip install -r requirements_lowest_direct.txt
81+
hatch run test -m "not integration"
82+
7783
- name: Nightly - run unit tests with Haystack main branch
7884
if: github.event_name == 'schedule'
7985
run: |
86+
hatch env prune
8087
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
8188
hatch run cov-retry -m "not integration"
8289

integrations/mcp/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: Implementation :: CPython",
2929
]
3030
dependencies = [
31-
"mcp",
31+
"mcp>=1.8.0",
3232
"haystack-ai>=2.13.0",
3333
"exceptiongroup", # Backport of ExceptionGroup for Python < 3.11
3434
"httpx" # HTTP client library used for SSE connections

0 commit comments

Comments
 (0)