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-build and --no-binary in --find-links #2826

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Apr 5, 2024

Summary

In working on --require-hashes, I noticed that we're missing some incompatibility tracking for --find-links distributions. Specifically, we don't respect --no-build or --no-binary, so if we select a wheel due to --find-links, we then throw a hard error when trying to build it later (if --no-binary is provided), rather than selecting the source distribution instead.

Closes #2827.

@charliermarsh charliermarsh added the bug Something isn't working label Apr 5, 2024
@charliermarsh charliermarsh marked this pull request as ready for review April 5, 2024 01:47
@charliermarsh charliermarsh enabled auto-merge (squash) April 5, 2024 01:52
@charliermarsh charliermarsh merged commit 2ac562b into main Apr 5, 2024
35 checks passed
@charliermarsh charliermarsh deleted the charlie/find branch April 5, 2024 02:00
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.

--find-links selection ignores --no-build and --no-binary
1 participant