Skip to content

Commit

Permalink
# This is a combination of 19 commits.
Browse files Browse the repository at this point in the history
parent 02b4f86
author Damian <damian.peter.shaw@gmail.com> 1633754869 -0400
committer Damian <damian.peter.shaw@gmail.com> 1633754928 -0400

# This is a combination of 14 commits.tree 962cf1d58cffa4bd5102aa4cc6c1adaedb8c3cc0
parent 02b4f86
author Damian <damian.peter.shaw@gmail.com> 1633754869 -0400
committer Damian <damian.peter.shaw@gmail.com> 1633754892 -0400

# This is a combination of 13 commits.
# This is the 1st commit message:

Return a better error message if a `file:` URL is not found (pypa#10263)

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
# This is the commit message #2:

Prefer failure causes when backtracking

# This is the commit message #3:

This fix is in the wrong PR confusing matters

# This is the commit message pypa#4:

Change name to backtrack_causes
Create is_backtrack_cause function

# This is the commit message pypa#5:

Fix newlines

# This is the commit message pypa#6:

Typo Fix in Comment

# This is the commit message pypa#7:

Fix lint errors

# This is the commit message pypa#8:

Add News Item

# This is the commit message pypa#9:

Newline

# This is the commit message pypa#10:

Better news.

# This is the commit message pypa#11:

Fix known depths

# This is the commit message pypa#12:

Fix known depths

# This is the commit message pypa#13:

Fix known depths

# This is the commit message pypa#14:

This fix is in the wrong PR confusing matters

# This is the commit message pypa#16:

Change name to backtrack_causes
Create is_backtrack_cause function

# This is the commit message pypa#18:

Fix newlines

# This is the commit message pypa#19:

Typo Fix in Comment
  • Loading branch information
notatallshaw committed Oct 9, 2021
1 parent 142e002 commit af71f3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pip/_internal/resolution/resolvelib/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ def get_dependencies(self, candidate: Candidate) -> Sequence[Requirement]:

@staticmethod
def is_backtrack_cause(
identifier: str, backtrack_causes: Sequence["RequirementInformation"]
identifier: str,
backtrack_causes: Sequence["RequirementInformation"]
) -> bool:
for backtrack_cause in backtrack_causes:
if identifier == backtrack_cause.requirement.name:
Expand Down

0 comments on commit af71f3c

Please sign in to comment.