Add --emit-options/--no-emit-options
flags to pip-compile
#1123
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
A switcher to turn off all options in the compile output.
Rationale
It might be helpful for users who have
pip.conf
and don't want to pass any options to the compile output. Yes, they can switch off some of the options with--no-emit-trusted-hosts
and--no-emit-find-links
, but there is no option to turn them all off.Also, it's pretty useful for the tests to check the exact resolver output. For example, instead of:
check the complete result and make sure that there are no side dependencies
Changelog-friendly one-liner: Add
--emit-options/--no-emit-options
flag topip-compile
.Contributor checklist