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

Improve bitmask compatibility with numpy 1.21 #136

Merged
merged 2 commits into from Aug 11, 2021

Conversation

mcara
Copy link
Member

@mcara mcara commented Aug 11, 2021

Currently numpy 1.21.1 raises an exception (should have been a deprecation warning) when running bitmask code due to the following change: https://numpy.org/doc/stable/release/1.21.0-notes.html#changes-to-dtype-and-signature-arguments-in-ufuncs. This PR improves compatibility with numpy>=1.21.0.

Also see numpy/numpy#19625

This PR improves compatibility with numpy 1.21.*

@mcara mcara requested review from nden and pllim August 11, 2021 15:58
@mcara mcara self-assigned this Aug 11, 2021
Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This same patch has been approved over at astropy, so should be uncontroversial enough.

@pllim
Copy link
Contributor

pllim commented Aug 11, 2021

Interesting how you decided not to need change log at astropy but the opposite here. 😉

@pllim pllim merged commit 39c4793 into spacetelescope:master Aug 11, 2021
@pllim pllim mentioned this pull request Aug 11, 2021
@nden nden added this to the 4.0 milestone Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants