mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-03-17 23:15:01 +08:00
Add `cm-cli update-cache` command that force-fetches all remote data
and populates local cache in blocking mode. Bypasses pip/offline guards
in get_data_by_mode and get_cnr_data by directly fetching channel JSON
files and calling reload('remote'). Solves permanent cold-start issue
where pip-installed cm-cli could never populate CNR cache without
running the web server first.
Add UnifiedManager.purge_node_state() to both glob and legacy packages
for reinstall categorization mismatch (e.g. unknown→nightly). Includes
path traversal protection via commonpath, root directory guard,
comfyui-manager self-protection, and finally-guarded dictionary cleanup.
Add NodeInstallError exception and batch failure tracking to
for_each_nodes: reinstall propagates install failures via
raise_on_fail, for_each_nodes catches NodeInstallError, tracks
failed nodes, reports aggregate summary, and exits non-zero.
Remove debug print in install_node.
Bump version to 4.1b5.
E2E verified:
- update-cache: empty cache (5 lines) → populated (7815 lines)
- reinstall batch: 2 packs, 1 failure → continues to 2nd → summary + exit 1
66 lines
1.5 KiB
TOML
66 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools >= 61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "comfyui-manager"
|
|
license = { text = "GPL-3.0-only" }
|
|
version = "4.1b5"
|
|
requires-python = ">= 3.9"
|
|
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
|
readme = "README.md"
|
|
keywords = ["comfyui", "comfyui-manager"]
|
|
|
|
maintainers = [
|
|
{ name = "Dr.Lt.Data", email = "dr.lt.data@gmail.com" },
|
|
{ name = "Yoland Yan", email = "yoland@comfy.org" },
|
|
{ name = "James Kwon", email = "hongilkwon316@gmail.com" },
|
|
{ name = "Robin Huang", email = "robin@comfy.org" },
|
|
]
|
|
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
]
|
|
|
|
dependencies = [
|
|
"GitPython",
|
|
"PyGithub",
|
|
# "matrix-nio",
|
|
"transformers",
|
|
"huggingface-hub>0.20",
|
|
"typer",
|
|
"rich",
|
|
"typing-extensions",
|
|
"toml",
|
|
"uv",
|
|
"chardet"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pre-commit", "pytest", "ruff", "pytest-cov"]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/ltdrdata/ComfyUI-Manager"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["comfyui_manager*", "cm_cli*"]
|
|
|
|
[project.scripts]
|
|
cm-cli = "cm_cli:main"
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py39"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E4", # default
|
|
"E7", # default
|
|
"E9", # default
|
|
"F", # default
|
|
"I", # isort-like behavior (import statement sorting)
|
|
]
|