Closed michaelweinold closed 6 months ago
As suggested by @cmutel, moving to fsspec would solve two issues with fs (pyfilesystem):
fsspec
fs
Code of the sort if not _WINDOWS_PLATFORM: import grp causes an error in WASM (Pyodide/JupyterLite-XEUS):
if not _WINDOWS_PLATFORM: import grp
Note that this was patched in the current https://live.brightway.dev release:
import micropip await micropip.install( 'https://files.brightway.dev/fs-2.5.1-py2.py3-none-any.whl' )
Still, it would be great to move to fsspec, which is supported by both Pyodide and emscipten-forge (via the pure Python channel).
This would close:
@michaelweinold Told you this was a dirty hack 😛
Fixed in #66
Noice! 🎉 Will remove the custom patch with the next bw_procesing release!
bw_procesing
As suggested by @cmutel, moving to
fsspec
would solve two issues withfs
(pyfilesystem):Code of the sort
if not _WINDOWS_PLATFORM: import grp
causes an error in WASM (Pyodide/JupyterLite-XEUS):Note that this was patched in the current https://live.brightway.dev release:
Still, it would be great to move to
fsspec
, which is supported by both Pyodide and emscipten-forge (via the pure Python channel).This would close: