community/py3-scipy: rebuild against numpy 2
Current scipy in alpine is still built against numpy1:
$ python3 -c "import scipy.cluster.hierarchy"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.12/site-packages/scipy/cluster/__init__.py", line 27, in <module>
from . import vq, hierarchy
File "/usr/lib/python3.12/site-packages/scipy/cluster/vq.py", line 74, in <module>
from scipy.spatial.distance import cdist
File "/usr/lib/python3.12/site-packages/scipy/spatial/__init__.py", line 110, in <module>
from ._kdtree import *
File "/usr/lib/python3.12/site-packages/scipy/spatial/_kdtree.py", line 4, in <module>
from ._ckdtree import cKDTree, cKDTreeNode
File "_ckdtree.pyx", line 1, in init scipy.spatial._ckdtree
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Rebuilding scipy with current py3-numpy (i.e. numpy 2) fixes this error.