File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/pip/_internal/resolution/resolvelib Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class PipReporter(BaseReporter):
13
13
def __init__ (self ) -> None :
14
14
self .backtracks_by_package : DefaultDict [str , int ] = defaultdict (int )
15
15
16
+ reduce_backtracking_url = "https://pip.pypa.io/en/latest/topics/dependency-resolution/#possible-ways-to-reduce-backtracking" # noqa: E501
16
17
self ._messages_at_backtrack = {
17
18
1 : (
18
19
"pip is looking at multiple versions of {package_name} to "
@@ -27,8 +28,8 @@ def __init__(self) -> None:
27
28
13 : (
28
29
"This is taking longer than usual. You might need to provide "
29
30
"the dependency resolver with stricter constraints to reduce "
30
- "runtime. If you want to abort this run, you can press "
31
- "Ctrl + C to do so ."
31
+ f "runtime. See { reduce_backtracking_url } for tips and/or "
32
+ "press Ctrl + C to abort this run ."
32
33
),
33
34
}
34
35
You can’t perform that action at this time.
0 commit comments