fix(deps): update third party deps (major) - #6268
Conversation
|
028d78b to
a38489b
Compare
d134a54 to
dbc0e47
Compare
310b3b3 to
4acc2c8
Compare
84e8897 to
bead794
Compare
dbe5b34 to
938506c
Compare
|
|
||
| [project.optional-dependencies] | ||
| mcp = ["mcp>=1.24.0, <2"] | ||
| mcp = ["mcp>=2, <3"] |
There was a problem hiding this comment.
π΄ Default MCP requests crash on timeout
ClientSession now accepts timeout seconds as a float, but MCPServer passes a timedelta. Every default tool request raises TypeError.
Was this helpful? React with π or π to provide feedback.
2fcc078 to
3a0312a
Compare
6a364ec to
7e677e3
Compare
7e677e3 to
fee9e00
Compare
0c036c4 to
52b66e0
Compare
There was a problem hiding this comment.
Note
This report is out of date. Scroll down for Devin Review's latest report on this PR.
Devin Review found 1 new potential issue.
1 flag not posted on this PR by your GitHub settings β view it in Devin Review. (Configure)
| "opentelemetry-exporter-otlp>=1.39.0,<1.45", | ||
| "prometheus-client>=0.22", | ||
| "openai>=2,<3", | ||
| "openai>=3,<4", |
There was a problem hiding this comment.
π΄ Fresh installations cannot import Agents
Fresh installations no longer receive httpx, although package initialization imports it unconditionally. Importing livekit.agents raises ModuleNotFoundError before any agent can start.
Prompt for agents
OpenAI 3 replaced its httpx dependency with httpx2, while livekit-agents/livekit/agents/inference/llm.py still imports legacy httpx and constructs an httpx.AsyncClient. A clean installation therefore contains httpx2 but not httpx, and importing livekit.agents fails because inference is imported eagerly. Restore a declared HTTP client dependency as an immediate compatibility fix, or migrate the inference client and every OpenAI-facing client that depends on this transitive package to httpx2. Verify the result in an isolated environment containing only the package's declared dependencies.
Was this helpful? React with π or π to provide feedback.
52b66e0 to
4d7172c
Compare
Generated by renovateBot
4d7172c to
198e515
Compare
There was a problem hiding this comment.
Devin Review found 2 new potential issues.
3 flags not posted on this PR by your GitHub settings β view them in Devin Review. (Configure)
| dependencies = [ | ||
| "livekit-agents[codecs]>=1.7.1", | ||
| "websockets>=14.0,<16.0", | ||
| "websockets>=17,<17.1", |
There was a problem hiding this comment.
π‘ Python 3.10 installations fail
On Python 3.10, websockets>=17 has no compatible release. Installing this plugin fails despite its declared Python 3.10 support.
Prompt for agents
Restore installability on Python 3.10, which this package and the repository explicitly support. websockets 17.0 and 17.0.1 both declare Python >=3.11. Either retain a websockets range that supports Python 3.10 or split the dependency by Python version while ensuring the Gnani WebSocket code works with each selected release. Do not raise this plugin's minimum Python version unless repository-wide Python 3.10 support is intentionally removed.
Was this helpful? React with π or π to provide feedback.
| dependencies = [ | ||
| "livekit-agents[codecs]>=1.7.1", | ||
| "websockets>=14.0,<16.0", | ||
| "websockets>=17,<17.1", |
There was a problem hiding this comment.
π‘ Locked installs retain old WebSockets
With uv sync --frozen, the unchanged lock still installs WebSockets 15.0.1. Locked environments never receive the declared major upgrade.
Prompt for agents
Regenerate uv.lock after finalizing the Gnani plugin's compatible websockets constraint. The lock metadata still records >=14.0,<16.0 and resolves websockets 15.0.1, so frozen synchronization does not apply this manifest change.
Was this helpful? React with π or π to provide feedback.
This PR contains the following updates:
>=1.24.0, <2β>=2, <3>=2,<3β>=3,<4>=14.0,<16.0β>=17,<17.1Release Notes
modelcontextprotocol/python-sdk (mcp)
v2.0.0Compare Source
MCP Python SDK v2 Stable Release
This is v2.0.0, the stable v2 release of the MCP Python SDK. It supports the 2026-07-28 revision of the Model Context Protocol and serves every earlier revision from the same server.
pip install mcpnow installs 2.x.Documentation Rewrite
The documentation has the full tutorial and API reference. Coming from v1? What's new in v2 is the tour of what changed and why, and the migration guide lists every breaking change with before-and-after code.
V1 Maintenance mode
v1.x is in maintenance mode and will only receive security fixes from now on The 1.x line lives on the
v1.xbranch, continues to receive critical bug fixes and security patches, and is documented at https://py.sdk.modelcontextprotocol.io/v1/. If your project is not ready to migrate, keep a<2upper bound on your requirement (for examplemcp>=1.28,<2).Highlights
One SDK, both protocol eras
v2 speaks the 2026-07-28 revision (stateless requests with no handshake,
server/discover,subscriptions/listen, multi-round-trip requests) and still serves every 2025-era client from the sameMCPServer, over Streamable HTTP and stdio, with nothing to configure.Client(target)negotiates the version automatically.FastMCPis nowMCPServer, and there is a first-classClientThe decorator API is unchanged; the low-level
Serveris rebuilt around a shared dispatcher engine, and oneClientobject replaces v1's transport-plus-ClientSession-plus-initialize()layering. It connects to a URL, a stdio subprocess, a custom transport, or straight to a server object in memory for tests.Multi-round-trip requests and resolver dependency injection
At 2026-07-28 the server can no longer call the client, so tools return the question instead. A
Resolve(fn)parameter is filled by your function invisibly to the model and can put a question to the user; one tool body serves both eras.Extension APIs, OpenTelemetry, and a standalone types package
Servers and clients compose protocol extensions through pluggable extension APIs (MCP Apps built in); OpenTelemetry tracing ships on by default; every protocol type is its own package,
mcp-types(imported asmcp_types), published in lock-step withmcp.Hardened stdio and auth
stdio servers keep handler subprocesses and stray prints off the wire, and stdout is diverted to stderr while serving. OAuth adds RFC 9207 issuer validation, the SEP-990 identity-assertion flow, and the client-credentials extension.
Coming from a v2 pre-release
Since the last release candidate: the per-version wire packages are private (
mcp_types._v*),mcp.typesis a permanent alias formcp_types, the auth registration request model is split from the registered-client record, cancelled requests are no longer answered, and log notifications are gated on the per-request log-level opt-in at 2026-07-28. Since the betas:Client(cache=False)is nowcache=NonewithCacheConfig()the default;Context.client_id,RFC7523OAuthClientProvider, andOAuthClientProvider(timeout=)are removed; the client-credentials providers takescope=;message_handlerreceives notifications and exceptions only;FileResource(is_binary=)becomesencoding;MCP_*env vars are gone withpydantic-settings; Streamable HTTP servers reject bodies over 4 MiB with HTTP 413. The migration guide covers all of it.Known gaps
The tasks extension (SEP-2663) is not part of this release. On the client, the DPoP proof binding (SEP-1932) and the workload-identity
jwt-bearergrant are not implemented; both are additive and can land in 2.x.Feedback
Something rough, confusing, or broken? Open an issue or find us in #python-sdk-dev on the MCP Contributors Discord.
Full Changelog: modelcontextprotocol/python-sdk@v2.0.0rc1...v2.0.0
v1.29.1Compare Source
What's Changed
Full Changelog: modelcontextprotocol/python-sdk@v1.29.0...v1.29.1
v1.29.0Compare Source
What's Changed
Full Changelog: modelcontextprotocol/python-sdk@v1.28.1...v1.29.0
openai/openai-python (openai)
v3.1.0Compare Source
Features
Chores
v3.0.0Compare Source
β BREAKING CHANGES
httpxis no longer installed automatically. Applications using custom HTTPX clients, transports, or configuration objects must migrate to their HTTPX2 equivalents or use the temporary, runtime-only legacy HTTPX escape hatch. See the HTTPX2 migration guide.Features
v2.54.0Compare Source
Features
Bug Fixes
Chores
python-websockets/websockets (websockets)
v17.0.1Compare Source
See https://websockets.readthedocs.io/en/stable/project/changelog.html for details.
v17.0Compare Source
See https://websockets.readthedocs.io/en/stable/project/changelog.html for details.
v16.1.1Compare Source
See https://websockets.readthedocs.io/en/stable/project/changelog.html for details.
v16.1Compare Source
See https://websockets.readthedocs.io/en/stable/project/changelog.html for details.
v16.0Compare Source
See https://websockets.readthedocs.io/en/stable/project/changelog.html for details.
Configuration
π Schedule: (UTC)
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.