Skip to content

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

Merged
charliermarsh merged 1 commit intomainfrom
charlie/dist-db
Mar 27, 2024
Merged

Respect --no-index with --find-links in pip sync#2692
charliermarsh merged 1 commit intomainfrom
charlie/dist-db

Conversation

@charliermarsh
Copy link
Copy Markdown
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
@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