def METHOD_NAME(version):
    """
    Parse version assuming it is in the form of v1.2.3
    """
    pattern = r"v(\d+)\.(\d+)\.(\d+)"
    match = re.match(pattern, version)
    if match:
        major, minor, patch =  map(int, match.groups())
        return (major, minor, patch)