]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-140475: Support WASI SDK 25 (#140477)
authorBrett Cannon <brett@python.org>
Wed, 22 Oct 2025 21:34:37 +0000 (14:34 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Oct 2025 21:34:37 +0000 (14:34 -0700)
As well, bump the version of Wasmtime used in CI.

.github/workflows/reusable-wasi.yml
Misc/NEWS.d/next/Build/2025-10-22-12-44-07.gh-issue-140475.OhzQbR.rst [new file with mode: 0644]
Tools/wasm/wasi/__main__.py

index 6beb91e66d402733adbdd0a5e741cc91cf6fe62f..a4673d74cbb17720e9a1ea015425b9acb026903b 100644 (file)
@@ -16,8 +16,8 @@ jobs:
     runs-on: ubuntu-24.04
     timeout-minutes: 60
     env:
-      WASMTIME_VERSION: 22.0.0
-      WASI_SDK_VERSION: 24
+      WASMTIME_VERSION: 38.0.2
+      WASI_SDK_VERSION: 25
       WASI_SDK_PATH: /opt/wasi-sdk
       CROSS_BUILD_PYTHON: cross-build/build
       CROSS_BUILD_WASI: cross-build/wasm32-wasip1
diff --git a/Misc/NEWS.d/next/Build/2025-10-22-12-44-07.gh-issue-140475.OhzQbR.rst b/Misc/NEWS.d/next/Build/2025-10-22-12-44-07.gh-issue-140475.OhzQbR.rst
new file mode 100644 (file)
index 0000000..b413902
--- /dev/null
@@ -0,0 +1 @@
+Support WASI SDK 25.
index b2f643ddbfc2135ee45aff7e46569a03a5fbaf94..3aedb5e97b7c2a03003454e8ede8732375b871be 100644 (file)
@@ -31,7 +31,7 @@ LOCAL_SETUP_MARKER = (
     b"# Required to statically build extension modules."
 )
 
-WASI_SDK_VERSION = 24
+WASI_SDK_VERSION = 25
 
 WASMTIME_VAR_NAME = "WASMTIME"
 WASMTIME_HOST_RUNNER_VAR = f"{{{WASMTIME_VAR_NAME}}}"