feat: add python wasm release workflow#2409
Open
mehtarac wants to merge 3 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
6 tasks
pgrayy
reviewed
Jun 1, 2026
pgrayy
reviewed
Jun 1, 2026
Comment on lines
+15
to
+23
| call-ts-check: | ||
| if: github.event_name == 'workflow_dispatch' || startsWith(github.event.release.tag_name, 'python-wasm/v') | ||
| uses: ./.github/workflows/typescript-ts-check.yml | ||
| permissions: | ||
| contents: read | ||
| with: | ||
| ref: ${{ github.event.release.target_commitish || github.sha }} | ||
|
|
||
| call-ts-test: |
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.
Description
The monorepo now produces three releasable packages: the TypeScript SDK (npm), Python 1.x (PyPI), and the new Python WASM 2.x (PyPI). The Python WASM package embeds a compiled .wasm binary from the TypeScript SDK and ships it as a single wheel. This PR adds the release workflow for that third package and prepares strands-py-wasm for PyPI publishing by resolving a direct URL dependency that PyPI rejects.
The existing Python 1.x workflow is tightened from
python/v*topython/v1.*tags; it is scoped to the 1.x line and will be removed at EOL. A new workflow (python-wasm-pypi-publish-on-release.yml) handlespython-wasm/v*releases with this pipeline:typescript-ts-check.yml,typescript-ts-test.yml) →wasm-py-check.yml) →The
pgrayy-wasmtimedependency is switched from agit+https://direct reference to a versioned PyPI package. PyPI's upload endpoint rejects direct URL references per PEP 440, so this change is required for publishing. Reference issueRelated Issues
Documentation PR
Type of Change
New feature
Testing
How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli
To verify locally that the wheel builds correctly:
hatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.