DEPENDENCY_POLICY.md
As a library consumed by downstream projects, the MCP Python SDK takes a conservative approach to dependency updates. Dependencies are kept stable unless there is a specific reason to update, such as a security vulnerability, a bug fix, or a need for new functionality.
Dependencies are updated when:
Routine version bumps without a clear motivation are avoided to minimize churn for downstream consumers.
The SDK does not run ad-hoc version bumps for PyPI dependencies. Updating a dependency can force downstream consumers to adopt that update transitively, which can be disruptive for projects with strict dependency policies.
Dependencies are only updated when there is a concrete reason, not simply because a newer version is available.
weekly-lockfile-update.yml workflow, which runs uv lock --upgrade and opens a PR. This does not alter the minimum or maximum versions for dependencies of the mcp package itself.dependabot.yml configuration..github/dependabot.yml).Production dependencies use compatible-release specifiers (~=) or lower-bound constraints (>=) to allow compatible updates. Exact versions are pinned only when necessary to work around a specific issue. The lockfile (uv.lock) records exact resolved versions for reproducible installs.