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

Error when editables don't match Requires-Python #2194

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 5, 2024

Summary

Closes #2192.

Test Plan

cargo test

@@ -389,6 +391,21 @@ async fn build_editables(
.into_iter()
.collect();

// Validate that the editables are compatible with the target Python version.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I know anything about uv codebase but FTR this fix should also be applied on non-editable local installs. (appologies if that's already done).

Thanks for working on this!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we already enforced those, but I guess not! Will do it in a separate PR, thanks.

@charliermarsh charliermarsh force-pushed the charlie/req branch 2 times, most recently from c600124 to 1c420b0 Compare March 5, 2024 04:09
@charliermarsh charliermarsh marked this pull request as ready for review March 5, 2024 04:11
@charliermarsh charliermarsh merged commit 0bc0478 into main Mar 5, 2024
7 checks passed
@charliermarsh charliermarsh deleted the charlie/req branch March 5, 2024 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv does not respect python_requires in setup.cfg
2 participants