Version Checker

Check is the minor python version is greater then or equal to the minor parameter value

Parameters:
  • minor (int) –

    Minor version value

Returns:
  • True if the runtime minor version is greater then or equal to the value
Source code in src/alpha/utils/version_checker.py
def minor_version_gte(minor: int) -> bool:
    """Check is the minor python version is greater then or equal to the minor
    parameter value

    Parameters
    ----------
    minor
        Minor version value

    Returns
    -------
        True if the runtime minor version is greater then or equal to the value
    """
    return sys.version_info.minor >= minor