We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f938eda commit 9ceabb5Copy full SHA for 9ceabb5
src/pip/_internal/resolution/resolvelib/factory.py
@@ -456,6 +456,8 @@ def get_installation_error(
456
and not cause.requirement.is_satisfied_by(self._python_candidate)
457
]
458
if requires_python_causes:
459
+ # The comprehension above makes sure all Requirement instances are
460
+ # RequiresPythonRequirement, so let's cast for convinience.
461
return self._report_requires_python_error(
462
cast("Sequence[ConflictCause]", requires_python_causes),
463
)
0 commit comments