-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
numpy.alen()
called by numpy_func
, but alen()
is deprecated
#1532
Comments
alen()
is deprecated
alen()
is deprecatednumpy.alen()
called by numpy_func
, but alen()
is deprecated
Would definitely appreciate an update here! This is breaking our production pipelines. |
@wenx-z can you describe the error you encounter ? |
|
well, that makes sense to me: Feel free to send in a PR, @wenx-z (no pressure, though). |
pint/pint/facets/numpy/numpy_func.py
Line 897 in 37a61ed
In the latest pre-release of NumPy (https://github.com/numpy/numpy/releases/tag/v1.23.0rc2),
alen
has been removed due to its deprecation expiring. Pint'snumpy_func
is still callingalen
here.NumPy 1.18.0 release notes indicate that
len
should be used instead.The text was updated successfully, but these errors were encountered: