Skip to content

Conversation

@IvanIsCoding
Copy link
Collaborator

@IvanIsCoding IvanIsCoding commented May 15, 2025

Follow up of #1447 and #1449. True diff: IvanIsCoding/rustworkx@pixi-pyodide...IvanIsCoding:rustworkx:test-pyodide

This builds on the preview two PRs by adding a Pixi task that does the following:

  • Runs npm install to install Pyodide
  • Finds the wheel from Pyodide's build
  • Creates a Pyodide environment inside Node.js with rustworkx
  • Mounts our tests folder into Pyodide's memory with Node.js's file system
  • Runs a smoke test the full test suite inside Pyodide via Node.js

This will catch regressions for Pyodide. Because Pixi has a lockfile and so does Node.js, I think it will be reproducible.

Note that Pyodide installs NumPy and more because it is one of our dependencies. We also need to install networkx. Because Pyodide has a lockfile internally (https://github.com/pyodide/pyodide-lock) that ships in the Node distribution, I think it will keep installing the same numpy/networkx/matplotlib from a fixed URL so I think overall this will be reproducible.

@IvanIsCoding IvanIsCoding added this to the 0.17.0 milestone May 17, 2025
@IvanIsCoding IvanIsCoding removed this from the 0.17.0 milestone Jun 29, 2025
@IvanIsCoding IvanIsCoding added this to the 0.17.1 milestone Jul 6, 2025
@IvanIsCoding IvanIsCoding modified the milestones: 0.17.1, 0.18.0 Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants