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

diff USE_NUMPY imports numpy.ma #676

Merged
merged 1 commit into from
Sep 9, 2024
Merged

diff USE_NUMPY imports numpy.ma #676

merged 1 commit into from
Sep 9, 2024

Conversation

mmckerns
Copy link
Member

@mmckerns mmckerns commented Sep 9, 2024

Summary

numpy >= 2.0.0 doesn't import numpy.ma upon import of numpy. As we need MaskedConstant, import numpy.ma. Fixes #667

Checklist

Documentation and Tests

  • Artifacts produced with the main branch work as expected under this PR.

Release Management

  • Added "Fixes #NNN" in the PR body, referencing the issue (#NNN) it closes.
  • Added a comment to issue #NNN, linking back to this PR.

@mmckerns mmckerns added the bugfix label Sep 9, 2024
@mmckerns mmckerns added this to the dill-0.3.9 milestone Sep 9, 2024
@mmckerns mmckerns merged commit b281426 into master Sep 9, 2024
3 of 4 checks passed
@mmckerns mmckerns deleted the numpy_ma branch September 9, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NumPy 2.0.0 test regression: test_diff.py: RecursionError: maximum recursion depth exceeded
1 participant