pymead.utils.version_check.using_latest#

using_latest(current_version_string: str | None = None)[source]#

Compares the current version string to the latest version string. If the latest version string is > the current version string, return False, else return True. If the current version string is None, pull the version from pymead.version.__version__.

Parameters:

current_version_string (str or None) – The version of pymead in use. Default: None

Returns:

First element: True if using the latest version, False otherwise. Second element: string representing the latest version of pymead. Third element: string representing the current version of pymead.

Return type:

Tuple[bool, str, str]