Closed ryanking13 closed 1 year ago
Maybe it would be better to rename _hashlib
to hashlib
and avoid leading underscore ? I mean if it's an invalid package name we should not use it.
Also it looks like we have no tests in Pyodide for unvendored stlib loading? It's not the first time that one of them doesn't load.
Maybe it would be better to rename
_hashlib
tohashlib
and avoid leading underscore ? I mean if it's an invalid package name we should not use it.
Okay, I'll try that instead.
Also it looks like we have no tests in Pyodide for unvendored stlib loading? It's not the first time that one of them doesn't load.
Right, good point...
Closing as we changed the name of _hashlib: https://github.com/pyodide/pyodide/pull/3349
micropip.install("_hashlib")
was failing with:as it is not a valid package name. But we actually want to install it as it is unvendored stdlib.