brightway-lca / brightway2-data

Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.
https://docs.brightway.dev/
BSD 3-Clause "New" or "Revised" License
8 stars 21 forks source link

Fix legacy version #123

Closed BenPortner closed 1 year ago

BenPortner commented 1 year ago

Problems

1) Tests in tests.parameters are failing for the current bwdata 3.6.5 (bw2 legacy branch). This is because the naming convention of automatically created parameters changed to include a hash. 2) Current installs via pip are failing due to the numpy.bool deprecation problem 3) The azure pipeline definitions are outdated (system images do not exist anymore)

Solutions

1) Add the hashes to the names (cherry picked from commit 406d00187b43085a392ef8a308a7809a9a56d22c by @dgdekoning) 2) Replace numpy types bool, float32 and int32 by natives bool, float and int 3) Update pipeline yml