Hood Chatham
Hood Chatham
Okay I opened a PR attempting the update. @ryanking13 reverted Geopandas 0.13 in #4088 so it may be a nontrivial upgrade...
It does look like there is a bug in `create_once_callable`. Because of the two garbage connectors problem, `destroy` will always be useful: 1. If there is a js -> py...
Thanks @WebReflection! It looks helpful.
Another related idea would be to cache a memory snapshot.
I think this is most likely a Jest or Node bug. It shouldn't be possible for a Pyodide bug to segfault node.
I'd recommend running it against a debug build of Node: https://github.com/nodejs/node/blob/main/doc/contributing/building-node-with-ninja.md#producing-a-debug-build Then hopefully the error message will be more informative.
I think this is a known bug, but I can't find the appropriate issue. It when there is a version of a package in our lockfile, micropip installs it even...
Try `emcmake cmake` and `emmake make`. Also try grepping our packages folder for cmake and looking what they do, or asking @ryanking13 who's our resident cmake expert.
You probably need to use [our emscripten cmake toolchain file](https://github.com/pyodide/pyodide/blob/main/pyodide-build/pyodide_build/tools/cmake/Modules/Platform/Emscripten.cmake) which I think tells it how to build dynamic libs. I wonder though why setting `LDFLAGS=-sSIDE_MODULE=1` doesn't fix it. Maybe...
One test: build the wheel however, build the .so files separately then `python -m wheel unpack` the wheel, replace the .so files with the ones you built separately, then use...