brightway-lca / brightway2-io

Importing and exporting for the Brightway LCA framework
BSD 3-Clause "New" or "Revised" License
26 stars 40 forks source link

express union compatible py3.8 #199

Closed astudillo20lca closed 1 year ago

astudillo20lca commented 1 year ago

This pull request is associated with this issue https://github.com/brightway-lca/brightway2-io/issues/198

Union is expressed using syntactic sugar of python 3.10, I agree it looks nicer, but then it forces users to use python 3.10, while sometimes we have to work on environments with older versions of python.

I would rather use new features of newer python versions when really needed.

cmutel commented 1 year ago

@astudillo20lca Thanks for noticing this and finding a quick solution.

cmutel commented 1 year ago

Released as 0.9.dev18 on both pypi and anaconda.