Skip to content

Commit 9f4b9c6

Browse files
committed
feat(config_parser.py): add requires-comfyui key to project config to specify dependency version requirement
1 parent 4544e42 commit 9f4b9c6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

comfy_cli/registry/config_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def initialize_project_config():
126126
tool = document.get("tool", tomlkit.table())
127127
comfy = tool.get("comfy", tomlkit.table())
128128
comfy["DisplayName"] = repo_name
129+
comfy["requires-comfyui"] = ">=1.0.0"
129130
tool["comfy"] = comfy
130131
document["tool"] = tool
131132

0 commit comments

Comments
 (0)