Skip to content

[http-client-python] Revert bundled playground dependency wheels - #12577

Open
Libba Lawrence (l0lawrence) wants to merge 1 commit into
microsoft:mainfrom
l0lawrence:l0lawrence-revert-python-playground-wheels
Open

Libba Lawrence (l0lawrence) wants to merge 1 commit into
microsoft:mainfrom
l0lawrence:l0lawrence-revert-python-playground-wheels

Conversation

@l0lawrence

@l0lawrence Libba Lawrence (l0lawrence) commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Blocking release b/c conflicts with CFS going to revert to get compat with newest typespec versions out and merge back in later

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>
@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@12577

commit: 9858378

@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • ✅ @typespec/http-client-python
Show changes

@typespec/http-client-python - internal ✏️

Revert bundled playground dependency wheels from #12484 before retrying the Python emitter 0.40.1 release.

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 emit tests leaves micropip installation and initialization retry behavior untested, so replacement tests are needed for the generator-wheel URL, installation failure diagnostic, and successful retry.

1 open issue
What changed in this PR

Rolls back the Python emitter’s bundled playground dependency wheels from #12484 ahead of a separate 0.40.1 release retry. Version and dependency upgrades from #12556 remain unchanged.

Changes:

  • Restores micropip-based browser installation and the regular generator-wheel build.
  • Removes playground-specific build configuration, asset declarations, tests, and documentation.
  • Adds an internal, no-version Chronus entry without a new CHANGELOG version.
File Description
packages/​http-client-python/​tests/​unit/​test_browser_wheels.py Removes bundled browser-wheel build tests.
packages/​http-client-python/​package.json Removes the playground build command and browser asset declarations.
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 the regular wheel-only build.
packages/​http-client-python/​eng/​pipeline/​publish.yml Removes the playground build-script override.
packages/​http-client-python/​emitter/​test/​browser-pyodide.test.ts Removes bundled-wheel tests while retaining lazy-bootstrap coverage.
packages/​http-client-python/​emitter/​src/​emitter.ts Restores generator-wheel installation through micropip.
packages/​http-client-python/​ARCHITECTURE.md Removes documentation for bundled browser dependencies.
.chronus/​changes/​python-playground-wheel-rollback.md Records the rollback as an internal change.

Review effort: Balanced

import { expectDiagnostics } from "@typespec/compiler/testing";
import { strictEqual } from "assert";
import { afterEach, describe, expect, it, vi } from "vitest";
import { afterEach, describe, it, vi } from "vitest";
@github-actions

Copy link
Copy Markdown
Contributor

Python emitter diff

Baseline gh:b5e41f255d6b1fe573904e44cb71d772802ada3b vs this PR.

No changes to generated output.

Rendered diff: inline on the run summary, or the emitter-diff-html artifact.

Informational check (eng/emitter-diff); does not block the PR.

@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

This branch has not been deployed

No deployments
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