mirror of https://github.com/pypa/pip
order
This commit is contained in:
parent
08526b8524
commit
29a1c113ee
|
@ -143,7 +143,7 @@ class _IndividualSpecifier(BaseSpecifier):
|
|||
|
||||
def _coerce_version(self, version: UnparsedVersion) -> ParsedVersion:
|
||||
if not isinstance(version, (LegacyVersion, Version)):
|
||||
version = parse(version)
|
||||
return parse(version)
|
||||
return version
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue