[x] The PR title is formatted as: <Module or Topic>: <Action> <Summary> (see contributing guidelines)
Merge PR #4102 first!
This PR fixes deprecations warnings raised while testing silx with numpy 2 for PR #4082 (some of the deprecation warnings were also raised by numpy 1.26):
numpy.trapz renamed to trapezoid
numpy.cross no longer supports 2d-vector input
No longer possible to convert an array to a scalar (e.g., float(np.array([0])))
Closes #4097
@kif, @pierrepaleo please cautiously check the change in sift/alignment.
Checklist:
<Module or Topic>: <Action> <Summary>
(see contributing guidelines)Merge PR #4102 first!This PR fixes deprecations warnings raised while testing silx with numpy 2 for PR #4082 (some of the deprecation warnings were also raised by numpy 1.26):
float(np.array([0]))
)Closes #4097
@kif, @pierrepaleo please cautiously check the change in sift/alignment.