Skip to content

Fix PyPI and npm release publishers - #662

Merged
adtyavrdhn merged 2 commits into
mainfrom
codex/fix-release-publishers
Aug 31, 2026
Merged

Fix PyPI and npm release publishers#662
adtyavrdhn merged 2 commits into
mainfrom
codex/fix-release-publishers

Conversation

@adtyavrdhn

@adtyavrdhn adtyavrdhn commented Aug 31, 2026

Copy link
Copy Markdown
Member

The latest v0.1.5 release run reached both publish jobs, but each failed before uploading:

  • the pinned pypa/gh-action-pypi-publish rejected the wheel's Metadata-Version 2.5
  • npm parsed the unprefixed tarball path as a GitHub shorthand and attempted an SSH lookup

This restores the previously used uv trusted-publishing flow for PyPI and prefixes the npm tarball with ./ so npm treats it as a local package.

Validation:

  • pre-commit (including YAML, Prettier, and zizmor)
  • uv 0.12.1 publish --dry-run --trusted-publishing never against the exact failed v0.1.5 artifacts; uv discovered and accepted both dist/* files
  • npm publish --dry-run ./npm-dist/pydantic-genai-prices-*.tgz --access public against the exact failed v0.1.5 artifact

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

Re-trigger cubic

@adtyavrdhn
adtyavrdhn merged commit 076f45b into main Aug 31, 2026
19 checks passed
@adtyavrdhn
adtyavrdhn deleted the codex/fix-release-publishers branch August 31, 2026 09:07
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.

1 participant