Skip to content

Enable Python Emitter in TypeSpec Playground#10203

Draft
JennyPng wants to merge 23 commits intomicrosoft:mainfrom
JennyPng:playground-upload-python
Draft

Enable Python Emitter in TypeSpec Playground#10203
JennyPng wants to merge 23 commits intomicrosoft:mainfrom
JennyPng:playground-upload-python

Conversation

@JennyPng
Copy link
Copy Markdown
Member

@JennyPng JennyPng commented Mar 30, 2026

Closes #10169

  • Bundle and upload Python emitter, peer deps, and wheel file to Azure Storage Blob for playground consumption
  • update the Python emitter to create a browser-compatible Pyodide codepath which loads the python libraries from storage blob, and display it in the playground

TODO revert emitter version change

pipeline testing

Successfully uploaded to a test storage account (jennytypespectest ) in this pipeline of this branch pushed upstream from this fork https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6096063&view=logs&j=60577dc7-3436-5127-65c1-140b45e646e6&t=e7819a7c-e906-520b-fd5c-78cd48a18083

  • successfully uploaded to production playground and verified it works in-browser

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 30, 2026

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

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

Extend publish pipeline to upload emitter bundle to Playground storage account

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Mar 30, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@JennyPng JennyPng marked this pull request as ready for review March 30, 2026 22:47
@JennyPng JennyPng marked this pull request as draft March 31, 2026 20:48
@microsoft-github-policy-service microsoft-github-policy-service bot added meta:website TypeSpec.io updates emitter:client:python Issue for the Python client emitter: @typespec/http-client-python labels Apr 1, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 1, 2026

Open in StackBlitz

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

commit: 3d76d57

@JennyPng JennyPng marked this pull request as ready for review April 2, 2026 00:02
@JennyPng JennyPng marked this pull request as draft April 2, 2026 20:13
@JennyPng JennyPng changed the title Add Python Emitter Upload Pipeline for TypeSpec Playground Enable Python Emitter in TypeSpec Playground Apr 2, 2026
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 eng meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable Python emitter in TypeSpec Playground

2 participants