Skip to content

pyodide patches #17413

@ev-br

Description

@ev-br

To build scipy on WASM, pyodide carries several patches. Some of them might make sense to just include to scipy, and this issue is to track this. There are fourteen patches in total at https://github.com/hoodmane/pyodide/tree/main/packages/scipy/patches. Here's a rough grouping with an initial shot at a triage. The grouping and proposed decisions are very much up to discussion!

Low-hanging fruits, SciPy-specific, look straightforward to pick up: EDIT: the decision in gh-17414 is to not merge these three:

Maybe hold on

Apply to scipy and submit to SuperLU upstream
SuperLU appears to be active, https://github.com/xiaoyeli/superlu, so they might be interested in these three patches

A right course of action seems to be to submit them upstream, and apply to SciPy if accepted.

Distutils-specific

I think these can be ignored as distutils is on its way out:

pyodide specific

The second one we certainly do not want to apply: it undoes the recursive subroutine definitions. If pyodide needs it, it will need to also undo #15997 and #16053 which came in for scipy 1.9.

Am going to submit a PR for low-hanging fruits already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build issuesIssues with building from source, including different choices of architecture, compilers and OS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions