On Sat, 2024-06-01 at 10:02 -0700, Matthias Koeppe wrote: > Unlikely that we would add a package to the Sage distribution that builds a > Rust library from source. > > Not so long ago we added support for installing Python packages from > platform-independent wheels. We did this to sidestep the concern of > shipping more and more of Javascript (Node.js) infrastructure that is > needed for building JupyterLab components. > > Likewise, we will soon add support for installing Python packages from > platform-dependent wheels. This is needed for updating some Jupyter > components that have started to use Rust (https://github.com/crate-py/rpds, > a dependency of jsonschema).
The jsonschema package was being replaced by fastjsonschema in its consumers the last time we ran in to this problem. Rust is not nearly as portable as C, and has an unstable ABI that makes shipping compatible versions of packages from multiple sources nearly impossible. Will Sage's wheel packages be compatible with the wheels built by the Gentoo package manager? Even for a single source, more labor is involved -- instead of rebuilding each package once when it changes, you wind up rebuilding all of its consumers, and then all of their consumers, and... so on recursively. We're already drowning in this regard and incorporating rust in any way will make it a lot worse. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/4cbea3e620e0481d4d2849fec72b6e4c2d4e5dcc.camel%40orlitzky.com.