Skip to content

[python] release new version - #12578

Closed
Libba Lawrence (l0lawrence) wants to merge 2 commits into
microsoft:mainfrom
l0lawrence:publish/python-11-13
Closed

Libba Lawrence (l0lawrence) wants to merge 2 commits into
microsoft:mainfrom
l0lawrence:publish/python-11-13

Conversation

@l0lawrence

Copy link
Copy Markdown
Member

Retries publishing @typespec/http-client-python 0.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:playground publish 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.

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>
@pkg-pr-new

pkg-pr-new Bot commented Nov 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-python@12578

commit: 7cd0fd9

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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());
@l0lawrence

Copy link
Copy Markdown
Member Author

Superseded by #12579, which uses the upstream release branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants