Skip to content

[python] release new version - #12579

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

Libba Lawrence (l0lawrence) wants to merge 2 commits into
mainfrom
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 not published.

This branch is based on #12577, which reverts #12484's bundled playground wheels and the build:playground publish override. Merge #12577 first, then update this branch from main if needed so this PR contains only the release-trigger change.

The release change adds a comment to packages/http-client-python/eng/pipeline/publish.yml so the publish pipeline runs again when it merges. The version stays at 0.40.1, with no CHANGELOG or new Chronus entries. Check whether #12577's merge has already published 0.40.1 before merging this retry.

Supersedes #12578, whose branch was in a fork.

Revert the implementation of #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@12579

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

Removing the browser-emission tests leaves the restored micropip.install path unverified, including the generator-wheel URL, rejected-installation diagnostics, and successful retry on the next emit.

1 open issue
What changed in this PR

Retries publishing @typespec/http-client-python 0.40.1 without changing its version. The current diff also includes #12577’s playground-wheel rollback; after that PR merges, this retry is intended to contain only the pipeline comment.

Changes:

  • Adds a pipeline comment to retrigger publication.
  • Reverts bundled browser dependencies and restores micropip installation.
  • Removes rollback-specific tests and documentation, and records the rollback in Chronus.
File Description
packages/​http-client-python/​tests/​unit/​test_browser_wheels.py Removes bundled-wheel build tests.
packages/​http-client-python/​package.json Removes the 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 Removes browser dependency wheel preparation.
packages/​http-client-python/​eng/​pipeline/​publish.yml Adds the release-trigger comment and removes the playground build override.
packages/​http-client-python/​emitter/​test/​browser-pyodide.test.ts Removes manifest-loading and initialization failure tests.
packages/​http-client-python/​emitter/​src/​emitter.ts Restores browser installation through micropip.
packages/​http-client-python/​ARCHITECTURE.md Removes bundled browser-wheel documentation.
.chronus/​changes/​python-playground-wheel-rollback.md Records the playground-wheel rollback.

Review effort: Balanced

Comment on lines +309 to +311
await pyodide.loadPackage("micropip");
const micropip = pyodide.pyimport("micropip");
await micropip.install(getBrowserPygenWheelUrl());
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