TST: Add dev numpy to devdeps, fix compat with numpy 1.24#153
TST: Add dev numpy to devdeps, fix compat with numpy 1.24#153pllim wants to merge 1 commit intoastropy:mainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## main #153 +/- ##
==========================================
- Coverage 75.77% 75.32% -0.46%
==========================================
Files 9 9
Lines 706 697 -9
==========================================
- Hits 535 525 -10
- Misses 171 172 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Hmm. Maybe #151 isn't the correct solution after all. |
|
Hi @pllim, after some local testing, I think the best solution would be to drop This usage of |
|
If you want to change mask logic, it is up to you as I am not familiar with the algorithms here. I just did track down why numpy dev is giving error and it might or might not be upstream bug. I am going to ask numpy people (see numpy/numpy#22720). |
BUG: Compat with numpy 1.24.0rc1
|
As for the coverage, it will fix itself when numpy is released and your coverage job picks it up. Obviously it is covered because tests fail with dev numpy. |
|
Maybe we can merge by the end of the week if numpy makes it clear that they have no intention of backing out this behavior. |
|
The other PR should probably still integrate the changes you made to |
This might smoke out the error that #151 is trying to fix.
I also see this error in https://github.com/astropy/astropy-integration-testing/actions/runs/3604333353/jobs/6073585087
Possible suspects:
mask_invalidconsistent withmask_whereifcopyis set toFalsenumpy/numpy#22046masked_invalidchange. numpy/numpy#22406