mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
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.
This commit is contained in:
parent
e19979ae29
commit
350d5449bd
1 changed files with 2 additions and 0 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue