Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve hashes for pinned packages #2532

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Preserve hashes for pinned packages #2532

merged 1 commit into from
Mar 19, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 19, 2024

Summary

When a user runs with --output-file and --generate-hashes, we should only update the hashes if the pinned version itself changes.

Closes #1530.

@charliermarsh charliermarsh force-pushed the charlie/hash branch 3 times, most recently from 05db32e to 109ebc7 Compare March 19, 2024 00:37
@charliermarsh charliermarsh marked this pull request as ready for review March 19, 2024 00:39
@charliermarsh charliermarsh added bug Something isn't working compatibility Compatibility with a specification or another tool labels Mar 19, 2024
@charliermarsh charliermarsh force-pushed the charlie/hash branch 3 times, most recently from fc8cec6 to c8b17fc Compare March 19, 2024 00:52
@charliermarsh charliermarsh enabled auto-merge (squash) March 19, 2024 00:56
@charliermarsh charliermarsh merged commit d0789fc into main Mar 19, 2024
30 checks passed
@charliermarsh charliermarsh deleted the charlie/hash branch March 19, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv pip compile updates hashes in lockfile without --upgrade
1 participant