-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
TST: Add dev numpy to devdeps, fix compat with numpy 1.24 #153
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_invalid
consistent withmask_where
ifcopy
is set toFalse
numpy/numpy#22046masked_invalid
change. numpy/numpy#22406