Open hepcat72 opened 1 month ago
Thank you for reporting this, I can reproduce the error locally. It looks like the problem might be with https://github.com/python-quantities/python-quantities. I'll see if I can create a reproducer and report upstream.
I just downgraded numpy
to 1.26.4
(last stable version before 2.x), which fixes our current issue. There are migration notes for numpy 2.x.
Looks like the numpy 2.0.0 release was yesterday.
Yes, I guess that the quantities package isn't as popular as it once was and is now lagging behind. Hopefully the fix will be small.
I opened a PR over at https://github.com/python-quantities/python-quantities/pull/232
@hepcat72 @bjodah, thanks! (our CI in a project depending on chempy also stopped working yesterday)
I just ran into a chempy-related import error when I attempted to add a django migration. The model being migrated has a chempy Substance import and the migrations check on github raises the following exception:
I tried updating to chempy 0.9.0 (from 0.8.3), but it still produces the same exception.