feat(python): add PyPI publishing with pre-built wheels#188
Merged
Conversation
- Create publish-python.yml: builds wheels for Linux (x86_64/aarch64, glibc/musl), macOS (x86_64/aarch64), Windows (x86_64) across Python 3.9-3.13. Uses maturin-action + PyPI trusted publishing. - Switch pyproject.toml to dynamic versioning from Cargo.toml so Python and Rust versions stay in sync automatically. - Add Python 3.13 classifier. - Document Python publishing in release process spec. https://claude.ai/code/session_01CpNjeziWqpNS2VfGvaWurd
Documents Python bindings layout, PyPI publishing workflow, supported platforms, public API, and design decisions (no PGO, dynamic versioning, trusted publishing). https://claude.ai/code/session_01CpNjeziWqpNS2VfGvaWurd
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Version bumps for libc, hashbrown, tempfile, wasm-*, wit-*, getrandom, prettyplease, unicode-xid, id-arena, leb128fmt, wasip3. https://claude.ai/code/session_01CpNjeziWqpNS2VfGvaWurd
Move id-arena after icu_provider and wasmparser after wasm-streams per cargo-vet alphabetical sort requirements. https://claude.ai/code/session_01CpNjeziWqpNS2VfGvaWurd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
publish-python.ymlworkflow: builds pre-compiled wheels for 7 platform variants (Linux glibc/musl x86_64/aarch64, macOS x86_64/aarch64, Windows x86_64) across Python 3.9–3.13, smoke-tests on each OS, publishes to PyPI via trusted publishing (OIDC)specs/013-python-package.mddocumenting Python bindings layout, platform matrix, public API, and design decisionsspecs/008-release-process.mdwith Python publishing workflow and PyPI auth setupSetup required before first publish
release-pythonin repo settingseverruns, repobashkit, workflowpublish-python.yml, environmentrelease-pythonTest plan
publish-python.ymlvia workflow_dispatch to build wheels against currentv0.1.4