• T
    Always return an install candidate last if matches · cfac6aeb
    Tzu-ping Chung 提交于
    This rewrites how a SpecifierRequirement generates candidates, so it
    
    * Always return an AlreadyInstalledCandidate (as long as the version
      satisfies the specifier), even if PackageFinder does not return a
      candidate for the same version.
    * Always put the AlreadyInstalledCandidate last, so it's preferred over
      LinkCandidate, preventing version changes if possible.
    cfac6aeb
test_new_resolver.py 11.7 KB