micropip
micropip copied to clipboard
installing wheel fails if shared libraries have common dependencies
I have multiple cython extensions, all of which use a common library module.
This installs fine with pyodide.loadPackage
, but in micropip it doesn't work.
There's an underlying bug in emscripten https://github.com/emscripten-core/emscripten/issues/20203 which is causing this, as if multiple libraries which are imported as local depend on the same common dependencies, the second and following imports don't bring any symbols into the local namespace. Until that fix is in, it would be nice for it to work in micropip the same way it does in pyodide.loadPackage
, which is to detect dependency libraries and make them globally imported.