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

Support recursive extras in direct pyproject.toml files #1990

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

charliermarsh
Copy link
Member

Summary

When a pyproject.toml is provided directly to uv pip compile, we were failing to resolve recursive extras. The solution I settled on here is to flatten them recursively when determining the requirements upfront.

Closes #1987.

Test Plan

cargo test

@charliermarsh charliermarsh added the bug Something isn't working label Feb 26, 2024
@charliermarsh charliermarsh merged commit 4fdf230 into main Feb 26, 2024
7 checks passed
@charliermarsh charliermarsh deleted the charlie/rec branch February 26, 2024 20:44
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.

Recursive extra dependencies don't compile like pip-tools
1 participant