-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
questionAsking for clarification or supportAsking for clarification or support
Description
Summary
In uv 0.9.18+, if a pre-release (e.g. mypkg==1.0.0rc1) is locked and the dependency specifier is later widened to a non-prerelease range (e.g. mypkg==1.*), uv sync retains the pre-release in the lockfile even after the stable 1.0.0 is available.
In <= 0.9.17, the resolver would upgrade to the stable release.
Example repro:
- Publish mypkg 1.0.0rc1
- In another package, set dependency to mypkg==1.0.0rc1 (sync to update lock)
- Publish mypkg 1.0.0
- In the other package, set dependency to mypkg==1.* (sync updates specifier but retains 1.0.0rc1)
Platform
Ubuntu 24.04
Version
0.9.18+
Python version
3.14
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionAsking for clarification or supportAsking for clarification or support