mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
207 stars 122 forks source link

UnPin SciPy #37605

Open sf1919 opened 6 days ago

sf1919 commented 6 days ago

Describe the outcome that is desired. Unpin SciPy.

Describe any solutions you are considering We have had to pin SciPy due to deprecations that affect the release of v6.10. Namely

10:14:54 RuntimeError: `interp2d` has been removed in SciPy 1.14.0.
10:14:54 
10:14:54 For legacy code, nearly bug-for-bug compatible replacements are
10:14:54 `RectBivariateSpline` on regular grids, and `bisplrep`/`bisplev` for
10:14:54 scattered 2D data.
10:14:54 
10:14:54 In new code, for regular grids use `RegularGridInterpolator` instead.
10:14:54 For scattered data, prefer `LinearNDInterpolator` or
10:14:54 `CloughTocher2DInterpolator`.
10:14:54 
10:14:54 For more details see
10:14:54 https://scipy.github.io/devdocs/tutorial/interpolate/interp_transition_guide.html

in the NMoldyn4InterpolationTest .

It would also be worth looking at what will be deprecated in future versions of SciPy and fixing those as part of this PR too.

Useful links https://docs.scipy.org/doc/scipy/release/1.12.0-notes.html#deprecated-features https://docs.scipy.org/doc/scipy/release/1.13.0-notes.html#deprecated-features https://docs.scipy.org/doc/scipy/release/1.14.0-notes.html#deprecated-features