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

numpy 2.0 compatibility np.unicode_ #99

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Conversation

MatthewFlamm
Copy link
Contributor

I also assume that the check for python 2.0 is no longer needed since setup.py requires python >= 3.8.

See https://numpy.org/devdocs/numpy_2_0_migration_guide.html#main-namespace

Closes #98

@kthyng kthyng merged commit 6b086e0 into matplotlib:main Jan 22, 2024
11 checks passed
@kthyng
Copy link
Contributor

kthyng commented Jan 22, 2024

@MatthewFlamm Thank you!!

@kthyng
Copy link
Contributor

kthyng commented Jan 23, 2024

This change is now available in the newest version of cmocean on PyPI (v3.1.3) and should shortly be available on conda-forge too. Thanks again.

@kthyng kthyng mentioned this pull request Jan 23, 2024
@MatthewFlamm
Copy link
Contributor Author

Thanks for quickly releasing!

@kthyng
Copy link
Contributor

kthyng commented Jul 5, 2024

Can I just state again how great this was for you to do? I just hit this myself in my own older version of cmocean and realized you had already fixed it as I was going in to do it myself and couldn't get another version of my code to hit the error because I already had your fix in it. Thanks again!

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.

numpy v2.0 compatibility
2 participants