-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The init container uses UV to obtain python dependencies. This will cause UV to set up a cache dir, which defaults to this hierarchy:
- A temporary cache directory, if
--no-cachewas requested. - The specific cache directory specified via
--cache-dir,UV_CACHE_DIR, ortool.uv.cache-dir. - A system-appropriate cache directory, e.g.,
$XDG_CACHE_HOME/uvor$HOME/.cache/uvon Unix and%LOCALAPPDATA%\uv\cacheon Windows
With the current setup this defaults to $HOME/.cache/uv which if running as user 1000 resolves to /home/ubuntu/.cache/uv. If running as any other UID (e.g. 37889 for p49detector) the $HOME envar will not exist and UV will fail.
Acceptance Criteria
- When a UID other than
1000is used, the init container can successfully install all scratch dependencies.
Metadata
Metadata
Assignees
Labels
No labels