port to numpy 1.24 The nearest bug upstream looks only loosely related as some of the changes of this patch are not present in their changes. This suggests past changes might have occurred to fix deprecation warnings from numpy 1.20 already. Newer upstream version should fix it; this is a targeted change in Debian 12 bookworm freeze window.