def truncate_patch_version(version):
    """Return just the major and minor versions from `version`."""
    split_version = version.split(".")
    return "{}.{}".format(split_version[0], split_version[1])