You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to give you a heads up that in NumPy 2.0 that import will break. Because we'll have support for the array API standard in the main numpy namespace, the numpy.array_api submodule is being removed (see numpy/numpy#25911).
Hi, I noticed through code search that there are a few comments in this repo that reference
numpy.array_api
and (more importantly) one import:cubed/cubed/array_api/data_type_functions.py
Line 4 in 76ea07e
I wanted to give you a heads up that in NumPy 2.0 that import will break. Because we'll have support for the array API standard in the main
numpy
namespace, thenumpy.array_api
submodule is being removed (see numpy/numpy#25911).For testing purposes, https://github.com/data-apis/array-api-strict can be used. The
Dtype
type annotation you're using is probably best vendored: https://github.com/numpy/numpy/blob/maintenance/1.26.x/numpy/array_api/_typing.py#L55-L66The text was updated successfully, but these errors were encountered: