Closed hpc-dave closed 3 months ago
Thanks for the bug report. Would you be willing to submit a PR with your fix?
Sure! I looked a bit more into it and figured out that a better, yet still not so nice fix means to import from scipy.optimize._nonlin
instead. The file still exists, however I do not know for how long. It might be worthwhile to consider a more durable alternative.
I submitted PR #2923
Hi, did you work out how to solve this problem? I still cannot use the import porespy as ps.
I don't think that is related to this issue. Importing porespy works for me with numpy 2.0.0 Maybe you can open another issue in the porespy repository (https://github.com/PMEAL/porespy/issues) and explain your problem in more details there!
Description With the update to scipy 1.14, the Termination condition is in scipy.optimize.linalg is removed. Subsequently, import of _reactive_transport.py fails, leading to a failure of importing openpnm as is
Reproduction Steps to reproduce the behavior, ideally a code snippet that only reproduces the bug:
Expected behavior Should import without error
Quick fix A quick fix for compatibility could be as follows: