Helpers for comparing version strings.
New in version 1.6.
Convert a version to an integer.
version must be a string with dots or a tuple of integers.
New in version 2.0.
Convert a version integer to a string with dots.
New in version 2.0.
Convert a version string with dots to a tuple.
New in version 2.0.
Determine whether requested_version is satisfied by current_version; in other words, current_version is >= requested_version.
Parameters: |
|
---|---|
Returns: | True if compatible, False if not |