Skip to content

[Bug]: uvicorn dependency version too low #11484

@zhiruiwang

Description

@zhiruiwang

What happened?

Similar to this #7768 issue, the new releases of litellm specifies the uvicorn poetry dependency as: uvicorn = {version = "^0.29.0", optional = true}, which is >=0.29.0 <0.30.0 (conda-forge/litellm-feedstock#305)

This causes dependency conflicts in projects that use google-adk,
because google-adk requires uvicorn>=0.34.0, while litellm enforces uvicorn<0.30.0.

Could you please review and publish a new release with higher uvicorn dependency?
This would greatly help avoid installation issues for downstream projects.

Thank you in advance! Let me know if there's anything else I can do to assist.

Relevant log output

The following packages are incompatible
├─ google-adk =* * is installable and it requires
│  └─ uvicorn >=0.34.0 * with the potential options
│     ├─ uvicorn [0.34.0|0.34.1|0.34.2|0.34.3], which can be installed;
│     └─ uvicorn [0.34.0|0.34.1|0.34.2|0.34.3] would require
│        └─ __win =* *, which is missing on the system;
└─ litellm =* * is not installable because there are no viable options
   ├─ litellm [1.34.0|1.34.1|...|1.63.0] would require
   │  └─ uvicorn >=0.22.0,<0.23.0 *, which conflicts with any installable versions previously reported;
   └─ litellm [1.63.0|1.63.11|...|1.72.0] would require
      └─ uvicorn >=0.29.0,<0.30.0 *, which conflicts with any installable versions previously reported.

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.72.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