Bug#1118744: missing python3-numpy build dependency
Adrian Bunk
bunk at debian.org
Mon Nov 10 19:51:59 GMT 2025
On Fri, Oct 24, 2025 at 08:21:34PM +0200, Matthias Klose wrote:
> Package: src:opencv
> Version: 4.10.0+dfsg-6
> Severity: serious
> Tags: sid forky ftbfs
>
> Seen that in an Ubuntu build, not yet sure why it doesn't ftbfs in Debian.
>
> -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.13.9",
> minimum required is "3.2")
> -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.13.so (found
> suitable exact version "3.13.9")
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> import numpy; print(numpy.get_include())
> ^^^^^^^^^^^^
> ModuleNotFoundError: No module named 'numpy'
>
> and indeed, there is no explicit b-d on python3-numpy, while you add one as
> a dependency explicitly. Please also add it as a build dependency.
Is there a good reason why python3-numpy-dev only recommends
python3-numpy?
It feels wrong that the build dependency on dh-sequence-numpy3 does not
pull in python3-numpy.
cu
Adrian
More information about the debian-science-maintainers
mailing list