Add a command line option to select the resolver implementation #7603
Labels
auto-locked
Outdated issues that have been locked by automation
C: dependency resolution
About choosing which dependencies to install
type: feature request
Request for a new feature
What's the problem this feature will solve?
When the new resolver is implemented, we will need to have a way to allow users to test it. One option is to add a new option to pip to allow selection of which resolver to use.
Describe the solution you'd like
Add a pip option
--resolver=[legacy|new]
. Name of the option and the values can be discussed. Choosing "legacy" will select the current resolver, choosing "new" will select the new resolver.Notes:
Alternative Solutions
A boolean option like
--enable-new-resolver
could be used instead. The transition process might be more complex with such an option.The new resolver could be made available simply as a separate feature branch of pip. This would make it significantly harder for users to try the new code, though.
Additional context
See Zulip for some additional discussion.
The text was updated successfully, but these errors were encountered: