Skip to content
This repository was archived by the owner on Jun 7, 2026. It is now read-only.

feat(ci): add automated PyPI publishing for Python SDK - #52

Merged
matthew-petty merged 1 commit into
mainfrom
feat/automated-pypi-publishing
Dec 25, 2025
Merged

feat(ci): add automated PyPI publishing for Python SDK#52
matthew-petty merged 1 commit into
mainfrom
feat/automated-pypi-publishing

Conversation

@matthew-petty

Copy link
Copy Markdown
Member

Summary

  • Add publish-pypi job to release workflow using trusted publishing (OIDC)
  • Add Ruff formatting to format-release-pr job using uvx (mirrors bunx pattern for Biome)
  • Sync Python SDK version with release-please via TOML jsonpath
  • Add version markers to __init__.py for automatic version bumping

Changes

File Change
.github/workflows/release.yml Add uvx ruff formatting + publish-pypi job
release-please-config.json Add Python SDK files to extra-files for version sync
packages/sdks/python/pyproject.toml Sync version to 1.1.6
packages/sdks/python/src/koine_sdk/__init__.py Add version markers

Test plan

  • Merge PR to trigger release-please
  • Verify release PR includes Python SDK version bumps
  • Verify format-release-pr formats Python files with Ruff
  • On release, verify publish-pypi job runs successfully
  • Verify package appears on PyPI with correct version

Add trusted publishing to release workflow mirroring npm pattern:
- Add publish-pypi job with uv build and pypa/gh-action-pypi-publish
- Add Ruff formatting to format-release-pr job using uvx
- Sync Python SDK version with release-please via TOML jsonpath
- Add version markers to __init__.py for automatic version bumping
@codecov

codecov Bot commented Dec 25, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@matthew-petty
matthew-petty merged commit dbe045c into main Dec 25, 2025
3 checks passed
This was referenced Dec 25, 2025
@matthew-petty
matthew-petty deleted the feat/automated-pypi-publishing branch December 25, 2025 22:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant