From 4cb409e2cbcd9da8982ecf7748850830fa595be7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 23 Nov 2025 05:05:09 +0000 Subject: [PATCH] fix: constrain numpy and pillow versions for Windows/ComfyUI compatibility - Limit numpy to <2.0.0 to avoid conflicts with dctorch, langchain, mediapipe, scipy, and other ComfyUI dependencies - Limit pillow to <11.0.0 to avoid conflicts with gradio - These constraints ensure compatibility with typical ComfyUI environments --- requirements.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5a205df..8f057c6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ # Core dependencies - required for all functionality +# Version constraints chosen for ComfyUI compatibility torch>=2.0.0 -numpy>=1.20.0 -pillow>=9.0.0 +numpy>=1.23.5,<2.0.0 # numpy 2.x breaks compatibility with many ComfyUI packages +pillow>=9.0.0,<11.0.0 # pillow 11+ breaks compatibility with gradio # Multi-channel EXR support (for CG professionals) OpenImageIO>=2.4.0