Error when make install for wasm32-wasip1 on Python3.14.0rc1

I encountered the error:

cd Python-3.14.0rc1
python3 Tools/wasm/wasi build -- --config-cache
cd cross-build/wasm32-wasip1
make install

ended up with

install: cannot stat 'build/lib.wasi-wasm32-3.14/build-details.json': No such file or directory

Is this expected or perhaps I’m missing something?

make install isn’t really supported for WASI. You can look at cpython-wasi-build/.github/workflows/release.yml at main · brettcannon/cpython-wasi-build · GitHub for what you would want to copy.

I also already have build at Releases · brettcannon/cpython-wasi-build · GitHub if you’re not modifying CPython itself.

1 Like

Ah, I see. Thanks for the link.

Would you mind opening a bug report? We should probably figure out whether the failure makes sense or is just an oversight.

Created Error when make install for wasm32-wasip1 · Issue #137878 · python/cpython · GitHub

Thanks!

1 Like