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

Respect --no-index with --find-links in pip sync #2692

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

In pip sync, we weren't properly handling cases in which a package only existed in --find-links (e.g., the user passed --offline or --no-index).

I plan to explore removing Finder entirely to avoid these mismatch bugs between pip sync and other commands, but this is fine for now.

Closes #2688.

Test Plan

cargo test

@charliermarsh charliermarsh added the bug Something isn't working label Mar 27, 2024
@charliermarsh charliermarsh marked this pull request as ready for review March 27, 2024 15:55
@charliermarsh charliermarsh enabled auto-merge (squash) March 27, 2024 16:10
@charliermarsh charliermarsh merged commit dc957d7 into main Mar 27, 2024
31 checks passed
@charliermarsh charliermarsh deleted the charlie/dist-db branch March 27, 2024 16:15
zanieb added a commit that referenced this pull request Mar 27, 2024
zanieb added a commit that referenced this pull request Mar 27, 2024
zanieb added a commit that referenced this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

is uv pip sync with --find-links broken?
1 participant