You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uv lock warning suggests non-existent --no-frozen flag #19290
When UV_FROZEN=1 is set (or frozen is set in workspace configuration), running uv lock emits a hint that doesn't work:
UV_FROZEN=1 uv lock
warning: The lockfile at `uv.lock` was only checked for validity, not whether it is up-to-date, because `UV_FROZEN=1` was provided; use `--no-frozen` or `--check` instead
UV_FROZEN=1 uv lock --no-frozen
error: unexpected argument '--no-frozen' found
tip: a similar argument exists: '--frozen'
Usage: uv lock --check-exists
For more information, try '--help'.
Yes, the suggestion is wrong. uv lock doesn't have a --no-frozen flag (unlike uv sync / uv run); on uv lock, --frozen is just an alias for --check-exists. Looks like the env/config branch of the warning in lock.rs was modelled on the other subcommands' flag inventory. Introduced in #17859.
The ideal fix would be to drop --no-frozen from that message so it matches the --frozen CLI branch right above (use --check instead). While I was looking, the Configuration half of that branch isn't actually reachable today. There's no tool.uv.frozen field in GlobalOptions, and Flag::from_config("frozen") is never constructed anywhere in the tree (only offline is). The warning only ever fires on the UV_FROZEN path in practice; the workspace-config wording is plumbing without a source.
Activity
nooscraft commentedon May 5, 2026
Yes, the suggestion is wrong.
uv lockdoesn't have a--no-frozenflag (unlikeuv sync/uv run); onuv lock,--frozenis just an alias for--check-exists. Looks like the env/config branch of the warning inlock.rswas modelled on the other subcommands' flag inventory. Introduced in #17859.The ideal fix would be to drop
--no-frozenfrom that message so it matches the--frozenCLI branch right above (use --check instead). While I was looking, theConfigurationhalf of that branch isn't actually reachable today. There's notool.uv.frozenfield inGlobalOptions, andFlag::from_config("frozen")is never constructed anywhere in the tree (onlyofflineis). The warning only ever fires on theUV_FROZENpath in practice; the workspace-config wording is plumbing without a source.fix(lock): warning suggests non-existent --no-frozen flag (astral-sh#…
build(deps): update uv to v0.11.13
feat(github-release): update release uv ( 0.10.9 → 0.11.17 ) (#34)
feat(github-release): update release uv ( 0.10.9 → 0.11.19 ) (#43)