Repository navigation
[python] release new version - #12578
Closed
Libba Lawrence (l0lawrence) wants to merge 2 commits into
Closed
Libba Lawrence (l0lawrence) wants to merge 2 commits into
Libba Lawrence (l0lawrence) wants to merge 2 commits into
Conversation
Revert the implementation of microsoft#12484 while preserving Python emitter 0.40.1 and its current dependency upgrades. Record this rollback as an internal change without a version bump. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Libba Lawrence (l0lawrence)
requested review from
Chenxi Jiang (ChenxiJiang333),
catalinaperalta,
iscai-msft,
Kashif Khan (kashifkhan),
Laurent Mazuel (lmazuel),
Mark Cowlishaw (markcowl),
Yuchao Yan (msyyc),
Chenjie Shi (tadelesh),
Timothee Guerin (timotheeguerin) and
Jeff Fisher (xirzec)
as code owners
November 13, 2026 18:18
commit: |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The restored micropip installation path lacks browser-emission test coverage for successful installation, failure diagnostics, and initialization retries; the remaining test checks only module import.
1 open issue
What changed in this PR
Retries publication of @typespec/http-client-python 0.40.1 without changing its version. The current stacked diff includes #12577’s playground-wheel rollback; after that PR merges, only the publish-trigger comment should remain.
Changes:
- Adds a pipeline comment to retrigger publication.
- Reverts bundled browser dependencies and restores micropip installation.
- Removes rollback-specific tests and documentation, with an internal Chronus entry.
| File | Description |
|---|---|
packages/http-client-python/tests/unit/test_browser_wheels.py |
Removes bundled-wheel build tests. |
packages/http-client-python/package.json |
Removes playground build script and bundled dependency assets. |
packages/http-client-python/eng/scripts/setup/build.ts |
Stops forwarding playground build arguments. |
packages/http-client-python/eng/scripts/setup/build_pygen_wheel.py |
Restores generator-only wheel builds. |
packages/http-client-python/eng/pipeline/publish.yml |
Adds trigger comment and removes playground build override. |
packages/http-client-python/emitter/test/browser-pyodide.test.ts |
Removes bundled-wheel initialization and failure tests. |
packages/http-client-python/emitter/src/emitter.ts |
Restores browser installation through micropip. |
packages/http-client-python/ARCHITECTURE.md |
Removes bundled browser-runtime documentation. |
.chronus/changes/python-playground-wheel-rollback.md |
Records the stacked rollback as an internal change. |
Review effort: Balanced
Comment on lines
+309
to
+311
| await pyodide.loadPackage("micropip"); | ||
| const micropip = pyodide.pyimport("micropip"); | ||
| await micropip.install(getBrowserPygenWheelUrl()); |
Member
Author
|
Superseded by #12579, which uses the upstream release branch. |
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.

Retries publishing
@typespec/http-client-python0.40.1. #12556 set the version to 0.40.1, but it was never published; npm and the Azure SDK feed still show 0.40.0.This branch is stacked on #12577, which reverts #12484's bundled playground wheels, including the
build:playgroundpublish override. Merge #12577 first; once it's in, this PR's diff shrinks to the release-trigger commit.The only change of its own is a comment in
packages/http-client-python/eng/pipeline/publish.yml, so the publish pipeline runs again when this merges. The version stays at 0.40.1, and there are no CHANGELOG or new Chronus entries.