[Debian-pan-maintainers] Bug#1151471: datalab: FTBFS: E KeyError: 'amp'

Santiago Vila sanvila at debian.org
Tue Oct 20 20:56:52 BST 2026


Package: src:datalab
Version: 1.1.0-5
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:datalab, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
        # Get initial parameter estimates from Sigima GaussianFitComputer
        computer = fitting.GaussianFitComputer(x, y)
        initial_params = computer.compute_initial_params()
>       amp_guess = initial_params["amp"]
                    ^^^^^^^^^^^^^^^^^^^^^
E       KeyError: 'amp'

datalab/widgets/fitdialog.py:124: KeyError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/fastapi/testclient.py:1
  /usr/lib/python3/dist-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.
    from starlette.testclient import TestClient as TestClient  # noqa

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================= slowest 20 durations =============================
40.28s call     datalab/tests/features/control/remoteclient_app_test.py::test_remote_client
35.59s call     datalab/tests/scenarios/scenario_ima1_app_test.py::test_scenario_image
19.25s call     datalab/tests/scenarios/scenario_sig1_app_test.py::test_scenario_signal1
16.65s call     datalab/tests/scenarios/scenario_ima2_app_test.py::test_scenario_image2
9.54s call     datalab/tests/scenarios/scenario_sig2_app_test.py::test_scenario_signal2
8.47s call     datalab/tests/features/hdf5/h5importer_app_test.py::test_h5importer_app
7.07s call     datalab/tests/features/image/blobs_app_test.py::test_blobs
6.93s call     datalab/tests/features/common/io_app_test.py::test_io_app
6.41s call     datalab/tests/features/control/simpleclient_unit_test.py::test_with_real_server
6.18s call     datalab/tests/features/common/misc_app_test.py::test_misc_app
5.49s call     datalab/tests/features/utilities/logview_app_test.py::test_logviewer_app
5.48s call     datalab/tests/features/control/call_method_unit_test.py::test_call_method
4.34s call     datalab/tests/features/common/operation_modes_app_test.py::test_single_operand_mode_compute_n_to_1
4.32s call     datalab/tests/features/common/operation_modes_app_test.py::test_pairwise_operations_mode_compute_n_to_1
4.32s call     datalab/tests/features/common/operation_modes_app_test.py::test_single_operand_mode_compute_2_to_1
4.24s call     datalab/tests/features/common/operation_modes_app_test.py::test_pairwise_operations_mode_compute_2_to_1
4.09s call     datalab/tests/features/applauncher/launcher2_app_test.py::test_launcher2
4.02s call     datalab/tests/features/image/contour_app_test.py::test_contour_app
4.02s call     datalab/tests/features/image/edges_app_test.py::test_edges
3.94s call     datalab/tests/features/image/roi_app_test.py::test_image_roi_app
=========================== short test summary info ============================
FAILED datalab/tests/features/common/interactive_processing_test.py::test_apply_creation_parameters_signal
FAILED datalab/tests/features/common/interactive_processing_test.py::test_apply_processing_parameters_signal
FAILED datalab/tests/features/common/interactive_processing_test.py::test_apply_processing_parameters_missing_source
FAILED datalab/tests/features/common/interactive_processing_test.py::test_cross_panel_signal_to_image
FAILED datalab/tests/features/common/plot_results_app_test.py::test_plot_results_signals_one_curve_per_title
FAILED datalab/tests/features/common/plot_results_app_test.py::test_plot_results_with_group_selection
FAILED datalab/tests/features/control/simpleclient_unit_test.py::test_with_real_server
FAILED datalab/tests/features/signal/fitdialog_unit_test.py::test_fit_dialog
= 8 failed, 233 passed, 3 skipped, 1 deselected, 1 warning in 410.50s (0:06:50) =
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -k 'not test_dep_viewer'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Debian-pan-maintainers mailing list