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 reusing cached downloaded binaries with --no-binary #7772

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Sep 29, 2024

Summary

Historically, we've allowed the use of wheels that were downloaded from PyPI even when the user passes --no-binary, if the wheel exists in the cache. This PR modifies the cache lookup code such that we respect --no-build and --no-binary in those paths.

Closes #2154.

@charliermarsh charliermarsh marked this pull request as ready for review September 29, 2024 01:41
@charliermarsh charliermarsh added the bug Something isn't working label Sep 29, 2024
@charliermarsh charliermarsh force-pushed the charlie/bin branch 2 times, most recently from abe8d55 to fad9d93 Compare September 29, 2024 01:59
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.

--no-binary flag not always correctly taken into acount across runs.
1 participant