1. Alexander Artemenko
  2. pip


Alexander Artemenko  committed 7587ca2

Fixed version comparing, to make 0.4_pre and 0.4-pre equal.

  • Participants
  • Parent commits 4fd9703
  • Branches trunk

Comments (0)

Files changed (1)

File pip.py

View file
  • Ignore whitespace
         applicable_versions = []
         for (parsed_version, link, version) in found_versions:
-            if version not in req.req:
+            if pkg_resources.safe_version(version) not in req.req:
                 logger.info("Ignoring link %s, version %s doesn't match %s"
                             % (link, version, ','.join([''.join(s) for s in req.req.specs])))