Skip to content

[Bug]: Uvicorn version must be updated to beyond 1.31.0 #15511

@Granine

Description

@Granine

What happened?

Currently, the required uvicorn version is ^1.29.0 (so <1.30.0) for proxy. However, since MCP 1.13 (newest version is 1.17/18, the current compatible is 1.12.4) the required version is uvicorn 1.31. This means many new features and connectors introduced later are not supported while using Litellm. This should be seen as a bug since some tools depend on os management capability of newer MCP packages and cause silent failure.

According to Copilot, all further versions of uvicorn are compatible. Hence, it might be a simple change

Link to MCP: https://github.com/modelcontextprotocol/python-sdk/blob/main/pyproject.toml

Image

Link to litellm requirement.txt
https://github.com/BerriAI/litellm/blob/main/pyproject.toml

Image

Relevant log output

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.78.0

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions