Package: casacore-data-tai-utc
Version: 1.3
Severity: grave
Justification: renders package unusable

Dear Maintainer,

numpy on debian sid was recently upgraded to version 2.2.2, but python code in 
the casacore-data-tai-utc package was compiler agains the old numpy version, 
hence its configuration fails with this error:

Creating new table /var/lib/casacore/data/geodetic/TAI_UTC

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "/usr/bin/casacore-update-tai_utc", lin
e 127, in <module>
    with tables.table(args.output_path,
  File "/usr/lib/python3/dist-packages/casacore/tables/table.py", line 352, in _
_init__
    Table.__init__(self, tabname, lockopt, endian,
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/numpy/core/_multiarray_umath.py", line 44
, in __getattr__
    raise ImportError(msg)
ImportError: 
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.


Traceback (most recent call last):
  File "/usr/bin/casacore-update-tai_utc", line 127, in <module>
    with tables.table(args.output_path,
         ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
                      tables.tablecreatedesc(columns),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      len(data)) as tbl:
                      ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/casacore/tables/table.py", line 352, in _
_init__
    Table.__init__(self, tabname, lockopt, endian,
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                   memtype, nrow, tabledesc, dminfo)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: PycArray: failed to load the numpy API


Please recompile it to use numpy >2.0, to solve this.

Thanks in advance, best regards
Giacomo Mulas


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

Kernel: Linux 6.12.12-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.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

Versions of packages casacore-data-tai-utc depends on:
ii  python3           3.13.1-2
ii  python3-casacore  3.5.2-1+b8
ii  tzdata            2025a-2

casacore-data-tai-utc recommends no packages.

casacore-data-tai-utc suggests no packages.

-- no debconf information

Reply via email to