def sip_module_name(qtcore) -> str:
    """
    Returns the name of the sip module to import.
    (As of 5.11, the distributed wheels no longer provided for the sip module
    outside of the PyQt5 namespace).
    """
    version_string = qtcore.PYQT_VERSION_STR
    try:
        pyqt_version_ints = tuple(int(c) for c in version_string.split("."))
        if pyqt_version_ints >= (5, 11):
            return "PyQt5.sip"
    except Exception:
        pass
    return "sip"