[Debian-astro-maintainers] Bug#1094757: pybdsf: FTBFS with numpy 2.x: error: ‘PyArray_FLOAT’ undeclared

Andrey Rakhmatullin wrar at debian.org
Thu Jan 30 19:08:08 GMT 2025


Source: pybdsf
Version: 1.12.0-1
Severity: serious
Tags: ftbfs
Control: block 1082237 by -1

https://buildd.debian.org/status/fetch.php?pkg=pybdsf&arch=amd64&ver=1.12.0-1%2Bb1&stamp=1738252867&raw=0

/build/reproducible-path/pybdsf-1.12.0/natgrid/Src/natgridmodule.c: In function
‘nat_c_natgrids’:
/build/reproducible-path/pybdsf-1.12.0/natgrid/Src/natgridmodule.c:218:93:
error: ‘PyArray_FLOAT’ undeclared (first use in this function); did you mean
‘PyArray_ISFLOAT’?
  218 |     object_out = (PyArrayObject *)PyArray_NewFromDescr(&PyArray_Type,
PyArray_DescrFromType(PyArray_FLOAT), 2, dims, NULL, (char *)out,
NPY_ARRAY_CARRAY, NULL);
      |
^~~~~~~~~~~~~
      |
PyArray_ISFLOAT


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.8-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the Debian-astro-maintainers mailing list