Dependency notation including the index URL

But as noted, indices should be interchangeable, so precedence doesn’t make sense.

Maybe there is a need for a mechanism (not necessarily an index) that has a precedence, but I don’t honestly understand the requirement there (at least, not in any way that goes beyond “Not all Python code need to be distributed as Python packages” that @uranusjr mentioned.