activity-browser icon indicating copy to clipboard operation
activity-browser copied to clipboard

Add ecoinvent 3.10 support

Open marc-vdm opened this issue 1 year ago • 1 comments

Feature request

ecoinvent 3.10 can be imported through Brightway with bw2io=0.8.12 and seen in AB: https://github.com/brightway-lca/brightway2-io/issues/234

  • [x] Wait for bw2io=0.8.12 availability in conda.
  • [ ] Investigate if AB works with bw2io=0.8.12 or what we'd need to change to make it work.
    • change numpy >=1.23.5 to just numpy
    • change brightway2 =2.4.4 to brightway2 =2.4.5
    • A brightway2=2.4.5 environment with AB currently not be installed due to conflicts between bw2io=0.8.12 and AB dependencies (see also below)
  • [ ] likely: update importer code to be compatible with bw2io=0.8.12 as downloader was completely changed (see e.g. here).
  • [ ] Edit the biosphere installer/updater code such that it only tries patches up to 3.9, as 3.10 patch doesn't exist.

note:

Tried installing brightway2=2.4.5 environment with AB with:

conda create -n ab_ei310 -c conda-forge activity-browser=2.9.3=pyhd8ed1ab_1 -y
conda activate ab_ei310
conda install --force-reinstall brightway2=2.4.5=pyhd8ed1ab_1 bw2io=0.8.12 -y

This env cannot solve with the following conflicts: conflicts.txt

marc-vdm avatar Dec 07 '23 09:12 marc-vdm

Update:

Received from colleague:

I just tested bw2/25 with ab and ei3.10. All working except ab with bw25 ei310. Maybe it's because of the db specific biosphere naming conventions

Also bd.projects.report() is maybe a problem for ab, if it's called. but that's easy to fix.

Look there: https://github.com/Stew-McD/brightway-scripts/tree/main/testing%2Ftest-ab-with-310andbw2

marc-vdm avatar Jan 17 '24 06:01 marc-vdm

[!NOTE] This issue has been implemented in the new release of Activity Browser 🚀 (version 2.10.0), you can get the new version by updating Activity Browser.

Do you want to be notified of new releases of Activity Browser? Subscribe to our updates mailing list ✉.

🤖 beep boop! I'm a bot and this message was an automated action. If updating does not make sense for this issue, just ignore this.

github-actions[bot] avatar Jun 28 '24 08:06 github-actions[bot]