Uh oh!
There was an error while loading. Please reload this page.
gh-138489: Add missing build-details.json step for building wasm - #139302
Conversation
Signed-off-by: Ho Kim <ho.kim@ulagbulag.io>
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
build-details.json step for building wasmbuild-details.json step for building wasmbuild-details.json step for building wasmbuild-details.json step for building wasmSigned-off-by: Ho Kim <ho.kim@ulagbulag.io>
AA-Turner
commented
Sep 24, 2025
Sorry, it's far too easy to click the 'copilot' button, this was absolutely not my intent! A |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
f9a947b to
6bbad6dCompare
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
emmatyping
commented
Sep 24, 2025
Confirmed locally this also fixes #137878 $ wasmtime--dir/opt/wasi-python//opt/wasi-python/bin/python3.wasmPython3.15.0a0 (heads/fix/wasm-build-details.json-dirty:6bbad6d6cc2, Sep242025, 10:33:33) [Clang19.1.5-wasi-sdk (https://github.com/llvm/llvm-projectab4b5a2db582958af1eonwasiType"help", "copyright", "credits"or"license"formoreinformation.
warning: can't use pyrepl: No module named 'termios'
>>>importmath>>>math.pi3.141592653589793 |
emmatyping
left a comment
There was a problem hiding this comment.
Thank you! This looks good to me.
…asm (pythonGH-139302) * fix: add missing `build-details.json` step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * pythongh-138489: Add missing build-details.json step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * Update Makefile.pre.in Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --------- (cherry picked from commit db53ca3) Co-authored-by: Ho Kim <ho.kim@ulagbulag.io> Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-139557 is a backport of this pull request to the 3.14 branch. |
AA-Turner
commented
Oct 4, 2025
I think it's worth backporting this, but it's not critical that this goes into 3.14.0. What do we think? A |
This comment was marked as outdated.
This comment was marked as outdated.
…asm (pythonGH-139302) * fix: add missing `build-details.json` step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * pythongh-138489: Add missing build-details.json step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * Update Makefile.pre.in Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --------- (cherry picked from commit db53ca3) Co-authored-by: Ho Kim <ho.kim@ulagbulag.io> Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This comment was marked as outdated.
This comment was marked as outdated.
AA-Turner
commented
Oct 4, 2025
Backport PR already created at GH-139557, miss-islington doesn't appear to recognise this. A |
…asm (python#139302) * fix: add missing `build-details.json` step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * pythongh-138489: Add missing build-details.json step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * Update Makefile.pre.in Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --------- Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Hello, this PR just adds a missing
build-details.jsonbuild step on WASM ecosystems (e.g.WASI).When cross-compiling for WASI by
build_wasmorbuild_emscripten, thebuild-details.jsonstep is now included in the build process, just like with native builds.This fixes the
libinstalltask which requires thebuild-details.jsonfile during the process.build-details.jsonis missing on some platforms #138489