Your message dated Sun, 9 Feb 2025 13:51:33 +0100
with message-id <89cba372-3b37-4ca2-87c2-160ec9ec7...@debian.org>
and subject line Closing invalid bug
has caused the Debian Bug report #1095233,
regarding casacore-data-tai-utc: incompatible with numpy version currently in
sid
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1095233: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095233
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
The problem is not caused by the package itself but by the transitioning
process of numpy where temporarily some packages are already rebuilt for
numpy2 but others are not. The package itself is not part of the
transition. Once the transition is completed, the package will work
again (it should already, as the casacore packages were rebuilt).
There is nthing to be done here, therefore closing.
--- End Message ---