Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-138489: Add missingbuild-details.json step for building wasm#139302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
Signed-off-by: Ho Kim <ho.kim@ulagbulag.io>
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
python-cla-botbot commentedSep 24, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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>
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 to6bbad6dCompare 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.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you! This looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you@HoKim98 😊
db53ca3 intopython:mainUh oh!
There was an error while loading.Please reload this page.
…asm (pythonGH-139302)* fix: add missing `build-details.json` step for building wasmSigned-off-by: Ho Kim <ho.kim@ulagbulag.io>*pythongh-138489: Add missing build-details.json step for building wasmSigned-off-by: Ho Kim <ho.kim@ulagbulag.io>* Update Makefile.pre.inCo-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>---------(cherry picked from commitdb53ca3)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 the3.14 branch. |
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 wasmSigned-off-by: Ho Kim <ho.kim@ulagbulag.io>*pythongh-138489: Add missing build-details.json step for building wasmSigned-off-by: Ho Kim <ho.kim@ulagbulag.io>* Update Makefile.pre.inCo-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>---------(cherry picked from commitdb53ca3)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.
Backport PR already created atGH-139557, miss-islington doesn't appear to recognise this. A |
…asm (python#139302)* fix: add missing `build-details.json` step for building wasmSigned-off-by: Ho Kim <ho.kim@ulagbulag.io>*pythongh-138489: Add missing build-details.json step for building wasmSigned-off-by: Ho Kim <ho.kim@ulagbulag.io>* Update Makefile.pre.inCo-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>
Uh oh!
There was an error while loading.Please reload this page.
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