Skip to content
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

ENH: stop using deprecated np.int #4125

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

neutrinoceros
Copy link
Member

PR Summary

Found these while working on pytest-mpl tests

DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information

@neutrinoceros neutrinoceros added the enhancement Making something better label Sep 14, 2022
@neutrinoceros neutrinoceros added this to the 4.1.0 milestone Sep 14, 2022
@matthewturk matthewturk merged commit b49dc8b into yt-project:main Sep 14, 2022
@neutrinoceros neutrinoceros deleted the fix_numpy_depr branch September 14, 2022 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making something better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants