From 79943de8085c0cecb6752abb9061bee5faa34884 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Fri, 14 Mar 2025 12:53:59 +0900 Subject: [PATCH] fixed: install via git url - failed to install if the git url is exists in the default channel https://github.com/ltdrdata/ComfyUI-Manager/issues/1651#issuecomment-2720408569 --- glob/manager_core.py | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glob/manager_core.py b/glob/manager_core.py index 24d12ca6..3cb2e99e 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -43,7 +43,7 @@ import manager_downloader from node_package import InstalledNodePackage -version_code = [3, 31] +version_code = [3, 31, 1] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') @@ -2098,7 +2098,7 @@ async def gitclone_install(url, instant_execution=False, msg_prefix='', no_deps= cnr = unified_manager.get_cnr_by_repo(url) if cnr: cnr_id = cnr['id'] - return await unified_manager.install_by_id(cnr_id, version_spec='nightly') + return await unified_manager.install_by_id(cnr_id, version_spec='nightly', channel='default') else: repo_name = os.path.splitext(os.path.basename(url))[0] diff --git a/pyproject.toml b/pyproject.toml index 07f6544e..98ed5e50 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 = "3.31" +version = "3.31.1" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions", "toml", "uv", "chardet"]