diff --git a/glob/manager_core.py b/glob/manager_core.py index 7259b403..8ec941e7 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -23,7 +23,7 @@ sys.path.append(glob_path) import cm_global from manager_util import * -version = [2, 35, 1] +version = [2, 36] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) @@ -396,7 +396,7 @@ def execute_install_script(url, repo_path, lazy_mode=False, instant_execution=Fa package_name = remap_pip_package(line.strip()) if package_name and not package_name.startswith('#'): install_cmd = [sys.executable, "-m", "pip", "install", package_name] - if package_name.strip() != "": + if package_name.strip() != "" and not package_name.startswith('#'): try_install_script(url, repo_path, install_cmd, instant_execution=instant_execution) if os.path.exists(install_script_path): diff --git a/prestartup_script.py b/prestartup_script.py index 024634cd..a5f28a9e 100644 --- a/prestartup_script.py +++ b/prestartup_script.py @@ -476,8 +476,9 @@ if os.path.exists(restore_snapshot_path): for line in file: package_name = remap_pip_package(line.strip()) if package_name and not is_installed(package_name): - install_cmd = [sys.executable, "-m", "pip", "install", package_name] - this_exit_code += process_wrap(install_cmd, repo_path) + if not package_name.startswith('#'): + install_cmd = [sys.executable, "-m", "pip", "install", package_name] + this_exit_code += process_wrap(install_cmd, repo_path) if os.path.exists(install_script_path) and f'{repo_path}/install.py' not in processed_install: processed_install.add(f'{repo_path}/install.py') diff --git a/pyproject.toml b/pyproject.toml index 76345e54..fbb9ed13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-manager" description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." -version = "2.35.1" +version = "2.36" license = "LICENSE" dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]