You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** Background
I'm developing a custom node that needs to support multiple Python versions (3.10, 3.11, 3.12, 3.13) due to platform-specific dependencies. Each Python version requires a separate build with compiled binaries.
** Current Situation
After reviewing the official documentation, I found that:
The pyproject.toml specification mentions requires-python for declaring supported Python versions, but it doesn't explicitly explain:
1.1 How to handle multiple Python-specific builds
1.2 Whether zip files need to be uploaded to GitHub Release
1.3 What naming convention should be used for zip files (e.g., node-1.2.6-py310.zip, node-1.2.6-py311.zip)
1.4 How the Registry backend selects the appropriate zip file based on the user's Python version
2.The documentation shows examples with a single version = "1.2.6" and requires-python = ">=3.8,<3.11", but doesn't cover the case where each Python version requires a separate build.
** What I've Tested
I've tried publishing separate versions with Python-specific suffixes:
version = "1.2.6-python310" with requires-python = ">=3.10,<3.11"
version = "1.2.6-python311" with requires-python = ">=3.11,<3.12"
Results:
✅ The Registry accepted these non-standard version numbers
✅ comfy node publish successfully uploaded files directly to Google Cloud Storage
✅ No GitHub Release was required (files were packaged from the current directory)
However, I'm unsure if this is the recommended approach or if there's a better way.
** Questions
Multiple Python Versions: What is the recommended way to publish a custom node that requires separate builds for different Python versions?
GitHub Release: Is it required to upload zip files to GitHub Release, or can comfy node publish package files directly from the local directory?
Zip File Naming: If multiple zip files are needed, is there a naming convention? For example:
node-name-1.2.6-py310.zip
node-name-1.2.6-py311.zip
Or any other format?
Automatic Selection: How does the Registry backend select the appropriate zip file based on the user's Python version? Does it:
4.1 Automatically detect from GitHub Release based on requires-python?
4.2 Require users to manually select the version?
4.3 Use some other mechanism?
Version Numbering: Is using version suffixes like 1.2.6-python310 acceptable, or should I use standard semantic versioning with a single version number?
**Request
Could you please clarify:
The recommended workflow for publishing nodes with multiple Python version builds
Whether the documentation can be updated to include this use case
Any best practices or examples from other custom nodes that handle this scenario
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
** Background
I'm developing a custom node that needs to support multiple Python versions (3.10, 3.11, 3.12, 3.13) due to platform-specific dependencies. Each Python version requires a separate build with compiled binaries.
** Current Situation
After reviewing the official documentation, I found that:
1.1 How to handle multiple Python-specific builds
1.2 Whether zip files need to be uploaded to GitHub Release
1.3 What naming convention should be used for zip files (e.g., node-1.2.6-py310.zip, node-1.2.6-py311.zip)
1.4 How the Registry backend selects the appropriate zip file based on the user's Python version
2.The documentation shows examples with a single version = "1.2.6" and requires-python = ">=3.8,<3.11", but doesn't cover the case where each Python version requires a separate build.
** What I've Tested
I've tried publishing separate versions with Python-specific suffixes:
version = "1.2.6-python310" with requires-python = ">=3.10,<3.11"
version = "1.2.6-python311" with requires-python = ">=3.11,<3.12"
Results:
✅ The Registry accepted these non-standard version numbers
✅ comfy node publish successfully uploaded files directly to Google Cloud Storage
✅ No GitHub Release was required (files were packaged from the current directory)
However, I'm unsure if this is the recommended approach or if there's a better way.
** Questions
node-name-1.2.6-py310.zip
node-name-1.2.6-py311.zip
Or any other format?
4.1 Automatically detect from GitHub Release based on requires-python?
4.2 Require users to manually select the version?
4.3 Use some other mechanism?
**Request
Could you please clarify:
Thank you for your time and assistance!
Beta Was this translation helpful? Give feedback.
All reactions