iblrig.version_management.get_local_version

iblrig.version_management.get_local_version()[source]

Parse the local version string to obtain a Version object.

This function attempts to parse the local version string (__version__) and returns a Version object representing the parsed version. If the parsing fails, it logs an error and returns None.

Returns:

A Version object representing the parsed local version, or None if parsing fails.

Return type:

Union[version.Version, None]