Skip to content

Conversation

@brettcannon
Copy link
Member

@brettcannon brettcannon commented Dec 17, 2025

Only run on Python 3.11 and 3.12 with WASI SDK 21. Hard-coding allows for symlinking /opt/wasi-sdk to WASI SDK 24 for Python 3.13. For Python 3.14 and later this is not a concern as Tools/wasm/wasi find the appropriate WASI SDK automatically in /opt.

How this gets used during ./configure can be seen at https://github.com/python/cpython/blob/0e4cd897811651d896c5be9beec803b506131c7c/Tools/wasm/wasi-env#L32 .

Only run on Python 3.11 and 3.12 with WASI SDK 21. Hard-coding allows for symlinking `/opt/wasi-sdk` to WASI SDK 24 for Python 3.13. For Python 3.14 and later this is not a concern as `Tools/wasm/wasi` find the appropriate WASI SDK automatically in `/opt`.
@itamaro itamaro merged commit 7810cc5 into python:main Dec 18, 2025
1 check passed
@brettcannon brettcannon deleted the patch-1 branch December 18, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants