From 6d35f95b0f9061fbcf6b3f412acb57d8f4d64e08 Mon Sep 17 00:00:00 2001 From: gero Date: Wed, 14 May 2025 17:38:24 +0200 Subject: [PATCH] fix: Update dependency requirements to avoid conflicts - Removed specific version requirements for numpy and Pillow - Added comments explaining dependency management approach - Updated pyproject.toml to be consistent with requirements.txt - Fixed compatibility issues with ComfyUI Manager installation --- pyproject.toml | 10 ++++++---- requirements.txt | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a896545..70baea4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,10 +5,12 @@ version = "1.1.0" license = { file = "LICENSE" } dependencies = [ "transformers>=4.20.0", - "Pillow>=9.1.0", - "numpy>=1.23.0", + "tokenizers>=0.13.3", "timm>=0.6.12", - "huggingface-hub>=0.16.0" + "huggingface-hub>=0.16.0", + "protobuf==3.20.3", + "requests>=2.27.0", + "wget>=3.2" ] [project.urls] @@ -18,4 +20,4 @@ Repository = "https://github.com/Limbicnation/ComfyUIDepthEstimation" [tool.comfy] PublisherId = "limbicnation" DisplayName = "Depth Estimation Node" -Icon = "images/depth-estimation-icon.png" +Icon = "images/depth-estimation-icon.png" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 080e18e..9aa182c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,10 +9,10 @@ tokenizers>=0.13.3 # Pre-built version compatible with most platforms transformers>=4.20.0 # Required for Depth Anything models, but ComfyUI may have a specific version # Pillow (PIL Fork) - Compatibility with other ComfyUI nodes -Pillow>=9.2.0 # Ensures compatibility with nodes requiring >=9.2.0 +# Don't specify Pillow version to avoid conflicts with ComfyUI environment # NumPy - Using version that properly supports numpy.dtypes -numpy>=1.23.0 # Resolves compatibility issues +# Don't specify version to avoid conflicts with ComfyUI environment # Additional dependencies specific to depth estimation node timm>=0.6.12 # Required for Depth Anything models