Skip to content

Update source references when renaming equivalent indexes - #57

Draft
zanieb wants to merge 1 commit into
mainfrom
zb/bughunt100/052-rename-equivalent-index-sources
Draft

Update source references when renaming equivalent indexes#57
zanieb wants to merge 1 commit into
mainfrom
zb/bughunt100/052-rename-equivalent-index-sources

Conversation

@zanieb

@zanieb zanieb commented Jul 16, 2026

Copy link
Copy Markdown
Member

Adding an equivalent [[tool.uv.index]] with a new name can overwrite the declaration while existing tool.uv.sources references still use the old name, causing the next uv lock to fail. Preserve the existing name or rewrite matching source references.

Also update credential-derived index names when an index is renamed, as reported in uv#19758.

@zaniebot
zaniebot force-pushed the zb/bughunt100/052-rename-equivalent-index-sources branch from afd23ea to 15da2d8 Compare July 16, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant