Skip to content

[webassembly/pyscript] Add mip - #19

Closed
JeffersGlass wants to merge 0 commit into
dpgeorge:webassembly-add-modjsfrom
JeffersGlass:pyscript-add-mip
Closed

JeffersGlass wants to merge 0 commit into
dpgeorge:webassembly-add-modjsfrom
JeffersGlass:pyscript-add-mip

Conversation

@JeffersGlass

Copy link
Copy Markdown

This PR allows the mip package to work in the webassembly/PyScript port of Micropython, by re-implementing the urequests using browser APIs.

What this PR is missing is tests. Without an automated in-the-browser testing setup (e.g. Playwright, Puppeteers, etc), I'm not sure what the appropriate method of including them is. A static HTML file as a 'smoke test' is possible, but likely not ideal.

While it would be nice for this PR to live in the Micropython port itself, I could also see this as an argument for incorporating it downstream in Polyscript, where the testing story in the browser is more present. Perhaps @WebReflection has an opinion there.

@WebReflection

Copy link
Copy Markdown

I'd love to have this ported and tested in polyscript

@JeffersGlass

Copy link
Copy Markdown
Author

This functionality was added directly to PolyScript via #72 and #73 in that project; closing in favor of that downstream work, since the testing story makes more sense there.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants