Skip to content

pdm sync vs pdm install --frozen-lockfile #2761

Answered by frostming
deronnax asked this question in Q&A
Discussion options

You must be logged in to vote

pdm install --frozen-lockfile may still update the pinned versions, but the updates won't be reflected in the lockfile. While pdm sync is guaranteed to be a lock-free operation that installs whatever in the lockfile.

You can try it yourself by doing some modifications to the pyproject.toml and run those commands

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@deronnax
Comment options

deronnax Apr 3, 2024
Author Sponsor

Answer selected by deronnax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants