Skip to content

Commit 59cbe76

Browse files
committed
Remove resolution depth from docs and doc string
1 parent 9a577ea commit 59cbe76

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

docs/html/topics/more-dependency-resolution.md

-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ follows:
160160
explicit URL.
161161
* If equal, prefer if any requirement is "pinned", i.e. contains
162162
operator ``===`` or ``==``.
163-
* If equal, calculate an approximate "depth" and resolve requirements
164-
closer to the user-specified requirements first.
165163
* Order user-specified requirements by the order they are specified.
166164
* If equal, prefers "non-free" requirements, i.e. contains at least one
167165
operator, such as ``>=`` or ``<``.

src/pip/_internal/resolution/resolvelib/provider.py

-4
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ def get_preference(
122122
explicit URL.
123123
* If equal, prefer if any requirement is "pinned", i.e. contains
124124
operator ``===`` or ``==``.
125-
* If equal, calculate an approximate "depth" and resolve requirements
126-
closer to the user-specified requirements first. If the depth cannot
127-
by determined (eg: due to no matching parents), it is considered
128-
infinite.
129125
* Order user-specified requirements by the order they are specified.
130126
* If equal, prefers "non-free" requirements, i.e. contains at least one
131127
operator, such as ``>=`` or ``<``.

0 commit comments

Comments
 (0)