Releasing¶
This project publishes to PyPI via GitHub Actions trusted publishing.
Preconditions¶
- PyPI trusted publisher configured for this repository/workflow.
- GitHub environment
pypiexists and is allowed to run release jobs. - Branch protection requires CI checks listed in
CONTRIBUTING.md.
Release Checklist¶
- Update
multilingualprogramming/version.pywith the new version. - Add release notes to
CHANGELOG.mdandRELEASE.mdunder a new version heading. - Review user-facing docs for stale version numbers, install extras, CLI flags, and backend claims.
- Run local checks:
- Build and validate release artifacts: Current optional extras are:
wasm— Wasmtime runtimeai— OpenAI, Anthropic, and Ollama providersperformance— Wasmtime plus NumPyall— WASM, performance, and AI dependencies- Push changes to
main. - Create and push a version tag:
- Verify workflow
Release to PyPIsucceeds. - Confirm package availability on PyPI.
Post-release¶
- Create a GitHub release for tag
vX.Y.Z. - Move changelog placeholders under
Unreleasedas needed.