Bug#1123097: asammdf: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13

Gianfranco Costamagna locutusofborg at debian.org
Wed Dec 24 09:44:27 GMT 2025


Hello Colin, thanks for the explanation and report!

Ideally, PYQTGRAPH_QT_LIB can be exported just to make sure the right backend is used.

However I'm adding the new runtime dependency, to fix tests and reverse-dependencies.

In the future I think upstream will drop qt5 and pyside2, simplifying a lot the dependencies needed.

G.






Il sabato 20 dicembre 2025 alle ore 22:10:18 CET, Colin Watson <cjwatson at debian.org> ha scritto: 





Control: reassign -1 python3-pyqtgraph 0.14.0-1
Control: affects -1 src:asammdf

On Tue, Dec 16, 2025 at 07:42:08PM +0000, Santiago Vila wrote:
>Package: src:asammdf
>Version: 8.5.2-2
>Severity: serious
>Tags: ftbfs forky sid
>
>Dear maintainer:
>
>During a rebuild of all packages in unstable, this package failed to build.
[...]
>test/asammdf/gui/test_base.py:26: in <module>
>    import pyqtgraph
>/usr/lib/python3/dist-packages/pyqtgraph/__init__.py:144: in <module>
>    from .graphicsItems.ColorBarItem import *
>/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ColorBarItem.py:10: in <module>
>    from .PlotItem import PlotItem
>/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotItem/__init__.py:1: in <module>
>    from .PlotItem import PlotItem
>/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py:20: in <module>
>    from ..LegendItem import LegendItem
>/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/LegendItem.py:11: in <module>
>    from .PlotDataItem import PlotDataItem
>/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotDataItem.py:14: in <module>
>    from .PlotCurveItem import PlotCurveItem
>/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotCurveItem.py:13: in <module>
>    from ..Qt import OpenGLHelpers
>/usr/lib/python3/dist-packages/pyqtgraph/Qt/OpenGLHelpers.py:13: in <module>
>    QtOpenGL = importlib.import_module(f'{QT_LIB}.QtOpenGL')
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/usr/lib/python3.13/importlib/__init__.py:88: in import_module
>    return _bootstrap._gcd_import(name[level:], package, level)
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>E  ModuleNotFoundError: No module named 'PySide6.QtOpenGL'

I traced through this import stack, and pyqtgraph seems to want QtOpenGL 
and QtOpenGLWidgets essentially unconditionally (new as of 0.14.0-1), so 
there seems a decent argument that it should be in Depends.  The 
complication is that which exact packages are needed depends on the 
Python Qt bindings you're using, of which pyqtgraph supports several.

Should asammdf just deal with this with a new Build-Depends (if so, 
please reassign back to src:asammdf), or should something change in 
pyqtgraph?  I don't know this area well enough to make a judgement call.

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson at debian.org]



More information about the debian-science-maintainers mailing list