-
[OPIK-7386] [INFRA] chore: migrate Python Dockerfiles from pip to uv (#7525)
发布于
2026-07-22 10:40:27 +00:00 Swap pip for uv (drop-in, unpinned) in the three Python Dockerfiles:
opik-sandbox-executor-python, opik-python-backend, opik-guardrails-backend.
Stage the pinned uv 0.11.29 distroless binary in each build stage; it never
reaches runtime. Existing bytecode slimming, venv layout, and package-manager
stripping are unchanged. The guardrails pip>=24 bootstrap is dropped since
uv's resolver already handles the pinned torch/transformers/hf_xet wheels.No uv.lock, requirements and dependency versions untouched.
Implements OPIK-7386: migrate Python Dockerfiles from pip to uv
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com
下载附件