aboutsummaryrefslogtreecommitdiff
path: root/misc/comfy-cli/files/patch-comfy__cli_standalone.py
blob: 65c841c6b114d424864db9594709930fd81f9035 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- comfy_cli/standalone.py.orig	2026-04-12 14:28:25 UTC
+++ comfy_cli/standalone.py
@@ -69,6 +69,11 @@ def download_standalone_python(
     https://gregoryszorc.com/docs/python-build-standalone/main/"""
     platform = get_os() if platform is None else platform
     proc = get_proc() if proc is None else proc
+    if (platform, proc) not in _platform_targets:
+        raise NotImplementedError(
+            f"Standalone Python download is not supported on {platform.value}/{proc.value}. "
+            "The python-build-standalone project does not provide builds for this platform."
+        )
     target = _platform_targets[(platform, proc)]
 
     if tag == "latest":