Skip to content

Align uv-lock index URL with Renovate (remove trailing slash)#123

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/update-uv-lock-pre-commit-hook
Closed

Align uv-lock index URL with Renovate (remove trailing slash)#123
Copilot wants to merge 2 commits into
mainfrom
copilot/update-uv-lock-pre-commit-hook

Conversation

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Update .pre-commit-config.yaml uv-lock args to use https://pypi.org/simple (no trailing slash), matching Renovate output.

See #91 - it needed manual intervention because renovate uses https://pypi.org/simple and pre-commit check uses https://pypi.org/simple/

Copilot AI changed the title [WIP] Update uv-lock pre-commit hook index URL to match Renovate Align uv-lock index URL with Renovate (remove trailing slash) Jun 10, 2026
Copilot AI requested a review from lmolkova June 10, 2026 04:52
@lmolkova lmolkova added the Skip Changelog PR does not require a changelog entry label Jun 10, 2026
@lmolkova lmolkova marked this pull request as ready for review June 10, 2026 04:56
@lmolkova lmolkova requested a review from a team as a code owner June 10, 2026 04:56
Copilot AI review requested due to automatic review settings June 10, 2026 04:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request aligns the PyPI “simple” index URL used by the uv-lock pre-commit hook and the generated uv.lock metadata with Renovate’s canonical URL format (removing the trailing slash), preventing lockfile churn and manual intervention like in #91.

Changes:

  • Update .pre-commit-config.yaml uv-lock hook args to use https://pypi.org/simple (no trailing slash).
  • Normalize source.registry entries in uv.lock from https://pypi.org/simple/ to https://pypi.org/simple.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
uv.lock Normalizes registry URL strings to match Renovate’s canonical index URL format.
.pre-commit-config.yaml Updates the uv-lock hook’s --index-url to the non-trailing-slash form to avoid lockfile discrepancies.

@lmolkova

Copy link
Copy Markdown
Member

Covered by #146

@lmolkova lmolkova closed this Jun 17, 2026
@trask

trask commented Jun 17, 2026

Copy link
Copy Markdown
Member

Oh sorry missed this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PR does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants