Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
unorderable types error under Python 3 #670
There's what looks like a very obscure bug in pip's handling of index scanning, that shows up as a crash under Python 3 with the error "TypeError: unorderable types: Link() < Link()". I got it while testing the wheel patches, but I don't believe it's related to wheels. The error is:
The wheel bits in the command invocation are not particularly relevant, as far as I can tell - see the analysis below.
It looks like the issue comes because
A relatively easy fix is to add the comparison operators
At the moment, I don't have a test that provokes this issue. I can't even completely see how my original command triggers the sequence of events I describe here. I will try to produce a test that provokes the bug. If I manage, I'll add it to this issue.