duetosymmetry / qnm

Python package for computing Kerr quasinormal mode frequencies, separation constants, and spherical-spheroidal mixing coefficients
https://qnm.readthedocs.io
MIT License
39 stars 19 forks source link

DeprecationWarning: Please import `OptimizeResult` from the `scipy.optimize` #29

Open raffienficiaud opened 3 months ago

raffienficiaud commented 3 months ago

When importing the qnm module, a warning is fired by scipy:

lib/python3.11/site-packages/qnm/schwarzschild/tabulated.py:169: DeprecationWarning: Please import `OptimizeResult` from the `scipy.optimize` namespace; the `scipy.optimize.optimize` namespace is deprecated and will be removed in SciPy 2.0.0.

The version of the package I use: 0.4.3