-
Notifications
You must be signed in to change notification settings - Fork 20
Add pyproject.toml for Custom Node Registry #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| [project] | ||
| name = "runware" | ||
| description = "Runware Inference API Integration for ComfyUI (No GPU Required)." | ||
| version = "1.0.0" | ||
| license = "MIT" | ||
| # classifiers = [ | ||
| # # For OS-independent nodes (works on all operating systems) | ||
| # "Operating System :: OS Independent", | ||
| # | ||
| # # OR for OS-specific nodes, specify the supported systems: | ||
| # "Operating System :: Microsoft :: Windows", # Windows specific | ||
| # "Operating System :: POSIX :: Linux", # Linux specific | ||
| # "Operating System :: MacOS", # macOS specific | ||
| # | ||
| # # GPU Accelerator support. Pick the ones that are supported by your extension. | ||
| # "Environment :: GPU :: NVIDIA CUDA", # NVIDIA CUDA support | ||
| # "Environment :: GPU :: AMD ROCm", # AMD ROCm support | ||
| # "Environment :: GPU :: Intel Arc", # Intel Arc support | ||
| # "Environment :: NPU :: Huawei Ascend", # Huawei Ascend support | ||
| # "Environment :: GPU :: Apple Metal", # Apple Metal support | ||
| # ] | ||
|
|
||
| dependencies = ["python-dotenv", "brotli", "zstd", "librosa", "imageio"] | ||
|
|
||
| [project.urls] | ||
| Repository = "https://github.com/Runware/ComfyUI-Runware" | ||
| # Used by Comfy Registry https://registry.comfy.org | ||
| Documentation = "https://github.com/Runware/ComfyUI-Runware/wiki" | ||
| "Bug Tracker" = "https://github.com/Runware/ComfyUI-Runware/issues" | ||
|
|
||
| [tool.comfy] | ||
| PublisherId = "" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Yes, [tool.comfy].PublisherId is required in pyproject.toml for publishing to Comfy Registry, and it must be non-empty. The official documentation explicitly states it as "PublisherId (required)" and describes it as "Your unique publisher identifier, typically matching your GitHub username." Publishing guides require creating a publisher account on registry.comfy.org to obtain this ID (after the @ on your profile) and adding it to pyproject.toml. Examples from repos like ComfyUI-Manager use non-empty values like "drltdata". CLI tools parse it, and PRs emphasize adding it for registry inclusion. Citations:
Line 32 sets 🤖 Prompt for AI Agents |
||
| DisplayName = "ComfyUI-Runware" | ||
| Icon = "" | ||
| includes = [] | ||
| # "requires-comfyui" = ">=1.0.0" # ComfyUI version compatibility | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 49
🏁 Script executed:
# First, read the pyproject.toml to see full context and current versions head -40 pyproject.tomlRepository: Runware/ComfyUI-Runware
Length of output: 1508
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 173
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 299
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 416
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 49
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 670
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 788
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 173
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 1361
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 3667
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 49
🏁 Script executed:
# Check requirements.txt to see if it has any version pins cat requirements.txtRepository: Runware/ComfyUI-Runware
Length of output: 112
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 86
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 49
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 334
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 49
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 203
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 1200
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 96
🏁 Script executed:
Repository: Runware/ComfyUI-Runware
Length of output: 386
Add version constraints to dependencies and remove unused imageio package.
The dependencies in pyproject.toml (line 23) are unbounded, which can lead to non-reproducible builds when upstream packages release new versions. Additionally,
imageiodoes not appear to be used anywhere in the codebase and should be removed.Of the remaining dependencies:
python-dotenvandlibrosaare directly importedbrotliandzstdare indirectly used by therequestslibrary for compression support (referenced in Accept-Encoding headers)Apply version constraints to pin major versions:
Proposed dependency update
📝 Committable suggestion
🤖 Prompt for AI Agents