def METHOD_NAME(versionStr: str) -> ArelleVersion:
    semverMatch = _SEMVER_PATTERN.search(versionStr)
    if semverMatch:
        return ArelleVersion(
            major=int(semverMatch.group("major")),
            minor=int(semverMatch.group("minor")),
            patch=int(semverMatch.group("patch")),
        )
    raise ValueError(f"Unable to parse version from {versionStr}")