chore(api-nodes): remove check for pyav>=14.2 in code (it was added to requirements.txt long ago) (#11934)

This commit is contained in:
Alexander Piskun
2026-01-18 04:57:57 +02:00
committed by GitHub
parent ac26065e61
commit f7ca41ff62
2 changed files with 0 additions and 13 deletions

View File

@ -1,10 +0,0 @@
import av
ver = av.__version__.split(".")
if int(ver[0]) < 14:
raise Exception("INSTALL NEW VERSION OF PYAV TO USE API NODES.")
if int(ver[0]) == 14 and int(ver[1]) < 2:
raise Exception("INSTALL NEW VERSION OF PYAV TO USE API NODES.")
NODE_CLASS_MAPPINGS = {}

View File

@ -2409,9 +2409,6 @@ async def init_builtin_api_nodes():
"nodes_wan.py", "nodes_wan.py",
] ]
if not await load_custom_node(os.path.join(api_nodes_dir, "canary.py"), module_parent="comfy_api_nodes"):
return api_nodes_files
import_failed = [] import_failed = []
for node_file in api_nodes_files: for node_file in api_nodes_files:
if not await load_custom_node(os.path.join(api_nodes_dir, node_file), module_parent="comfy_api_nodes"): if not await load_custom_node(os.path.join(api_nodes_dir, node_file), module_parent="comfy_api_nodes"):