postinstall of @basthon/kernel-python3 fails (in version 0.50.10) and pyodide isn't downloaded
kernel-python3/package.json says
"scripts": {
"_postinstall": "PYODIDE_VERSION=$(python3 pyodide_version.py) && mkdir -p lib/dist/ && wget -qO- https://github.com/pyodide/pyodide/releases/download/$PYODIDE_VERSION/pyodide-build-$PYODIDE_VERSION.tar.bz2 | tar xjvf - -C lib/dist/",
but pyodide_version.py
doesn't exists in the npm package.
Copying pyodide_version.py in node_modules/@basthon/kernel-python3/ doesn't solve the pb because src/kernel.ts
neither exists in the npm package.
I solved temporary this pb with the manual command PYODIDE_VERSION=0.21.3; cd node_modules/@basthon/kernel-python3/ && mkdir -p lib/dist/ && wget -qO- https://github.com/pyodide/pyodide/releases/download/$PYODIDE_VERSION/pyodide-build-$PYODIDE_VERSION.tar.bz2 | tar xjvf - -C lib/dist/
Thanks for your work !