yt-project / unyt

Handle, manipulate, and convert data with units in Python
https://unyt.readthedocs.io
BSD 3-Clause "New" or "Revised" License
364 stars 49 forks source link

3 new wrappable functions (NEP 18) #427

Closed neutrinoceros closed 1 year ago

neutrinoceros commented 1 year ago

Description

bleeding-edge CI is currently failing because numpy has 3 new wrappable functions

The first two are probably good left unwrapped, but np.safe_eval isn't documented yet (probably new in numpy dev). I'll dig further in later.

neutrinoceros commented 1 year ago

actually I see now that all three functions were recently marked as deprecated in numpy dev. I assume they are now detected as wrappable as a side effect of this change. The immediate fix is just to ignore them, but long term it would be better to automatically filter out deprecated functions assuming it's possible.