def find_any_distribution(pkgs: List[str]) -> Optional[pkg_resources.Distribution]:
    for pkg in pkgs:
        try:
            return pkg_resources.get_distribution(pkg)
        except pkg_resources.DistributionNotFound:
            pass
    return None
def find_any_distribution(pkgs: List[str]) -> Optional[pkg_resources.Distribution]:
    for pkg in pkgs:
        try:
            return pkg_resources.get_distribution(pkg)
        except pkg_resources.DistributionNotFound:
            pass
    return None