Update mcp requirement from <2,>=1.28.1 to >=2.0.0,<3 - #2207
Update mcp requirement from <2,>=1.28.1 to >=2.0.0,<3#2207dependabot[bot] wants to merge 1 commit into
Conversation
Review: mcp >=1.28.1 → >=2.0.0This is a one-line requirements bump, but it raises the floor to a new major version of Correctness risk: this repo uses the low-level
|
…API bump (#2216) pydantic-ai-slim[mcp]'s fastmcp-slim dependency caps mcp<2.0 across its whole published range, so the previously-unbounded mcp>=1.28.1 pin was resolving to 1.x only by accident; Dependabot's mcp>=2.0.0 bump (PR #2207) directly contradicts that transitive cap and pip's resolver gives up with resolution-too-deep. mcp 2.0 also removes decorator-based handler registration from mcp.server.lowlevel.Server in favor of on_*= constructor kwargs, which opencontractserver/mcp/server.py does not speak yet (10 registration sites), so forcing the bump would break the MCP subsystem at ASGI import time. Explicit <2 pin documents the constraint until that migration is scoped.
Updates the requirements on [mcp](https://github.com/modelcontextprotocol/python-sdk) to permit the latest version. - [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md) - [Commits](modelcontextprotocol/python-sdk@v1.28.1...v2.0.0) --- updated-dependencies: - dependency-name: mcp dependency-version: 2.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
8ab6a2c to
93305c6
Compare
Review: do not merge as-isThis is a dependabot bump of Blocking issue: contradicts the guardrail comment right below the changed line
This PR bumps the pin to Confirmed: the code does use the removed decorator API
Per the mcp v2.0.0 release notes linked in the PR body, Secondary issue: probable dependency resolution conflictThe comment also states RecommendationClose/skip this dependabot PR (or configure dependabot to ignore major-version bumps for Other
|
Updates the requirements on mcp to permit the latest version.
Release notes
Sourced from mcp's releases.
... (truncated)
Commits
6f69a37Present v2 as the stable release across the README, docs, and policies (#3178)78e6fbbServe v2 docs at the site root, with permanent per-major paths (#3176)af06330Remove unused StreamableHTTPTransport.get_session_id() (#3205)68ca87eDocument the two-line release process for stable v2 (#3179)c9c431bExpose the middleware chain on MCPServer and stop sending unrequested change ...528e366Fail fast on server-to-client requests in JSON-response mode instead of hangi...27f5cc7Remove unused mcpserver.exceptions.ValidationError (#3199)89c5e70Gate log notifications on the per-request log-level opt-in at 2026-07-28 (#3198)b61ce38docs: fix off-by-one hl_lines in apps.md (#3196)b7c9a91Add mcp.types as a permanent alias for mcp_types (#3190)