Ivan Carvalho

Results 185 comments of Ivan Carvalho

Somehow I got `Successfully built /home/ivan/Projects/rustworkx-dev/dist/rustworkx-0.17.0-cp39-abi3-emscripten_4_0_6_wasm32.whl`, but only when running with `RUSTFLAGS="-v" pyodide build`. I will test the wheel.

Well, I can `pip install` using the pyodide environment but a simple `import rustworkx` crashes: ``` (.venv-pyodide) ➜ tests git:(more-uv-features) python which: no grealpath in (/home/ivan/Projects/.venv-pyodide/bin:/home/ivan/.local/bin:/usr/share/Modules/bin:/home/ivan/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin:/home/ivan/.dotnet/tools:/home/ivan/.dotnet/tools) Python 3.13.2 (main, Apr...

I think setting verbose on the previous comment erased the flags from `pyodide build` so we are back at step one.

Ok, we definetely build. Any code that calls Rayon fails, but: 1. https://gist.github.com/IvanIsCoding/8bb97d428169e073af4afa598e1d2932 has the code of a `index.html` page that calls Floyd-Warshall 2. Download index.html from the gist and...

After telling the nightly compiler to rebuild `std`, I built https://github.com/IvanIsCoding/rustworkx/releases/download/v0.17.0-alpha2-pyodide/rustworkx-0.17.0-cp39-abi3-pyodide_2025_0_wasm32.whl which seems to be working. I will try to see if I figure out how to run our unit...

I have no clue how to include this on CI or even if we should, but there more I test the more things seem to work. I will open an...

> Overall this looks fine to me, Just one nit inline. I'd like to try to find time soon to pull this locally and test out wasm and pyodide before...

Putting this on-hold again as it could profit from the `multiple-pymethods` feature from PyO3

I will post more thoughts on this later but in general, we have refrained from breaking things as much as possible. The most memorable breaking changes from the Python code...

I think this should be an OK addition, but it will need to be a separate method. We had issues with conversions from ndarray -> Rust types before and that...