Lines Matching refs:version
29 import pkg.version as version
44 string is a valid mediator version for a link mediation. 'valid' is
50 version.Version(value)
52 except version.VersionError as e:
56 return False, _("'{value}' is not a valid mediator-version: "
58 return False, _("'{0}' is not a valid mediator-version").format(value)
62 returns a tuple of (name, version) where 'name' is a string containing
63 the name of the implementation and 'version' is None or a pkg.version
64 object representing the version. If the implementation is not valid
83 impl_ver = version.Version(impl_ver)
84 except version.VersionError:
106 version.Version(iver)
107 except version.VersionError as e:
116 "a version dot-sequence following a single '@' are allowed: "
119 "alphanumeric characters and a version dot-sequence following a "
141 priority, version, implementation name, implementation
142 version.
155 # Invert version sort so greatest is first.
166 # Invert version sort so greatest is first.
185 # If version component of either a or b is None, that
187 # which allows any version to match. Otherwise,
188 # version components must match exactly.