Merge "Make Tobiko to be working fine with packaging>=2.2.0"
This commit is contained in:
commit
cd0710e2c8
@ -33,7 +33,11 @@ class VersionMismatch(_exception.TobikoException):
|
||||
cause = ''
|
||||
|
||||
|
||||
VERSION_CLASSES = _version.LegacyVersion, _version.Version
|
||||
try:
|
||||
VERSION_CLASSES = _version.LegacyVersion, _version.Version
|
||||
except AttributeError:
|
||||
VERSION_CLASSES = _version.Version
|
||||
|
||||
Version = typing.Union[_version.Version]
|
||||
VersionType = typing.Union[Version, str]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user