Recommend --locked over --frozen for uv sync#972
Merged
henryiii merged 1 commit intowntrblm:mainfrom May 13, 2025
johnthagen:patch-1
Merged
Recommend --locked over --frozen for uv sync#972henryiii merged 1 commit intowntrblm:mainfrom johnthagen:patch-1
--locked over --frozen for uv sync#972henryiii merged 1 commit intowntrblm:mainfrom
johnthagen:patch-1
Conversation
edgarrmondragon
approved these changes
May 13, 2025
Contributor
edgarrmondragon
left a comment
There was a problem hiding this comment.
This makes sense. I recently found that I was using UV_PRERELEASE=allow in CI but not locally.
Collaborator
|
What is the default? And what happens if there isn't a lockfile yet? I think the default is like |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This tracks upstream recommendations
--frozenwith--lockedin Docker integration guide astral-sh/uv#12818--lockedtouv syncin GitHub Actions guide astral-sh/uv#12819To be honest, I actually think that we should put
--lockedinto the default code example above this paragraph. An out-of-date lockfile is something you almost always want to catch in CI or locally with a tool like Nox.@henryiii what do you think?
For now, this PR takes the more conservative change of simply recommending
--lockedover--frozen.