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
memory policy warning in fits with numpy 1.22.0.dev #12324
RuntimeWarning: Trying to dealloc data, but a memory policy is not set. If you take ownership of the data, you must set a base owning the data (e.g. a PyCapsule).
This appears in astropy/io/fits/tests/test_image.py
Activity
saimn commentedon Oct 29, 2021
https://github.com/numpy/numpy/pull/17582/files#diff-608dd88c0fc35fe08bd7e76d89e04de7c1b65d54d82dc5f0bac8dbb7eb218abbR505-R507
nstarman commentedon Oct 29, 2021
Great, thanks @saimn.
I don't think I have time today to fix this, so if anyone wants a go, that would be great!
pllim commentedon Oct 30, 2021
This is a symptom of a larger problem? Should we open a follow-up issue to un-ignore in the future and fix the real cause?
[-]memory policy warning in fits failing all PRs[/-][+]memory policy warning in fits with 1.22.0.dev[/+]saimn commentedon Nov 2, 2021
Yes, this is clearly something we should look at and try to fix.
[-]memory policy warning in fits with 1.22.0.dev[/-][+]memory policy warning in fits with numpy 1.22.0.dev[/+]Fix memory policy warnings
Fix memory policy warnings
Fix memory policy warnings
Fix memory policy warnings
Fix memory policy warnings
Fix memory policy warnings
Fix memory policy warnings