Skip to content

Add generated Python SDK - #416

Open
rgarcia wants to merge 1 commit into
mainfrom
hypeship/add-python-sdk
Open

Add generated Python SDK#416
rgarcia wants to merge 1 commit into
mainfrom
hypeship/add-python-sdk

Conversation

@rgarcia

@rgarcia rgarcia commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a Python target backed by the new production and staging SDK repositories
  • install the pinned Python generator and Rye toolchain in SDK generation CI
  • include Python in preview, validation, promotion, and cleanup flows
  • update the SDK generation runbook for three targets

Testing

  • git diff --check
  • parsed all changed YAML files with yq
  • full generation, lint, and SDK tests run in the PR workflow

Note

Medium Risk
Expands the release pipeline to a third package (PyPI) and new CI dependencies; changes follow the existing Go/TS pattern but increase blast radius if generation or publish misconfigures.

Overview
Adds a Python SDK target to the existing stlc generation flow so Hypeman ships Go, Python, and TypeScript from the same OpenAPI/Stainless config.

stainless.yaml defines the Python target (hypeman on PyPI) with kernel/hypeman-python and kernel/hypeman-python-staging. CI now installs a pinned stlc-python generator and Rye (for the Python SDK’s scripts/bootstrap / rye sync), and stlc-generate.yml includes Python in SDK_TARGETS, preview/integration pushes, app-token repo access, and preview-branch cleanup. The SDK generation runbook is updated for three staging repos and a full cutover checklist.

Reviewed by Cursor Bugbot for commit 0633f89. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

Copy link
Copy Markdown
-->

✱ stlc build

go code · compare

Your SDK build was successful.

generate ✅bootstrap ✅format ✅

114 files generated at bd76109 (pushed)

go get github.com/kernel/hypeman-go-staging@bd761097dca96dfe680af872a0202187dc2dffe3
python code · compare

Your SDK build was successful.

generate ✅bootstrap ✅format ✅

221 files generated at 1924445 (pushed)

typescript code · compare

Your SDK build was successful.

generate ✅bootstrap ✅format ✅

136 files generated at f142aa7 (pushed)

Diagnostics: ❗ 0 new / 1 total error, ⚠️ 0 new / 1 total warning, 💡 0 new / 5 total note
LevelCodeMessageTargets
Build metadata
Buildbd_768vGG89-pure-spade
Timestamp2026-08-16T21:13:12.357Z
stlc8413509
Spec hashff143be503cd
Config hash6c5ca8dbb79e

This comment is auto-generated by stlc and is kept up to date as you push.
If you push new commits, re-run this workflow to update this comment.
Last updated: 2026-08-16 21:13:35 UTC

@rgarcia
rgarcia requested a review from sjmiller609 August 16, 2026 21:45
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