Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web: when wasm32 package index becomes available, bundle wasm wheels with web app #1230

Closed
reynoldsnlp opened this issue Apr 25, 2023 · 1 comment
Labels
enhancement New features, or improvements to existing features.

Comments

@reynoldsnlp
Copy link

reynoldsnlp commented Apr 25, 2023

What is the problem or limitation you are having?

When #1225 is accepted, the web app will try to rely on micropip to install wasm32 binary wheels as the app loads. Lack of internet connection or index availability would break the app.

Describe the solution you'd like

Ideally, the app should already have dependency wheels packaged with the app.

Currently, there is no publicly hosted index of wasm32/pyodide/emscripten wheels, but when one becomes available, (as mentioned in pyodide/pyodide#3049), we should download an bundle the needed wheel.

Describe alternatives you've considered

Building wasm32 wheels yourself for everything? ¯\_(ツ)_/¯

Additional context

No response

@reynoldsnlp reynoldsnlp added the enhancement New features, or improvements to existing features. label Apr 25, 2023
@freakboy3742
Copy link
Member

Closing as a duplicate of #1104; although there may be an interim solution possible with #1225, the core issue doesn't change as a result of introducing that workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, or improvements to existing features.
Projects
None yet
Development

No branches or pull requests

2 participants