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

Replace deprecated numpy dtypes np.bool and np.int #362

Merged
merged 3 commits into from
Apr 24, 2022
Merged

Conversation

santisoler
Copy link
Member

Description

Numpy dtypes like np.bool and np.int have been deprecated since Numpy v1.2.0 in favor of using
builtin bool or int, or even np.int64 and np.int32 which explicitly
sets their precision.

See https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated
for a list of deprecated data types.

@leouieda
Copy link
Member

Failing because pytest dropped 3.6... Let's get rid of it too and then merge this.

@leouieda leouieda added this to the 1.8.0 milestone Apr 24, 2022
@leouieda leouieda merged commit 31dd32c into main Apr 24, 2022
@leouieda leouieda deleted the numpy-dtypes branch April 24, 2022 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants