[Debian-astro-maintainers] Bug#1151804: spectral-cube: FTBFS: ModuleNotFoundError: No module named 'numpy._core._multiarray_umath'
Santiago Vila
sanvila at debian.org
Fri Oct 23 17:28:14 BST 2026
Package: src:spectral-cube
Version: 0.7.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:spectral-cube, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
from . import multiarray
File "/usr/lib/python3/dist-packages/numpy/_core/multiarray.py", line 11, in <module>
from . import _multiarray_umath, overrides
File "/usr/lib/python3/dist-packages/numpy/_core/overrides.py", line 6, in <module>
from numpy._core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy._core._multiarray_umath'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<frozen runpy>", line 201, in _run_module_as_main
File "<frozen runpy>", line 87, in _run_code
File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in <module>
raise SystemExit(_console_main())
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 253, in _console_main
code = _main(prog=_get_prog_name(sys.argv))
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 223, in _main
config = _prepareconfig(new_args, plugins, prog=prog)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 410, in _prepareconfig
config: Config = pluginmanager.hook.pytest_cmdline_parse(
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 124, in pytest_cmdline_parse
config = yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1232, in pytest_cmdline_parse
self.parse(args)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1583, in parse
self.pluginmanager.load_setuptools_entrypoints("pytest11")
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 416, in load_setuptools_entrypoints
plugin = ep.load()
File "/usr/lib/python3.15/importlib/metadata/__init__.py", line 223, in load
module = import_module(self.module)
File "/usr/lib/python3.15/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1390, in _gcd_import
File "<frozen importlib._bootstrap>", line 1350, in _find_and_load
File "<frozen importlib._bootstrap>", line 1309, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 915, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 747, in exec_module
File "<frozen importlib._bootstrap>", line 549, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/pytest_arraydiff/plugin.py", line 39, in <module>
import numpy as np
File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 112, in <module>
from numpy.__config__ import show_config
File "/usr/lib/python3/dist-packages/numpy/__config__.py", line 4, in <module>
from numpy._core._multiarray_umath import (
File "/usr/lib/python3/dist-packages/numpy/_core/__init__.py", line 85, in <module>
raise ImportError(msg) from exc
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
The following compiled module files exist, but seem incompatible
with with either python 'cpython-315' or the platform 'linux':
* _multiarray_umath.cpython-314-x86_64-linux-gnu.so
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python 3.15 from "/usr/bin/python3.15"
* The NumPy version is: "2.4.6"
and make sure that they are the versions you expect.
Please carefully study the information and documentation linked above.
This is unlikely to be a NumPy issue but will be caused by a bad install
or environment on your machine.
Original error was: No module named 'numpy._core._multiarray_umath'
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_spectral-cube/build; python3.15 -m pytest
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spectral-cube/build; python3.14 -m pytest
[...]
More information about the Debian-astro-maintainers
mailing list