Skip to content

Commit

Permalink
fixed: robust install if db is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
ltdrdata committed Feb 7, 2025
1 parent e732a39 commit 22878f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion glob/manager_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from node_package import InstalledNodePackage


version_code = [3, 17, 9]
version_code = [3, 17, 10]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')


Expand Down
5 changes: 2 additions & 3 deletions glob/manager_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,15 @@ async def get_risky_level(files, pip_packages):

all_urls = set()
for x in json_data1['custom_nodes'] + json_data2['custom_nodes']:
all_urls.update(x['files'])
all_urls.update(x.get('files', []))

for x in files:
if x not in all_urls:
return "high"

all_pip_packages = set()
for x in json_data1['custom_nodes'] + json_data2['custom_nodes']:
if "pip" in x:
all_pip_packages.update(x['pip'])
all_pip_packages.update(x.get('pip', []))

for p in pip_packages:
if p not in all_pip_packages:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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.17.9"
version = "3.17.10"
license = { file = "LICENSE.txt" }
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]

Expand Down

0 comments on commit 22878f4

Please sign in to comment.