Skip to content

Avoid mismatch in --locked with Git dependencies - #5865

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/lock-git
Aug 7, 2024
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/lock-git

Conversation

@charliermarsh

Copy link
Copy Markdown
Member

Summary

We were dropping the query and fragment in the wrong place, so the URLs didn't match up after resolving from an existing lockfile.

Closes #5851.

Comment thread crates/uv/tests/lock.rs Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll follow-up to add this to all the test cases.

@charliermarsh charliermarsh added bug Something isn't working preview Experimental behavior labels Aug 7, 2024
@charliermarsh
charliermarsh enabled auto-merge (squash) August 7, 2024 15:40
@charliermarsh
charliermarsh merged commit dceba77 into main Aug 7, 2024
@charliermarsh
charliermarsh deleted the charlie/lock-git branch August 7, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working preview Experimental behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uv lock --locked raises false-positive errors with git dependencies

1 participant