Commit bb63ea6
build(deps): pin mcp SDK below 2.0 ahead of protocol RC (#5953)
# What does this PR do?
Pins the `mcp` Python SDK dependency to `>=1.23.0,<2.0` across all five
declaration sites (pyproject.toml core, type_checking, test-common, and
two provider registry specs). This prevents fresh installs from pulling
an incompatible SDK version when the MCP 2026-07-28 Release Candidate
ships, which introduces breaking changes to the session model, transport
layer, and protocol handshake.
Partial #5952 (this addresses the immediate dependency pin; the full
migration is tracked there)
## Test Plan
1. Verify all `mcp>=` references are pinned with `<2.0` upper bound:
```bash
rg '"mcp>=' pyproject.toml src/ogx/providers/registry/
```
2. Run pre-commit to confirm no regressions:
```bash
uv run pre-commit run --all-files
```
Output: all 40 checks passed.
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/ogx-ai/ogx/pull/5953"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open in Devin Review">
</picture>
</a>
<!-- devin-review-badge-end -->
---------
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f3c34b6 commit bb63ea6
4 files changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments