def is_dependency_edge_blacklisted(*, parent_pkg: str, dep: str) -> bool:
    """Sometimes a package declares a hard dependency
    for some niche functionality that we really do not care about.
    """
    dep = dep.lower()
    parent_pkg = parent_pkg.lower()
    return (parent_pkg, dep) in {
        ("qrcode", "colorama"),  # only needed for using qrcode-CLI on Windows.
        ("click",  "colorama"),  # 'click' is a CLI tool, and it only needs colorama on Windows.
                                 # In fact, we should blacklist 'click' itself, but that should be done elsewhere.
    }
Sometimes a package declares a hard dependency
    for some niche functionality that we really do not care about.
    
contrib/deterministic-build/find_restricted_dependencies.py