Skip to content

Conversation

IvanIsCoding
Copy link
Collaborator

@IvanIsCoding IvanIsCoding commented May 13, 2025

Follow up of #1447. After the parent PR is merged, the diff of this PR will be smaller. True diff: IvanIsCoding/rustworkx@pyodide-rayon...IvanIsCoding:rustworkx:pixi-pyodide

This uses pixi to run the Pyodide build. This is still higly experimental. It is related to #1416 and #1420 in the sense that pixi is to conda what uv is to pypi.

The Github Action workflow I created does the following:

  • Installs Python 3.12.7 from Conda via Pixi. Python needs to be pinned
  • Installs Emscripten 3.1.58. This is also pinned. Newer versions are required to build with Python 3.13 but that is not on Conda at the moment.
  • Installs Node.js
  • Installs Rust 1.86. Generally we'd use nightly rust, but Conda does not offer that. So I had to use the RUSTC_BOOTSTRAP trick to enable nightly features on a compiler. Of course that is terrible, but the version is pinned so essentially it is like using a pinned nightly compiler
  • Installs a pinned version of https://github.com/pyodide/pyodide-build
  • The Pyodide CLI installs the tools to build for 0.27.6, which maps to Python 3.12
  • Compiles the code with Rust and Emscripten

There are no tests at the moment but as long as we build, recipes like pyodide/pyodide-recipes#90 should catch some obvious test failures.

@coveralls
Copy link

coveralls commented May 13, 2025

Pull Request Test Coverage Report for Build 18084177007

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.156%

Totals Coverage Status
Change from base Build 18083333380: 0.0%
Covered Lines: 18140
Relevant Lines: 19266

💛 - Coveralls

@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
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

Successfully merging this pull request may close these issues.

2 participants