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

Unroll self-dependencies via extras #3230

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Unroll self-dependencies via extras #3230

merged 2 commits into from
Apr 24, 2024

Conversation

charliermarsh
Copy link
Member

Summary

We now recursively expand any self-dependencies via extras, which lets us detect conflicts sooner and avoid building unnecessary versions of packages that are excluded via the extra.

Closes #3135.

@charliermarsh charliermarsh added bug Something isn't working performance Potential performance improvement labels Apr 24, 2024

[project.optional-dependencies]
test = ["extras<0.0.2"]
coverage = ["example[test]", "extras>=0.0.1,<=0.0.2"]
Copy link
Member Author

Choose a reason for hiding this comment

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

This test fails if you try to build extras==0.0.2.

@charliermarsh charliermarsh marked this pull request as ready for review April 24, 2024 01:23
@charliermarsh charliermarsh merged commit 84989a3 into main Apr 24, 2024
39 of 40 checks passed
@charliermarsh charliermarsh deleted the charlie/priority branch April 24, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance Potential performance improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preemptively unroll recursive extras during resolution
2 participants