mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Expand our regex to support the new PEP 440 version characters
This commit is contained in:
parent
7f4fa85cea
commit
6b2cb9914f
|
@ -609,7 +609,7 @@ class PackageFinder(object):
|
|||
all_locations.append(link)
|
||||
|
||||
_egg_fragment_re = re.compile(r'#egg=([^&]*)')
|
||||
_egg_info_re = re.compile(r'([a-z0-9_.]+)-([a-z0-9_.-]+)', re.I)
|
||||
_egg_info_re = re.compile(r'([a-z0-9_.]+)-([a-z0-9_.!+-]+)', re.I)
|
||||
_py_version_re = re.compile(r'-py([123]\.?[0-9]?)$')
|
||||
|
||||
def _sort_links(self, links):
|
||||
|
|
Loading…
Reference in a new issue