Python conditional marker causing resolution issue where it shouldn't #5134
Labels
great writeup
A wonderful example of a quality contribution 💜
resolver
Related to the package resolver
Stumbled upon what I think is a bug in the dependency resolution algorithm.
If a project:
>= 3.8
)>= 3.9
)>= 3.9
)then dependency resolution fails:
I would understand why it fails if not setting a condition for the dependency, since it's unsolvable, but because of the condition on the Python version, I would expect the resolution to work, as the dependency would simply not be installed on Python 3.8.
Minimal reproducer
You can see the minimum required Python version of the version of
pre-commit
used in the reproducer here.The text was updated successfully, but these errors were encountered: