def update(repo: Repo) -> Repo:
    (repo, locked_version, repo_path) = prefetch(repo)
    if repo_path:
        eval_repo(repo, repo_path)
    repo.locked_version = locked_version
    return repo
def update(repo: Repo) -> Repo:
    (repo, locked_version, repo_path) = prefetch(repo)
    if repo_path:
        eval_repo(repo, repo_path)
    repo.locked_version = locked_version
    return repo