fix: [AI-0000] relax mcp pin to >=1.9.0,<2.0.0 (release 0.3.1)#103
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Notes: The substantive change is the Previous Review Summary (commit eef730a)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit eef730a)Status: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Notes: The substantive change is the Reviewed by glm-5.2 · Input: 32.1K · Output: 5.4K · Cached: 226.8K |
|
Merging this into Release path: publish Separately, the pin relaxation should also land on |
The `mcp~=1.9.0` cap (`<1.10.0`) blocks downstream consumers from using newer `mcp` releases required by `claude-agent-sdk` 0.2.x. datapilot only uses the stable mcp client API (`ClientSession`, `StdioServerParameters`, `stdio_client`), which is unchanged across `mcp` 1.x, so the upper cap is unnecessary. - Relax `mcp` pin from `~=1.9.0` to `>=1.9.0,<2.0.0` - Bump version `0.3.0` -> `0.3.1` across bump2version-tracked files - Add CHANGELOG entry Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W3g8dnag4tFQ6EfPRSMFwQ
eef730a to
b12bdea
Compare
mcp pin to >=1.9.0,<2.0.0 (release 0.2.4)mcp pin to >=1.9.0,<2.0.0 (release 0.3.1)
|
✅ Rebased onto |
What
Relax the
mcpdependency pin from~=1.9.0(i.e.>=1.9.0,<1.10.0) to>=1.9.0,<2.0.0, and release as0.3.1.Why
The
<1.10.0upper cap blocks downstream consumers (e.g.altimate-backend) from upgradingclaude-agent-sdkto0.2.x, which requiresmcp>=1.23.0.datapilotonly uses the stable mcp client API —ClientSession,StdioServerParameters,stdio_client— which is unchanged acrossmcp1.x, so the tight upper bound is unnecessary. With the range widened, downstream resolvers pick the latestmcp(currently 1.28.1) on py3.10+, while py3.8/3.9 standalone installs still resolve to an older validmcp1.x.Changes
setup.py:mcp~=1.9.0→mcp>=1.9.0,<2.0.0(sqlglot untouched — stayssqlglot[c]==30.7.0)0.3.0→0.3.1across the 4bump2version-tracked filesCHANGELOG.rst: add0.3.1entryVerification
Locked + installed the downstream chain in
altimate-backendagainst the relaxed pin: resolves tomcp 1.28.1+claude-agent-sdk 0.2.110; datapilot's mcp client imports work onmcp 1.28.1; 890claude_codebackend tests pass.The
version-bumplabel is set so merge auto-tagsv0.3.1and publishes to PyPI.🤖 Generated with Claude Code
https://claude.ai/code/session_01W3g8dnag4tFQ6EfPRSMFwQ