Skip to content

Testing for pyodide/pyodide-build#60#5188

Open
hoodmane wants to merge 4 commits intopyodide:mainfrom
hoodmane:less-sloppy-remove-avoided-reqs
Open

Testing for pyodide/pyodide-build#60#5188
hoodmane wants to merge 4 commits intopyodide:mainfrom
hoodmane:less-sloppy-remove-avoided-reqs

Conversation

@hoodmane
Copy link
Copy Markdown
Member

@hoodmane hoodmane commented Nov 11, 2024

See upstream PR:
pyodide/pyodide-build#60

Resolves #5187. In that issue, the build requires a package called cmake-build-extension but because we have cmake in the list of requirements to avoid we drop it and it breaks the build.

This logic was introduced in #2272 and did not come up in the review. Surprisingly this is the first problem it has caused. Let's see if this change breaks anything in Pyodide CI.

@ryanking13
Copy link
Copy Markdown
Member

It looks like skipping (host) numpy installation is not working after this change, resulting in scipy build error.

@hoodmane
Copy link
Copy Markdown
Member Author

Hmm I tried building scipy locally and it worked fine...

See upstream PR:
pyodide/pyodide-build#60

Resolves pyodide#5187. In that issue, the build requires a package
called `cmake-build-extension` but because we have `cmake` in the list of
requirements to avoid we drop it and it breaks the build.

This logic was introduced in pyodide#2272 and
did not come up in the review. Surprisingly this is the first problem it has
caused. Let's see if this change breaks anything in Pyodide CI.
@hoodmane hoodmane force-pushed the less-sloppy-remove-avoided-reqs branch from 721ba9f to 81e2441 Compare February 17, 2025 21:52
@agriyakhetarpal agriyakhetarpal force-pushed the less-sloppy-remove-avoided-reqs branch from 72c87e0 to 51ffae8 Compare April 7, 2025 03:42
@agriyakhetarpal
Copy link
Copy Markdown
Member

I updated the submodule to point to pyodide/pyodide-build#60 again in the previous commit, as we no longer include CMake as a part of avoided build-time requirements.

@agriyakhetarpal
Copy link
Copy Markdown
Member

Actually, if patchelf is the only avoided requirement now, do we even need pyodide/pyodide-build#60? I guess we could just merge the submodule and #5187 should work fully.

@ryanking13
Copy link
Copy Markdown
Member

I am having the statsmodels build issue in pyodide-recipes PR as well. It uses tot pyodide-build, so I think it is not related to pyodide/pyodide-build#60. Maybe there was other regression.

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.

ModuleNotFoundError: No module named 'cmake_build_extension' when building package

3 participants