brightway-lca / brightway2-parameters

Library for storing, validating, and calculating with parameters
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

`pint` is broken on python 3.13 #11

Open alyabolowich opened 1 month ago

alyabolowich commented 1 month ago

I believe there is an import failure with bw2data in a python 3.13 environment. I tried installing both 4.0.dev59 and 4.0.dev56.

import bw2data as bd returns TypeError: cannot inherit frozen dataclass from a non-frozen one. The error message seems to point to something in Python 3.13.

Downgrading python solved the issue.

cmutel commented 1 month ago

This is a problem in pint. If it continues we will update bw2parameters to make pint optional.