Skip to content

Commit b1ecd5b

Browse files
Merge pull request #536 from GoogleCloudPlatform/fix-mcp-2-pin
fix(deps): pin mcp>=1.8,<2
2 parents 6a81e49 + e292158 commit b1ecd5b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ dependencies = [
5959
"dbt-bigquery",
6060
"dbt-postgres",
6161
"a2a-sdk>=1.0.3",
62-
"mcp",
62+
# 2.0.0 renamed mcp.client.streamable_http.streamablehttp_client to
63+
# streamable_http_client, breaking generators/models/mcp_tools.py. The
64+
# 1.8 floor is where streamablehttp_client was introduced. Lift once the
65+
# call site is migrated to the 2.x name.
66+
"mcp>=1.8,<2",
6367
# 26.2.0 turned a long-standing deprecation into a hard error
6468
# (mutating SSL.Context after use), breaking google-auth's mTLS path
6569
# (urllib3.contrib.pyopenssl.inject_into_urllib3). Lift when google-auth

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)