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

Avoid mismatch in --locked with Git dependencies #5865

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

charliermarsh
Copy link
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.

@@ -261,6 +261,18 @@ fn lock_sdist_git() -> Result<()> {
});
}

// Re-run with `--locked`.
Copy link
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
57 checks passed
@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