

def get_version():
    requirement = pkg_resources.Requirement.parse('git-restack')
    provider = pkg_resources.get_provider(requirement)
    return provider.version

dataset/ETHPy150Open openstack-infra/git-restack/git_restack/cmd.py get_version/original