Skip to content

feat: package and publish platform Python wheels - #189

Merged
0xcadams merged 2 commits into
0xcadams/typescript-package-layoutfrom
0xcadams/python-platform-wheels
Oct 10, 2026
Merged

0xcadams merged 2 commits into
0xcadams/typescript-package-layoutfrom
0xcadams/python-platform-wheels

Conversation

@0xcadams

@0xcadams 0xcadams commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

What

Add four platform-specific, wheel-only tnldotdev-tnl distributions to the signed root-tag release workflow. Each macOS/Linux arm64/x64 wheel carries its matching GoReleaser tnl binary, and the GitHub release stays draft until both npm and PyPI publication succeed. Python lifecycle and installed-wheel checks follow in #190.

Why

The Python ASGI binding needs the native app-owned publisher on the same architecture as its interpreter. A generic pure-Python wheel cannot provide it, and a separate publication path would break the product's shared version, artifact, and license checks.

Changes

  • Build platform wheels from verified archive/binary pairs, include required legal files, RECORD hashes, PEP 440 rc.N mapping, and an install/import/native version-and-commit smoke.
  • Upload verified wheels from the archive job and publish through pinned Python/uv tooling with PyPI Trusted Publishing; gate release-draft publication on PyPI and npm.
  • Document the one-time pending PyPI trusted publisher setup and extend task package with wheel verification.

@0xcadams
0xcadams added this pull request to stack #164 October 10, 2026 02:46
@0xcadams
0xcadams force-pushed the 0xcadams/python-platform-wheels branch from 57e5c17 to e947548 Compare October 10, 2026 07:48
@0xcadams
0xcadams force-pushed the 0xcadams/python-platform-wheels branch from e947548 to 4ebe0e7 Compare October 10, 2026 07:52
@0xcadams
0xcadams force-pushed the 0xcadams/python-platform-wheels branch from 4ebe0e7 to 7340266 Compare October 10, 2026 21:45
Comment thread scripts/verify-python-wheels.ts
@0xcadams
0xcadams force-pushed the 0xcadams/python-platform-wheels branch from 7340266 to b61a3c0 Compare October 10, 2026 21:54
@0xcadams
0xcadams force-pushed the 0xcadams/python-platform-wheels branch from b61a3c0 to 0e0133b Compare October 10, 2026 21:57
@0xcadams
0xcadams merged commit 0a7352d into main Oct 10, 2026
24 of 26 checks passed
@0xcadams
0xcadams deleted the 0xcadams/python-platform-wheels branch October 10, 2026 22:21
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