icecube / pisa

Monte Carlo-based data analysis
http://icecube.github.io/pisa/
Apache License 2.0
18 stars 47 forks source link

Get rid of deprecated numpy members. #739

Closed LeanderFischer closed 1 year ago

LeanderFischer commented 1 year ago

Attempting to fix unit tests.

LeanderFischer commented 1 year ago

do we then need to bump the numpy version requirement, or is it backwards compatible?

np.bool was always just an alias for python built-in bool etc. so this should be backwards compatible afaik.

See https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations for more details.

LeanderFischer commented 1 year ago

Same holds for np.typeDict and np.sctypeDict, so that should be fine.