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

Remove extras from compiled files #1953

Closed
wants to merge 1 commit into from

Conversation

atugushev
Copy link
Member

@atugushev atugushev commented Aug 5, 2023

Resolves #1613.

Contributor checklist
  • Included tests for the changes.
  • PR title is short, clear, and ready to be included in the user-facing changelog.
Maintainer checklist
  • Verified one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
  • Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

@atugushev atugushev added enhancement Improvements to functionality extras Handling optional dependencies labels Aug 5, 2023
Copy link
Contributor

@ryanhiebert ryanhiebert left a comment

Choose a reason for hiding this comment

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

It will be a breaking change to change the default. We should do it at some point, but if we're going to add --include-extras, and I think we should based on prior feedback, we should add that argument to a minor version bump to anticipate this breaking change, and to allow people to silence the warning of the breaking change of the default.

@@ -567,6 +567,7 @@ This section lists `pip-tools` features that are currently deprecated.
to pass the `--allow-unsafe` now to adapt to the upcoming change.
- The legacy resolver is deprecated and will be removed in future versions.
The new default is `--resolver=backtracking`.
- `--strip-extras` is deprecated. It has no effect and will be removed in future versions.
Copy link
Contributor

Choose a reason for hiding this comment

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

As noted on the relevant issue, --strip-extras does have an effect, even with the new default resolver.

@atugushev
Copy link
Member Author

@ryanhiebert, thanks for the review! I'll close the PR based on this #1613 (comment).

@atugushev atugushev closed this Aug 5, 2023
@atugushev atugushev deleted the remove-extras branch August 5, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to functionality extras Handling optional dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Always remove extras in compiled files
2 participants