mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Moves the proxy-runtime ddtrace constraint from >=2.19.0,<3.0 to >=4.8.2,<5.0,
aligns the build_from_pip image pin, and updates the type-only Tracer import to
its current module path (ddtrace.tracer -> ddtrace.trace), which 4.x requires.
Lock delta is ddtrace 2.19.0 -> 4.11.0 plus the removal of legacy-cgi and
xmltodict, which were 2.x-only transitives; neither is imported anywhere in
litellm, enterprise or tests. Lock pinned to 4.11.0 to match internal staging
and the build_from_pip pin rather than floating to the newest 4.x.
Adapted from the staging commit: this line never carried the python_version
constraint split from #33438, so the two-line split collapses to a single
constraint here, and staging's uv.lock hunk was dropped in favour of a lock
re-derived on this line.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| Dockerfile.build_from_pip | ||
| litellm_config.yaml | ||
| Readme.md | ||
Docker to build LiteLLM Proxy from litellm pip package
When to use this ?
If you need to build LiteLLM Proxy from litellm pip package, you can use this Dockerfile as a reference.
Why build from pip package ?
- If your company has a strict requirement around security / building images you can follow steps outlined here