diff --git a/container/Dockerfile.sglang b/container/Dockerfile.sglang index 12ce1946d9..8c5d72b15c 100644 --- a/container/Dockerfile.sglang +++ b/container/Dockerfile.sglang @@ -472,7 +472,12 @@ RUN apt-get update && \ COPY --from=ci_minimum /workspace/target/release/metrics /usr/local/bin/metrics COPY --from=wheel_builder /workspace/dist/*.whl wheelhouse/ COPY --from=base /workspace/wheels/nixl/*.whl wheelhouse/ -RUN uv pip install "ai-dynamo[sglang]" --pre --find-links wheelhouse +ARG SGLANG_VERSION +RUN uv pip install \ + /workspace/wheelhouse/ai_dynamo_runtime*cp312*.whl \ + /workspace/wheelhouse/ai_dynamo*any.whl \ + /workspace/wheelhouse/nixl*.whl \ + "sglang[all]==${SGLANG_VERSION}" # Common dependencies # TODO: Remove extra install and use pyproject.toml to define all dependencies diff --git a/lib/bindings/python/pyproject.toml b/lib/bindings/python/pyproject.toml index 91ca9554f5..e4b0eb96c4 100644 --- a/lib/bindings/python/pyproject.toml +++ b/lib/bindings/python/pyproject.toml @@ -26,7 +26,7 @@ license = { text = "Apache-2.0" } license-files = ["LICENSE"] requires-python = ">=3.10" dependencies = [ - "pydantic>=2.10.6,<2.11.0", + "pydantic>=2.10.6,<=2.11.7", "uvloop>=0.21.0", ] classifiers = [