@ai-ecoverse/wasix-python
v3.14.2-9
Published
CPython 3.14 for slicc WASIX (fcntl F_SETFD CLOEXEC fix via wasix-sysroot 2025.9.30-14)
Readme
@ai-ecoverse/wasix-python
CPython 3.14 for slicc WASIX (commands python / python3).
Features
- PIE dynamic-main (
dylink.0), SOABIcpython-314-wasm32-wasix - No
fork/vfork;subprocessviaos.posix_spawn(proc_spawn2/3) mmapbuiltin via-D_WASI_EMULATED_MMAN+-lwasi-emulated-mman(mmap/munmap/msync; no madvise/mprotect)- Bundled
pip(ensurepip wheel) +tomllib/xmlrpcfor pip’s import graph zlibforgzip(dateutil zoneinfo, etc.)- static
_bz2/_lzma,sqlite3,readline(+ termcap shim) pwd/grp/fcntl/termios/resourcebuiltinsgetuid/geteuid/getgid/getegid→ 1000 via--wrapstubs; passwd-lesspwd/grp→ user/1000//home/user- Advisory file locks (
flock/fcntlF_SETLK* /lockf) are no-ops in the SLICC realm (Emscripten parity). - stdout is line-buffered unless it is a regular file, so output streams and survives crashes
- 3.14.2-8 is identical to accepted 3.14.2-7 (npm phantom-staged -7 blocked republish; see npm/cli#9889).
- PRESTAGE:
prestage-check.shblocks stage unless SOABI wasix + wrap-getuid=1000 - wasix-libc
setitimer/alarmpatch: callsproc_raise_interval2with bothit_valueandit_interval(legacyproc_raise_intervaluntouched; seepatches/)
Acceptance (Wasmer / SLICC)
python -c "import mmap; print('mmap ok')"
python -m pip install --prefix <dir> six # SLICC: HTTPS via realm proxy + SSL_CERT_FILE
PYTHONPATH=<dir>/lib/python3.14/site-packages python -c "import six"On plain Wasmer without _ssl, use a local wheel (--no-index --find-links) until openssl/_ssl is enabled.
