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

Support wasm32-wasi #2103

Open
broodroosterdev opened this issue Nov 29, 2024 · 1 comment
Open

Support wasm32-wasi #2103

broodroosterdev opened this issue Nov 29, 2024 · 1 comment

Comments

@broodroosterdev
Copy link

Description

As of Python 3.13, the wasm32-wasi target is a tier 2 platform: https://peps.python.org/pep-0011/#tier-2
What would be needed for wasm32-wasi to be supported by this project?

I am trying to use certain packages that use this project to build python dynamic modules, and having wasm32-wasi support would help these packages become wasm32-wasi compatible.

Thank you for your help 😄

Build log

No response

CI config

No response

@henryiii
Copy link
Contributor

WASI doesn't support dynamic linking, so you literally cannot build "dynamic modules". The only way to "use" a binary package is to create a customized Python build with all your .so files combined into a single component. This may change in a few years, but for now, this is all we have, and it's really far from the "wheel" model (and makes 'pip' like workflows impossible).

See https://github.com/dicej/wasi-wheels and dicej/wasi-wheels#4 is helpful.

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

No branches or pull requests

2 participants