From 350d5449bdd9796842d5902222474d61a28d079f Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 31 Oct 2025 10:34:15 -0700 Subject: [PATCH] fix(ci): unset UV index env vars before distribution deps install Explicitly unset UV_EXTRA_INDEX_URL and UV_INDEX_STRATEGY before installing distribution dependencies to ensure they only use PyPI (not test.pypi). This prevents UV from using any residual index configuration from the llama-stack installation step which could cause it to look for packages on test.pypi where binary wheels may not be available. --- containers/Containerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/containers/Containerfile b/containers/Containerfile index 2116fecc0..e02f1e564 100644 --- a/containers/Containerfile +++ b/containers/Containerfile @@ -103,7 +103,9 @@ RUN set -eux; \ fi; # Install the dependencies for the distribution +# Explicitly unset UV index env vars to ensure we only use PyPI for distribution deps RUN set -eux; \ + unset UV_EXTRA_INDEX_URL UV_INDEX_STRATEGY; \ if [ -z "$DISTRO_NAME" ]; then \ echo "DISTRO_NAME must be provided" >&2; \ exit 1; \