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

MAINT: fixes for numpy 2 #81

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Conversation

andyfaff
Copy link
Contributor

@andyfaff andyfaff commented May 1, 2024

numpy version 2, which is in release candidate stage, has removed np.NaN as an alias to np.nan. Only np.nan is usable with numpy==2.
This PR removes the usage of np.NaN in the package. These issues were picked up during testing of a third party package, there may be other issues lurking for numpy 2 compatibility.

Would it be possible to release a new version to PyPI when/if this PR is merged?

@bmaranville
Copy link
Collaborator

Ah, sorry - my most recent PR is a dupe of this. Closing mine...

@bmaranville
Copy link
Collaborator

Any chance of pushing this change out as a quick bugfix release, before the larger release in the wings?

@pkienzle pkienzle merged commit 8123cd5 into python-periodictable:master Jul 8, 2024
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.

3 participants