Bug#1139507: iminuit: FTBFS: FAILED tests/test_tabulate.py::test_params - AssertionError
Santiago Vila
sanvila at debian.org
Tue Jun 9 11:29:35 BST 2026
Package: src:iminuit
Version: 2.30.1-3
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/202606/
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:iminuit, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
SKIPPED [1] tests/test_describe.py:252: could not import 'annotated_types': No module named 'annotated_types'
SKIPPED [1] tests/test_draw.py:140: could not import 'ipywidgets': No module named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:228: could not import 'ipywidgets': No module named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:244: could not import 'ipywidgets': No module named 'ipywidgets'
SKIPPED [1] tests/test_minuit.py:1490: could not import 'numba': No module named 'numba'
SKIPPED [1] tests/test_repr.py:347: could not import 'unicodeitplus': No module named 'unicodeitplus'
SKIPPED [1] tests/test_util.py:415: could not import 'numba': No module named 'numba'
SKIPPED [1] tests/test_util.py:441: could not import 'numba': No module named 'numba'
FAILED tests/test_tabulate.py::test_params - AssertionError: assert '\n pos ...
1 failed, 598 passed, 73 skipped in 10.47s
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_iminuit/build; python3.14 -m pytest -W ignore::DeprecationWarning
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iminuit/build; python3.13 -m pytest -W ignore::DeprecationWarning
.....s.............sssssssss...ssss.......ssssssss.sss......ssss.ssss... [ 10%]
.......ss.s.........ssss.ssss.ss.s.....ssssssssss.ss...........s....s... [ 21%]
...................................s...................................s [ 32%]
s..........................sss.......................................... [ 42%]
........................................................................ [ 53%]
......................................................................s. [ 64%]
...........................................................s............ [ 75%]
........................................................................ [ 85%]
.........................................F...............ss............. [ 96%]
...................... [100%]
=================================== FAILURES ===================================
_________________________________ test_params __________________________________
def test_params():
m = Minuit(lambda x, y: x**2 + (y / 2) ** 2 + 1, x=0, y=0)
m.limits["y"] = (-1, 1)
m.fixed["x"] = True
m.migrad()
m.minos()
> assert (
framed(tab.tabulate(*m.params.to_table()))
== """
pos name value error error- error+ limit- limit+ fixed
----- ------ ------- ------- -------- -------- -------- -------- -------
0 x 0 0.1 yes
1 y 0 1.5 -1.0 1.0 -1.0 1.0
"""
)
E AssertionError: assert '\n pos nam...1 1\n' == '\n pos nam....0 1.0\n'
E
E
E - pos name value error error- error+ limit- limit+ fixed
E ? --
E + pos name value error error- error+ limit- limit+ fixed
E ? ++
E ----- ------ ------- ------- -------- -------- -------- -------- -------...
E
E ...Full output truncated (5 lines hidden), use '-vv' to show
tests/test_tabulate.py:17: AssertionError
=========================== short test summary info ============================
SKIPPED [1] tests/test_without_ipywidgets.py:5: could not import 'ipywidgets': No module named 'ipywidgets'
SKIPPED [1] tests/test_without_numba.py:6: could not import 'numba': No module named 'numba'
SKIPPED [1] tests/test_core.py:124: could not import 'numba': No module named 'numba'
SKIPPED [5] tests/test_cost.py:63: could not import 'jacobi': No module named 'jacobi'
SKIPPED [44] tests/test_cost.py:68: could not import 'jacobi': No module named 'jacobi'
SKIPPED [11] tests/test_cost.py:73: could not import 'jacobi': No module named 'jacobi'
SKIPPED [1] tests/test_cost.py:2055: fails in some AWS instances
SKIPPED [1] tests/test_describe.py:229: could not import 'pydantic.types': No module named 'pydantic'
SKIPPED [1] tests/test_describe.py:252: could not import 'annotated_types': No module named 'annotated_types'
SKIPPED [1] tests/test_draw.py:140: could not import 'ipywidgets': No module named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:228: could not import 'ipywidgets': No module named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:244: could not import 'ipywidgets': No module named 'ipywidgets'
SKIPPED [1] tests/test_minuit.py:1490: could not import 'numba': No module named 'numba'
SKIPPED [1] tests/test_repr.py:347: could not import 'unicodeitplus': No module named 'unicodeitplus'
SKIPPED [1] tests/test_util.py:415: could not import 'numba': No module named 'numba'
SKIPPED [1] tests/test_util.py:441: could not import 'numba': No module named 'numba'
FAILED tests/test_tabulate.py::test_params - AssertionError: assert '\n pos ...
1 failed, 598 passed, 73 skipped in 10.49s
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iminuit/build; python3.13 -m pytest -W ignore::DeprecationWarning
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list