3 hours ago · Tech · 0 comments

TL;DR: I needed to repoint a batch of uv projects at a new package registry without changing a single resolved version. uv lock --no-upgrade re-resolves anyway when the index changes, so I rewrote the URLs in pyproject.toml and uv.lock with sed and verified with uv lock --locked. Motivation Link to heading I was migrating Python projects at work to a new package registry. The packages had been copied across byte-identical, so the only thing that should change in each project was the URL. I’d promised reviewers config-only diffs: same packages, same versions, new host.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.