You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: openai dependency still pinned to <3.0.0 in latest release, blocks packages requiring openai>=3.0.0 #40317
litellm's pyproject.toml pins openai>=2.20.0,<3.0.0 even in the latest
release (1.100.0). This makes it impossible to install litellm alongside
any package that requires openai>=3.0.0.
openai's v3.x line has been on PyPI for a while now (currently 3.9.0), so
the <3.0.0 ceiling appears to be stale rather than an active compatibility
guard.
Reproduction
In a project that depends on both litellm==1.99.0 (or 1.100.0) and another
package requiring openai>=3.0.0, uv lock fails to resolve:
× No solution found when resolving dependencies for split (markers:
│ python_full_version == '3.14.7' and sys_platform == 'win32'):
╰─▶ Because some-package[openai]==X.Y.Z depends on openai>=3.0.0 and
litellm==1.99.0 depends on openai>=2.20.0,<3.0.0, we can conclude that
litellm==1.99.0 and some-package[openai]==X.Y.Z are incompatible.
And because llm depends on litellm==1.99.0, we can conclude that llm and
some-package[openai]==X.Y.Z are incompatible.
And because llm depends on some-package[openai]==X.Y.Z and your
workspace requires llm[all], we can conclude that your workspace's
requirements are unsatisfiable.
Relevant Log Output
No response
Are you a ML Ops Team?
No
What areas was the bug in?
Dependencies
Twitter / LinkedIn details
No response
Reacted by Antoine, Katrina Stankiewicz, Brian Strauch, Marcus Wood, Harry Caufield and Amine Ben Salah
Howdy! I’m one of OpenAI’s Python SDK maintainers, new to LiteLLM. #43209 attempts SDK 2/3 compatibility; limitations are detailed there. I’d appreciate feedback!
Activity
pdeitel commentedon Sep 15, 2026
any updates on this?
marcuswood-oai commentedon Sep 28, 2026
Howdy! I’m one of OpenAI’s Python SDK maintainers, new to LiteLLM. #43209 attempts SDK 2/3 compatibility; limitations are detailed there. I’d appreciate feedback!