Merge pull request #13 from Limbicnation/fix/dependency-conflicts

fix: Update dependency requirements to avoid conflicts
This commit is contained in:
Gero Doll
2025-05-14 18:01:04 +02:00
committed by GitHub
2 changed files with 8 additions and 6 deletions
+6 -4
View File
@@ -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"
+2 -2
View File
@@ -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