                  logger.info("macOS users need to install XQuartz. "
                              "See https://support.apple.com/en-gb/HT201341")
              raise FaceswapError("No display detected. GUI mode has been disabled.")
  
      def execute_script(self, arguments: "argparse.Namespace") -> None:
          """ Performs final set up and launches the requested :attr:`_command` with the given
          command line arguments.
  
          Monitors for errors and attempts to shut down the process cleanly on exit.
  
 
</s> remove     def __init__(self, arguments: "argparse.Namespace") -> None:
 </s> add     def __init__(self, arguments: argparse.Namespace) -> None: </s> remove     def _get_items(self) -> Dict[str, Optional[Dict[str, Union[tuple, dict]]]]:
 </s> add     def _get_items(self) -> dict[str, dict[str, tuple | dict] | None]: </s> remove     def _set_tf_settings(cls, allow_growth: bool, exclude_devices: T.List[int]) -> None:
 </s> add     def _set_tf_settings(cls, allow_growth: bool, exclude_devices: list[int]) -> None: </s> remove     def get_argument_list() -> List[Dict[str, Any]]:
 </s> add     def get_argument_list() -> list[dict[str, T.Any]]: </s> remove     def _configure_backend(self, arguments: "argparse.Namespace") -> None:
 </s> add     def _configure_backend(self, arguments: argparse.Namespace) -> None:
    def execute_script(self, arguments: argparse.Namespace) -> None:
                  logger.info("macOS users need to install XQuartz. "
                              "See https://support.apple.com/en-gb/HT201341")
              raise FaceswapError("No display detected. GUI mode has been disabled.")
  
    def execute_script(self, arguments: argparse.Namespace) -> None:
          """ Performs final set up and launches the requested :attr:`_command` with the given
          command line arguments.
  
          Monitors for errors and attempts to shut down the process cleanly on exit.
  
keep keep keep keep replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
lib/cli/launcher.py