gh-145177: Upgrade to Emscripten 6.0.3 (#154029)

freakboy3742 <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/51de91dbb076985d7c656f6a57919846f2556bb7
commit: 51de91dbb076985d7c656f6a57919846f2556bb7
branch: main
author: Hood Chatham <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2026-07-20T06:17:04+08:00
summary:

gh-145177: Upgrade to Emscripten 6.0.3 (#154029)

files:
M Platforms/emscripten/config.toml
M configure
M configure.ac

diff --git a/Platforms/emscripten/config.toml b/Platforms/emscripten/config.toml
index 0c65a6623c9798a..5e4f80b28a41c18 100644
--- a/Platforms/emscripten/config.toml
+++ b/Platforms/emscripten/config.toml
@@ -1,7 +1,7 @@
 # Any data that can vary between Python versions is to be kept in this file.
 # This allows for blanket copying of the Emscripten build code between supported
 # Python versions.
-emscripten-version = "6.0.2"
+emscripten-version = "6.0.3"
 node-version = "24"
 test-args = [
     "-m", "test",
diff --git a/configure b/configure
index 0fc2b0e819a1209..b7ba4994b30e701 100755
--- a/configure
+++ b/configure
@@ -9807,7 +9807,6 @@ fi
     as_fn_append LINKFORSHARED " -sEXPORTED_FUNCTIONS=_main,_Py_Version,__PyRuntime,_PyGILState_GetThisThreadState,__PyEM_EMSCRIPTEN_TRAMPOLINE_OFFSET"
     as_fn_append LINKFORSHARED " -sSTACK_SIZE=5MB"
         as_fn_append LINKFORSHARED " -sTEXTDECODER=2"
-        as_fn_append LINKFORSHARED " -sGROWABLE_ARRAYBUFFERS=0"
 
     if test "x$enable_wasm_dynamic_linking" = xyes
 then :
diff --git a/configure.ac b/configure.ac
index 980ed2af50b13f7..5e98a4f91c8d5ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2410,8 +2410,6 @@ AS_CASE([$ac_sys_system],
     AS_VAR_APPEND([LINKFORSHARED], [" -sSTACK_SIZE=5MB"])
     dnl Avoid bugs in JS fallback string decoding path
     AS_VAR_APPEND([LINKFORSHARED], [" -sTEXTDECODER=2"])
-    dnl workaround for emscripten#27241, can remove when we update to emscripten 6.0.3
-    AS_VAR_APPEND([LINKFORSHARED], [" -sGROWABLE_ARRAYBUFFERS=0"])
 
     AS_VAR_IF([enable_wasm_dynamic_linking], [yes], [
       AS_VAR_APPEND([LINKFORSHARED], [" -sMAIN_MODULE"])

_______________________________________________
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.