Skip to content

ci(publish): Update pypa/gh-action-pypi-publish to v1.14.2 - #87

Merged
daichengxin merged 1 commit into
bigbio:devfrom
Shen-YuFei:fix/pypi-publish-action
Oct 10, 2026
Merged

daichengxin merged 1 commit into
bigbio:devfrom
Shen-YuFei:fix/pypi-publish-action

Conversation

@Shen-YuFei

Copy link
Copy Markdown
Contributor

Summary

The v0.0.31 PyPI upload failed (run 37954132245):

InvalidDistribution: Invalid distribution metadata: '2.5' is not a valid metadata version

python-publish.yml pins pypa/gh-action-pypi-publish to v1.4.2 (2021). That action installs twine 6.2.0, which accepts metadata versions only up to 2.4. hatchling 1.32 writes Metadata-Version 2.5, so the metadata check fails. v0.0.30 was built with hatchling 1.29, which still wrote 2.4.

This PR updates the action to v1.14.2 (pinned by commit), which uses twine 7.0.0 and packaging 26.2. The user, password and verbose inputs are unchanged.

Verification

Built the package locally with hatchling 1.32.4 (Metadata-Version 2.5):

  • twine 6.2.0 + packaging 26.3 (old action): same error as in CI.
  • twine 7.0.0 + packaging 26.2 (v1.14.2): twine check --strict passed for the wheel and the sdist.

After merging

A release run uses the workflow file from the tagged commit, so re-running the failed run will not help. After this change reaches main, re-tag v0.0.31 on the new main commit and publish the release again, or release 0.0.32.

Copilot AI balanced review requested due to automatic review settings October 10, 2026 07:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0c126121-11ba-45aa-a251-e7302a653112

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@daichengxin
daichengxin merged commit a943fbf into bigbio:dev Oct 10, 2026
2 checks passed
@Shen-YuFei
Shen-YuFei deleted the fix/pypi-publish-action branch October 10, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants