fix: lock against public PyPI so the image builds outside the workstation #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/buildable-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
uv.lock was originally resolved with the workstation's globally-configured
dexterenergy private artifact registry as the default index, baking that
URL into every
source = { registry = ... }entry. Inside Docker that401s.
default uv index (overrideable, but pins intent)
no UV_INDEX so every source now points at public PyPI
Reproduce:
UV_DEFAULT_INDEX=https://pypi.org/simple UV_INDEX= uv lockuv.lock was originally resolved with the workstation's globally-configured dexterenergy private artifact registry as the default index, baking that URL into every `source = { registry = ... }` entry. Inside Docker that 401s. - pyproject.toml: declare https://pypi.org/simple as the project's default uv index (overrideable, but pins intent) - uv.lock: regenerated with UV_DEFAULT_INDEX=https://pypi.org/simple and no UV_INDEX so every source now points at public PyPI Reproduce: `UV_DEFAULT_INDEX=https://pypi.org/simple UV_INDEX= uv lock`