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

Python: pyodide strategy #442

Closed
kylebarron opened this issue Jan 15, 2024 · 3 comments
Closed

Python: pyodide strategy #442

kylebarron opened this issue Jan 15, 2024 · 3 comments

Comments

@kylebarron
Copy link
Member

I think it's an important differentiator for geoarrow-rust to work in pyodide. The biggest blocker here is that multiple-pymethods doesn't work for the wasm32-unknown-emscripten target (see PyO3/pyo3#2517 and PyO3/pyo3#3628).

  • Conditionally compile only top-level functions and data classes with only core methods.
  • dev docs for compiling to pyodide
  • Add note to class methods that those don't exist in the pyodide build.
  • Add CI testing to verify that the --no-default-features build works when compiling to emscripten
  • Future work: connect to documentation, e.g. with https://github.com/samuelcolvin/mkdocs-run-code
@kylebarron
Copy link
Member Author

To simplify development overhead and maintenance, we're moving to only top-level functions anyways, so hopefully pyodide should be on the roadmap

@kylebarron
Copy link
Member Author

Closed with #753

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

1 participant