You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TST: astropy.units' tests fail against numpy 2.0 dev #15690
I'm not currently able to tackle this problem as easily as I'd like because of another issue: it seems that nightly wheels for macOS are lagging behind, so this doesn't reproduce trivial on my machine. However I should be able to build numpy from source and provide a fix later today.
quick note that astropy.units.tests.test_quantity_non_ufuncs.CoverageMeta just grew some blindspots, as it is currently not able to distinguish np.linalg.outer from np.outer. I'll probably need to fix that as well to pass CI.
edit: turns out this can be dealt with separately, so I opened another issue for it: #15692
Activity
neutrinoceros commentedon Dec 7, 2023
Ok here's my script to reproduce this locally even without pre-built binaries
pllim commentedon Dec 7, 2023
neutrinoceros commentedon Dec 7, 2023
yes it is. I'm working on adding the missing code in
astropy.unitsneutrinoceros commentedon Dec 7, 2023
quick note that
astropy.units.tests.test_quantity_non_ufuncs.CoverageMetajust grew some blindspots, as it is currently not able to distinguishnp.linalg.outerfromnp.outer. I'll probably need to fix that as well to pass CI.edit: turns out this can be dealt with separately, so I opened another issue for it: #15692
pllim commentedon Dec 7, 2023
@mhvk can advise here regarding
unitshook intonumpyinternals.neutrinoceros commentedon Dec 7, 2023
Good to know ! Although I do have some experience in that area since I did the equivalent job in
unyt:)