https://github.com/python/cpython/commit/db53ca30d761abba525bc8e47b16920b1fc43a83
commit: db53ca30d761abba525bc8e47b16920b1fc43a83
branch: main
author: Ho Kim <[email protected]>
committer: FFY00 <[email protected]>
date: 2025-10-04T14:26:20+01:00
summary:

gh-138489: Add missing `build-details.json` step for building wasm (#139302)

* fix: add missing `build-details.json` step for building wasm

Signed-off-by: Ho Kim <[email protected]>

* gh-138489: Add missing build-details.json step for building wasm

Signed-off-by: Ho Kim <[email protected]>

* Update Makefile.pre.in

Co-authored-by: Adam Turner <[email protected]>

---------

Signed-off-by: Ho Kim <[email protected]>
Co-authored-by: Adam Turner <[email protected]>

files:
A Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index 6651b093e20c8d..37bde125166f81 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -801,7 +801,7 @@ build_all:  check-clean-src check-app-store-compliance 
$(BUILDPYTHON) platform sh
 
 .PHONY: build_wasm
 build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \
-               python-config checksharedmods
+               python-config checksharedmods build-details.json
 
 .PHONY: build_emscripten
 build_emscripten: build_wasm web_example web_example_pyrepl_jspi
diff --git 
a/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst 
b/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst
new file mode 100644
index 00000000000000..b11098a3f87953
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst
@@ -0,0 +1,6 @@
+When cross-compiling for WASI by ``build_wasm`` or ``build_emscripten``, the
+``build-details.json`` step is now included in the build process, just like
+with native builds.
+
+This fixes the ``libinstall`` task which requires the ``build-details.json``
+file during the process.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to