From 44626c945293fa8de21ba162a84b0ed7566199f3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 26 Mar 2024 14:25:34 +1100 Subject: [PATCH] tidy(installer): remove no-op `--version` CLI arg of installer This wasn't used at all. --- installer/lib/installer.py | 1 - installer/lib/main.py | 7 ------- 2 files changed, 8 deletions(-) diff --git a/installer/lib/installer.py b/installer/lib/installer.py index be6c26399b..05f2b888db 100644 --- a/installer/lib/installer.py +++ b/installer/lib/installer.py @@ -119,7 +119,6 @@ class Installer: self, root: str = "~/invokeai", yes_to_all: bool = False, - version: Optional[str] = None, find_links: Optional[str] = None, wheel: Optional[Path] = None, ) -> None: diff --git a/installer/lib/main.py b/installer/lib/main.py index 08149bd107..be9dc18f96 100644 --- a/installer/lib/main.py +++ b/installer/lib/main.py @@ -29,13 +29,6 @@ if __name__ == "__main__": default=False, ) - parser.add_argument( - "--version", - dest="version", - help="Version of InvokeAI to install. Default to the latest stable release. A special 'pre' value will install the latest published pre-release version.", - default=None, - ) - parser.add_argument( "--find-links", dest="find_links",