From 2c10e87c3e72a2bd45d997183dea5e097e457ce7 Mon Sep 17 00:00:00 2001 From: Damian Date: Sat, 9 Oct 2021 00:53:02 -0400 Subject: [PATCH] parent af71f3c18dff4434fe442c689229dc727969612c author Damian 1633755088 -0400 committer Damian 1633755088 -0400 parent 02b4f864896ae60b342d317f7bfe5c0ad25b348b author Damian 1633754869 -0400 committer Damian 1633754928 -0400 parent 02b4f864896ae60b342d317f7bfe5c0ad25b348b author Damian 1633754869 -0400 committer Damian 1633754892 -0400 Return a better error message if a `file:` URL is not found (#10263) Co-authored-by: Tzu-ping Chung Co-authored-by: Pradyun Gedam Prefer failure causes when backtracking This fix is in the wrong PR confusing matters Change name to backtrack_causes Create is_backtrack_cause function Fix newlines Typo Fix in Comment Fix lint errors Add News Item Newline Better news. Fix known depths Fix known depths Fix known depths This fix is in the wrong PR confusing matters Change name to backtrack_causes Create is_backtrack_cause function Fix newlines Typo Fix in Comment Fix lint errors Better news. Update news/10479.feature.rst Co-authored-by: Pradyun Gedam Fix mistake from merge parent af71f3c18dff4434fe442c689229dc727969612c author Damian 1633755088 -0400 committer Damian 1633755088 -0400 parent 02b4f864896ae60b342d317f7bfe5c0ad25b348b author Damian 1633754869 -0400 committer Damian 1633754928 -0400 parent 02b4f864896ae60b342d317f7bfe5c0ad25b348b author Damian 1633754869 -0400 committer Damian 1633754892 -0400 Return a better error message if a `file:` URL is not found (#10263) Co-authored-by: Tzu-ping Chung Co-authored-by: Pradyun Gedam Prefer failure causes when backtracking This fix is in the wrong PR confusing matters Change name to backtrack_causes Create is_backtrack_cause function Fix newlines Typo Fix in Comment Fix lint errors Add News Item Newline Better news. Fix known depths Fix known depths Fix known depths This fix is in the wrong PR confusing matters Change name to backtrack_causes Create is_backtrack_cause function Fix newlines Typo Fix in Comment Fix lint errors Better news. Update news/10479.feature.rst Co-authored-by: Pradyun Gedam Fix mistake from merge --- src/pip/_internal/resolution/resolvelib/provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/_internal/resolution/resolvelib/provider.py b/src/pip/_internal/resolution/resolvelib/provider.py index f1d295aeb6a..bc319b7def5 100644 --- a/src/pip/_internal/resolution/resolvelib/provider.py +++ b/src/pip/_internal/resolution/resolvelib/provider.py @@ -71,7 +71,7 @@ def get_preference( identifier: str, resolutions: Mapping[str, Candidate], candidates: Mapping[str, Iterator[Candidate]], - information: Mapping[str, Iterator["PreferenceInformation"]], + information: Mapping[str, Iterable["PreferenceInformation"]], backtrack_causes: Sequence["RequirementInformation"], ) -> "Preference": """Produce a sort key for given requirement based on preference.