Bug in version solver when using a hashable object to represent a package, not just a string.
Greedquest opened this issue · comments
Greedquest commented
I believe it's this line:
mixology/mixology/version_solver.py
Line 130 in 067c5ae
self._propagate_incompatibility
will return the _conflict type which is the hashable type used to represent a package (in my usecase this is not a string). The line converts it to str which is a problem since then it is no longer a valid key in the self._incompatibilities
dictionary (line 113 of the same function).
mixology/mixology/version_solver.py
Lines 98 to 133 in 067c5ae