-
Notifications
You must be signed in to change notification settings - Fork 29
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
14 test failures for =nptyping-2.5.0
(Name "np.bool8" is not defined
)
#113
Comments
I just ran into a large list of warnings as well. Appears to be a few deprecations in Numpy v1.24:
From what I can gather, numpy's Some enlightening code: >>> import numpy as np
np>>> np.bool
<type 'bool'>
>>> np.bool is bool
True
>>> np.bool_ is bool
False >>> np.ones(2, dtype=bool).dtype
dtype('bool')
>>> np.ones(2, dtype=np.bool_).dtype
dtype('bool') |
nocarryr
added a commit
to nocarryr/lupy
that referenced
this issue
Jun 16, 2024
Importing nptyping with numpy>=2.0.0 now raises exceptions instead of warnings for deprecated dtypes. ramonhagenaars/nptyping#114 ramonhagenaars/nptyping#113 ramonhagenaars/nptyping#102
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full build log: https://ppb.chymera.eu/2facbc.log
Example excerpt of failure:
Any ideas what's wrong here?
Is it a question of
np.bool8
being deprecated in favour ofnp.bool_
?Apparently the package already uses both 🤔:
The text was updated successfully, but these errors were encountered: