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

Remove use of deprecated numpy aliases of builtin types #308

Conversation

oliverholworthy
Copy link
Member

Numpy aliases for builtin types (e.g. np.str) were deprecated in 1.20 and have started raising AttributeError's in more recent versions.

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

This PR replaces the usage with the equivalent builtin type

@oliverholworthy oliverholworthy self-assigned this May 2, 2023
@oliverholworthy oliverholworthy added the chore Maintenance for the repository label May 2, 2023
@github-actions
Copy link

github-actions bot commented May 2, 2023

Documentation preview

https://nvidia-merlin.github.io/core/review/pr-308

@oliverholworthy oliverholworthy force-pushed the remove-numpy-builtins-alias branch from 33582ba to b2d8db6 Compare May 2, 2023 18:24
@oliverholworthy oliverholworthy force-pushed the remove-numpy-builtins-alias branch from b2d8db6 to 2da6b68 Compare May 2, 2023 18:25
@oliverholworthy oliverholworthy merged commit 066d362 into NVIDIA-Merlin:main May 2, 2023
@oliverholworthy oliverholworthy deleted the remove-numpy-builtins-alias branch May 2, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance for the repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants