def clean_semver(cls, version_spec):
        return re.sub(r"([<>=~])\s+?v?", "\\1", version_spec, re.IGNORECASE)
def toggle_ignoring_sigint_v2_engine(cls, toggle: bool) -> None:
        assert cls._signal_handler is not None
        cls._signal_handler._toggle_ignoring_sigint_v2_engine(toggle)