Skip to content

Commit 760c314

Browse files
committed
Fixes for pre-merge checks
Minor formatting fix. Added changelog entry.
1 parent c02103e commit 760c314

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/13424.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Handle pathologically connected dependency graphs in reasonable time.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def visit(node: str | None) -> None:
319319

320320
# Now give back all the weights, choosing the largest ones from what we
321321
# accumulated.
322-
return {node : max(wgts) for (node, wgts) in weights.items()}
322+
return {node: max(wgts) for (node, wgts) in weights.items()}
323323

324324

325325
def _req_set_item_sorter(

0 commit comments

Comments
 (0)