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 requires-python when prefetching #4900

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Respect requires-python when prefetching #4900

merged 1 commit into from
Jul 8, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Jul 8, 2024

Summary

This is fallout from #4705. We need to respect requires-python in the prefetch code to avoid building unsupported distributions.

Closes #4898.

@charliermarsh charliermarsh added bug Something isn't working resolver Related to the package resolver labels Jul 8, 2024
@charliermarsh
Copy link
Member Author

Will add test coverage.

@zanieb
Copy link
Member

zanieb commented Jul 8, 2024

As a side-note, are we tracking not hard-failing on errors during pre-fetch? Seems wild that this can crash the resolution.

@charliermarsh
Copy link
Member Author

@zanieb - I don't think so... Part of the problem is that we do need to track failures here, we can't just skip silently, since if we later request the package and it fails in a way that we consider a hard failure (like a build failure), that does need to be surfaced.

@charliermarsh
Copy link
Member Author

I created #4901.

@charliermarsh charliermarsh merged commit ac3a085 into main Jul 8, 2024
49 checks passed
@charliermarsh charliermarsh deleted the charlie/x branch July 8, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolver Related to the package resolver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv versions 0.2.19 and 0.2.20 not respecting wheel dependecies
3 participants