Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
notatallshaw committed Jun 16, 2024
1 parent 5688e55 commit e3b2989
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/resolvelib/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ def _backjump(self, causes: list[RequirementInformation[RT, CT]]) -> bool:
if not current_dependencies.isdisjoint(incompatible_deps):
break

# Stop backtracking if there is no further state to backtrack on
# Fallback: We should not backtrack to the point where
# broken_state.mapping is empty, so stop backtracking for
# a chance for the resolution to recover
if not broken_state.mapping:
break

Expand Down

0 comments on commit e3b2989

Please sign in to comment.