[Debian-pan-maintainers] Bug#1079679: xraylarch: tests fail with scipy 1.14

Drew Parsons dparsons at debian.org
Mon Aug 26 09:08:39 BST 2024


Source: xraylarch
Version: 0.9.74+ds1-1
Severity: normal

xraylarch is failing tests with scipy 1.14 (from experimental)
due to API changes

273s _______________ ERROR collecting tests/test_symbol_callbacks.py ________________
273s ImportError while importing test module '/tmp/autopkgtest-lxc.7pibnfqy/downtmp/autopkgtest_tmp/tests/test_symbol_callbacks.py'.
273s Hint: make sure your test modules/packages have valid Python names.
273s Traceback:
273s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
273s     return _bootstrap._gcd_import(name[level:], package, level)
273s tests/test_symbol_callbacks.py:2: in <module>
273s     linp = Interpreter()
273s /usr/lib/python3/dist-packages/larch/interpreter.py:126: in __init__
273s     from larch import builtins
273s /usr/lib/python3/dist-packages/larch/builtins.py:22: in <module>
273s     from . import wxlib
273s /usr/lib/python3/dist-packages/larch/wxlib/__init__.py:68: in <module>
273s     from .plotter import (_plot, _oplot, _newplot, _plot_text, fileplot,
273s /usr/lib/python3/dist-packages/larch/wxlib/plotter.py:27: in <module>
273s     from .xrfdisplay import XRFDisplayFrame
273s /usr/lib/python3/dist-packages/larch/wxlib/xrfdisplay.py:42: in <module>
273s     from .xrfdisplay_fitpeaks import FitSpectraFrame
273s /usr/lib/python3/dist-packages/larch/wxlib/xrfdisplay_fitpeaks.py:20: in <module>
273s     from peakutils import peak
273s /usr/lib/python3/dist-packages/peakutils/__init__.py:2: in <module>
273s     from .peak import *
273s /usr/lib/python3/dist-packages/peakutils/peak.py:7: in <module>
273s     from scipy.integrate import simps
273s E   ImportError: cannot import name 'simps' from 'scipy.integrate' (/usr/lib/python3/dist-packages/scipy/integrate/__init__.py)


Test log at
https://ci.debian.net/packages/x/xraylarch/unstable/amd64/50978034/



More information about the Debian-pan-maintainers mailing list