last known successful run: (2025-03-10)
https://github.com/astropy/astropy/actions/runs/22887215041
first known failed run:
https://github.com/astropy/astropy/actions/runs/22936876056
The problem manifests as a build error in astropy/stats/_stats.c
2026-03-11T04:34:14.2684397Z astropy/stats/_stats.c: In function ‘__Pyx_Get_FusedFunction_Type’:
2026-03-11T04:34:14.2790053Z astropy/stats/_stats.c:36115:15: error: passing argument 1 of ‘Py_INCREF’ from incompatible pointer type [-Wincompatible-pointer-types]
2026-03-11T04:34:14.2791068Z 36115 | Py_INCREF(tp);
2026-03-11T04:34:14.2791409Z | ^~
2026-03-11T04:34:14.2791708Z | |
2026-03-11T04:34:14.2792128Z | PyTypeObject * {aka struct _typeobject *}
2026-03-11T04:34:14.2792829Z In file included from /opt/_internal/cpython-3.11.14/include/python3.11/Python.h:44,
2026-03-11T04:34:14.2793504Z from astropy/stats/_stats.c:55:
2026-03-11T04:34:14.2795062Z /opt/_internal/cpython-3.11.14/include/python3.11/object.h:491:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyTypeObject *’ {aka ‘struct _typeobject *’}
2026-03-11T04:34:14.2796155Z 491 | static inline void Py_INCREF(PyObject *op)
2026-03-11T04:34:14.2796631Z | ~~~~~~~~~~^~
2026-03-11T04:34:14.7250956Z error: command '/opt/rh/gcc-toolset-14/root/usr/bin/gcc' failed with exit code 1
2026-03-11T04:34:15.1055732Z
2026-03-11T04:34:15.1056313Z ERROR Backend subprocess exited when trying to invoke build_wheel
the actual source, astropy/stats/_stats.pyx, hasn't be updated for several months, so clearly something else changed in the build env.
I would normally suspect code generation (Cython) first, but the timing is off: their latest release was in february. Instead, the most likely culprit could be numpy 2.4.3, released on 2025-03-09.
last known successful run: (2025-03-10)
https://github.com/astropy/astropy/actions/runs/22887215041
first known failed run:
https://github.com/astropy/astropy/actions/runs/22936876056
The problem manifests as a build error in
astropy/stats/_stats.cthe actual source,
astropy/stats/_stats.pyx, hasn't be updated for several months, so clearly something else changed in the build env.I would normally suspect code generation (Cython) first, but the timing is off: their latest release was in february. Instead, the most likely culprit could be numpy 2.4.3, released on 2025-03-09.