Skip to content

Commit

Permalink
Default to --resolver=backtracking (#1897)
Browse files Browse the repository at this point in the history
  • Loading branch information
atugushev authored Jul 14, 2023
1 parent 776c3fa commit 33667e3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions piptools/scripts/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def _determine_linesep(
"--resolver",
"resolver_name",
type=click.Choice(("legacy", "backtracking")),
default="legacy",
default="backtracking",
envvar="PIP_TOOLS_RESOLVER",
help="Choose the dependency resolver.",
)
Expand Down Expand Up @@ -423,9 +423,7 @@ def cli(
if resolver_name == "legacy":
log.warning(
"WARNING: the legacy dependency resolver is deprecated and will be removed"
" in future versions of pip-tools. The default resolver will be changed to"
" 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to"
" silence this warning."
" in future versions of pip-tools."
)

###
Expand Down

0 comments on commit 33667e3

Please sign in to comment.