From 8d1fd75c6c3a98d5ed6f5d55b24a47a902298aa9 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Fri, 6 Dec 2024 04:36:42 +0900 Subject: [PATCH] update security scanner --- glob/manager_core.py | 2 +- glob/security_check.py | 12 ++++++++++-- pyproject.toml | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/glob/manager_core.py b/glob/manager_core.py index 3fa3e694..51e0a3f5 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, 55, 2] +version = [2, 55, 3] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') diff --git a/glob/security_check.py b/glob/security_check.py index b3eb257c..4aa1c82b 100644 --- a/glob/security_check.py +++ b/glob/security_check.py @@ -33,9 +33,17 @@ Detailed information: https://old.reddit.com/r/comfyui/comments/1dbls5n/psa_if_y "ultralytics==8.3.41": f""" Execute following commands: {sys.executable} -m pip uninstall ultralytics - {sys.executable} -m pip install ultralytics + {sys.executable} -m pip install ultralytics==8.3.40 -The version 8.3.41 of the Ultralytics package you installed is compromised. Please uninstall that version and reinstall the latest version. +The version 8.3.41 to 8.3.42 of the Ultralytics package you installed is compromised. Please uninstall that version and reinstall the latest version. +https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/843 + """, + "ultralytics==8.3.42": f""" +Execute following commands: + {sys.executable} -m pip uninstall ultralytics + {sys.executable} -m pip install ultralytics==8.3.40 + +The version 8.3.41 to 8.3.42 of the Ultralytics package you installed is compromised. Please uninstall that version and reinstall the latest version. https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/843 """ } diff --git a/pyproject.toml b/pyproject.toml index 072df1b1..721f6a59 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.55.2" +version = "2.55.3" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]