brightway-lca / brightway-live

🖥️🌿 Browser-based JupyterHub for Brightway (built on WASM, either based on emscripten-forge or on Pyodide)
https://live.brightway.dev
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

`bw2io`, `bw2data`, `bw2calc`, WASM Compatibility Issues (2024) #57

Closed michaelweinold closed 3 months ago

michaelweinold commented 4 months ago

Compatibility Matrix

package compatibility
bw2calc
bw2data rapidfuzz
pyecospold (as a bw2io dependency) lxml

bw2io

await micropip.install('bw2io==0.9.dev30', keep_going = True)
ValueError: Can't find a pure Python 3 wheel for: 'lxml==4.9.3', 'rapidfuzz', 'lxml==4.9.3'
  1. rapidfuzz has C extensions. I could add it to Pyodide and emscripten-forge, but this would take some time 😴 It is unclear if the package would make it into a mainstream Pyodide release before september. Alternatives to this package?

pyecospold

  1. Pyodide currently comes with lxml==5.2.0. @cmutel, can we remove the pin on lxml?
michaelweinold commented 3 months ago
michaelweinold commented 3 months ago

@cmutel, all I need now is a release of the relevant Brightway packages (just bw2data, I think) 😇