Skip to content

Use --locked instead of --frozen when running uv sync#6018

Merged
foarsitter merged 3 commits intocookiecutter:mainfrom
browniebroke:uv-locked-over-frozen
Sep 8, 2025
Merged

Use --locked instead of --frozen when running uv sync#6018
foarsitter merged 3 commits intocookiecutter:mainfrom
browniebroke:uv-locked-over-frozen

Conversation

@browniebroke
Copy link
Member

@browniebroke browniebroke commented Sep 7, 2025

Description

As per latest recommendations: astral-sh/uv-docker-example#53

Checklist:

  • I've made sure that tests are updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

The main difference is that --locked assert that the uv.lock will remain unchanged. Production and CI systems should expect that to be the case.

@foarsitter foarsitter merged commit 45bcd9d into cookiecutter:main Sep 8, 2025
15 checks passed
@browniebroke browniebroke deleted the uv-locked-over-frozen branch September 8, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants