mirror of
https://github.com/Comfy-Org/comfy-python-sdk.git
synced 2026-11-04 23:37:47 +00:00
[PR #44] [MERGED] ci: bump gh-action-pypi-publish to v1.14.2 so publishing accepts Metadata-Version 2.5 #52
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
effort:medium
effort:small
effort:small
effort:trivial
priority:nice-to-have
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-python-sdk#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-python-sdk/pull/44
Author: @wei-hai
Created: 8/11/2026
Status: ✅ Merged
Merged: 8/12/2026
Merged by: @wei-hai
Base:
main← Head:wei/fix-pypi-publish-action-metadata-2-5📝 Commits (1)
36a4148ci: bump gh-action-pypi-publish to v1.14.2 so publishing accepts Metadata-Version 2.5📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
.github/workflows/publish.yml(+5 -2)📄 Description
Bumps
pypa/gh-action-pypi-publishfrom v1.12.4 (Jan 2025) to v1.14.2, so the publish step can accept the wheels the build step produces.Why
The v0.1.6 publish failed at the upload step:
The
buildjob installs its tooling unpinned (pip install build twine), so it now builds a wheel carrying Metadata-Version 2.5 and validates it with a current twine — which passes. Thepublishjob then hands that same wheel to the action pinned at v1.12.4, whose bundled packaging predates metadata 2.5 and rejects it.The two jobs were validating the same artifact with different tooling versions, so the build-time gate structurally could not catch this —
twine checkpassed and the upload failed on the identical file.Scope
The one-line pin, applied to both the PyPI and TestPyPI steps (same action, same failure mode), plus a comment recording the version floor so the pin doesn't get rolled back.
Deliberately not included: pinning
build/twinein the build job. That would also prevent the drift and is arguably the more complete fix, but it's a separate decision about tooling policy and would put the repo on a manual upgrade treadmill — worth its own discussion rather than riding along here.Verification
The action bump can't be exercised before merge: the publish job only runs on a
releaseevent, andworkflow_dispatchis a build-only dry run that never reaches it. Checked instead:dc37677b2e1c63e2034f94d8a5b11f265b73ba33is the commitpypa/gh-action-pypi-publishtagv1.14.2dereferences to.packages-dir,skip-existing,repository-url) are unchanged between v1.12.4 and v1.14.2, so no call-site changes are needed.Real verification is the next release publishing successfully.
Follow-up
v0.1.6is tagged and the GitHub Release is published, but nothing reached PyPI (the failure is pre-upload, so the version number is still unused). Once this merges, the tag and Release need to be recreated at the newmainso the publish re-runs against the fixed workflow — the existing tag points at a commit that still carries v1.12.4.@comfyorg/sdk0.1.6 is already live on npm, so reusing 0.1.6 here keeps the two SDKs in lockstep.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.