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

Implement --no-strip-extras to preserve extras in compilation #2555

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

charliermarsh
Copy link
Member

Summary

We strip extras by default, but there are some valid use-cases in which they're required (see the linked issue). This PR doesn't change our default, but it does add --no-strip-extras, which lets users preserve extras in the output requirements.

Closes #1595.

@charliermarsh charliermarsh added enhancement New feature or request compatibility Compatibility with another interface or tool labels Mar 19, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) March 19, 2024 23:55
@charliermarsh charliermarsh merged commit ab99a18 into main Mar 19, 2024
31 checks passed
@charliermarsh charliermarsh deleted the charlie/strip-extras branch March 19, 2024 23:59
@palfrey
Copy link
Contributor

palfrey commented Mar 24, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with another interface or tool enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv pip compile does not include extras in output
2 participants