[Debian-med-packaging] Bug#1136916: busco: FTBFS: TypeError: only 0-dimensional arrays can be converted to Python scalars
Santiago Vila
sanvila at debian.org
Sun May 17 11:48:15 BST 2026
Package: src:busco
Version: 5.5.0-4
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/202605/
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:busco, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
======================================================================
ERROR: test_evaluate_first_order_tiebreak (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_first_order_tiebreak)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.14/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/unittests/AutoLineage_unittests.py", line 204, in test_evaluate_first_order_tiebreak
max_ind = asl.evaluate([runner1, runner2, runner3])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_evaluate_multiple_runners (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_multiple_runners)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.14/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/unittests/AutoLineage_unittests.py", line 178, in test_evaluate_multiple_runners
max_ind = asl.evaluate([runner1, runner2, runner3])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_evaluate_second_order_tiebreak (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_second_order_tiebreak)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.14/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/unittests/AutoLineage_unittests.py", line 231, in test_evaluate_second_order_tiebreak
max_ind = asl.evaluate([runner1, runner2, runner3, runner4])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_evaluate_single_runner (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_single_runner)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.14/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/unittests/AutoLineage_unittests.py", line 162, in test_evaluate_single_runner
max_ind = asl.evaluate([runner1])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_get_best_match_lineage (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_get_best_match_lineage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.14/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/unittests/AutoLineage_unittests.py", line 319, in test_get_best_match_lineage
asl.get_best_match_lineage([runner1, runner2, runner3])
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/busco/AutoLineage.py", line 184, in get_best_match_lineage
max_ind = self.evaluate(runners, use_percent)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
----------------------------------------------------------------------
Ran 97 tests in 0.414s
FAILED (errors=5, skipped=1)
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; {interpreter} -m unittest tests/unittest_runner.py -v
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m unittest tests/unittest_runner.py -v
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/busco/BuscoPlacer.py:211: SyntaxWarning: invalid escape sequence '\['
"[^0-9][0-9]*:[0-9]*[^0-9]{0,1}[0-9]*[^0-9]{0,2}[0-9]*\[%s\]"
test_cmdline_options_all_long (tests.unittests.run_BUSCO_unittests.TestParams.test_cmdline_options_all_long) ... ok
test_cmdline_options_all_short (tests.unittests.run_BUSCO_unittests.TestParams.test_cmdline_options_all_short) ... ok
test_cmdline_options_short_minimum (tests.unittests.run_BUSCO_unittests.TestParams.test_cmdline_options_short_minimum) ... ok
test_command_line_cpu_type (tests.unittests.run_BUSCO_unittests.TestParams.test_command_line_cpu_type) ... ok
test_command_line_evalue_type (tests.unittests.run_BUSCO_unittests.TestParams.test_command_line_evalue_type) ... ok
test_command_line_limit_type (tests.unittests.run_BUSCO_unittests.TestParams.test_command_line_limit_type) ... ok
test_help_long (tests.unittests.run_BUSCO_unittests.TestParams.test_help_long) ... ok
test_help_short (tests.unittests.run_BUSCO_unittests.TestParams.test_help_short) ... ok
test_version_long (tests.unittests.run_BUSCO_unittests.TestParams.test_version_long) ... ok
test_version_short (tests.unittests.run_BUSCO_unittests.TestParams.test_version_short) ... ok
test_config_main_configured (tests.unittests.ConfigManager_unittests.TestConfigManager.test_config_main_configured) ... ok
test_config_main_validated (tests.unittests.ConfigManager_unittests.TestConfigManager.test_config_main_validated) ... ok
test_get_config_from_env (tests.unittests.ConfigManager_unittests.TestConfigManager.test_get_config_from_env) ... ok
test_get_config_from_params (tests.unittests.ConfigManager_unittests.TestConfigManager.test_get_config_from_params) ... ok
test_autoconfig_init_adds_specific_parameters (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autoconfig_init_adds_specific_parameters) ... ok
test_autoconfig_init_calls_super (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autoconfig_init_calls_super) ... ok
test_autoconfig_init_creates_paths (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autoconfig_init_creates_paths) ... ok
test_autoconfig_init_downloads_lineage (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autoconfig_init_downloads_lineage) ... ok
test_autoconfig_init_loads_lineage_config (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autoconfig_init_loads_lineage_config) ... ok
test_autoconfig_init_propagates_mainconfig (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autoconfig_init_propagates_mainconfig) ... 2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
ok
test_autoconfig_init_sets_results_dirname (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autoconfig_init_sets_results_dirname) ... ok
test_autolineage_create_path_method_calls_parent (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_autolineage_create_path_method_calls_parent) ... 2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
ok
test_batch_mode_false_with_error (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_batch_mode_false_with_error) ... ok
test_batch_mode_false_with_file (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_batch_mode_false_with_file) ... ok
test_batch_mode_true (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_batch_mode_true) ... ok
test_catch_disallowed_keys (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_catch_disallowed_keys) ... 2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
ok
test_check_lineage_present_false (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_check_lineage_present_false) ... 2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
ok
test_check_lineage_present_true_with_dataset_version_correct (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_check_lineage_present_true_with_dataset_version_correct) ... ok
test_check_lineage_present_true_with_dataset_version_mismatch (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_check_lineage_present_true_with_dataset_version_mismatch) ... ok
test_check_lineage_present_true_with_invalid_dataset_version (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_check_lineage_present_true_with_invalid_dataset_version) ... ok
test_check_lineage_present_true_with_odb_missing (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_check_lineage_present_true_with_odb_missing) ... ok
test_config_auto_lineage_both_selected_warning (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_auto_lineage_both_selected_warning) ... ok
test_config_auto_lineage_dataset_specified_warning (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_auto_lineage_dataset_specified_warning) ... ok
test_config_auto_lineage_none_selected_no_lineage_warning (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_auto_lineage_none_selected_no_lineage_warning) ... ok
test_config_auto_lineage_settings (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_auto_lineage_settings) ... ok
test_config_default_params (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_default_params) ... ok
test_config_structure (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_structure) ... 2026-05-17 08:40:15 WARNING: Running Auto Lineage Selector as no lineage dataset was specified. This will take a little longer than normal. If you know what lineage dataset you want to use, please specify this in the config file or using the -l (--lineage-dataset) flag in the command line.
ok
test_config_update_args_bool (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_update_args_bool) ... 2026-05-17 08:40:15 INFO: Quiet mode selected. All subsequent INFO log messages to stdout suppressed. Detailed log still available in logs/busco.log
ok
test_config_update_args_nonbool (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_config_update_args_nonbool) ... ok
test_create_required_paths (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_create_required_paths) ... ok
test_downloader_initialized (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_downloader_initialized) ... ok
test_evalue_default (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_evalue_default) ... ok
test_evalue_nondefault (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_evalue_nondefault) ... ok
test_expand_all_paths_hmmsearch (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_expand_all_paths_hmmsearch) ... ok
test_expand_all_paths_relative_path_current_dir (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_expand_all_paths_relative_path_current_dir) ... ok
test_expand_all_paths_relative_path_parent_dir (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_expand_all_paths_relative_path_parent_dir) ... ok
test_expand_all_paths_tilde (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_expand_all_paths_tilde) ... ok
test_limit_value_out_of_range (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_limit_value_out_of_range) ... ok
test_limit_value_within_range (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_limit_value_within_range) ... ok
test_log_config (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_log_config) ... ok
test_mandatory_keys_check_log (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_mandatory_keys_check_log) ... ok
test_mandatory_keys_check_missing_param_in (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_mandatory_keys_check_missing_param_in) ... ok
test_mandatory_keys_check_missing_param_mode (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_mandatory_keys_check_missing_param_mode) ... ok
test_mandatory_keys_check_missing_param_out (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_mandatory_keys_check_missing_param_out) ... ok
test_out_value_check_invalid (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_out_value_check_invalid) ... ok
test_out_value_check_valid (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_out_value_check_valid) ... ok
test_previous_run_check_with_existing_run_and_restart (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_previous_run_check_with_existing_run_and_restart) ... ok
test_previous_run_check_with_existing_run_no_force (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_previous_run_check_with_existing_run_no_force) ... ok
test_previous_run_check_with_existing_run_with_force_and_log (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_previous_run_check_with_existing_run_with_force_and_log) ... ok
test_previous_run_check_without_existing_run (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_previous_run_check_without_existing_run) ... ok
test_previous_run_check_without_existing_run_and_restart (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_previous_run_check_without_existing_run_and_restart) ... ok
test_propagate_config (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_propagate_config) ... ok
test_read_config_file (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_read_config_file) ... ok
test_read_config_file_duplicateerror (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_read_config_file_duplicateerror) ... ok
test_read_config_file_ioerror (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_read_config_file_ioerror) ... ok
test_read_config_file_parseerror (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_read_config_file_parseerror) ... ok
test_required_input_exists_false (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_required_input_exists_false) ... ok
test_set_results_dirname (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_set_results_dirname) ... ok
test_validation (tests.unittests.BuscoConfig_unittests.TestBuscoConfig.test_validation) ... ok
test_cleanup_disused_runs (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_cleanup_disused_runs) ... ok
test_evaluate_first_order_tiebreak (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_first_order_tiebreak) ... ERROR
test_evaluate_multiple_runners (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_multiple_runners) ... ERROR
test_evaluate_second_order_tiebreak (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_second_order_tiebreak) ... ERROR
test_evaluate_single_runner (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_single_runner) ... ERROR
test_evaluate_third_order_tiebreak (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_third_order_tiebreak) ... ok
test_get_best_match_lineage (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_get_best_match_lineage) ... ERROR
test_init_autolineage (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_init_autolineage) ... ok
test_record_results_first_run (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_record_results_first_run) ... ok
test_record_results_multiple_runs (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_record_results_multiple_runs) ... ok
test_run_auto_selector_lineage_lists_no_virus (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_run_auto_selector_lineage_lists_no_virus) ... ok
test_run_lineages_initializes_BuscoConfigAuto (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_run_lineages_initializes_BuscoConfigAuto) ... ok
test_run_lineages_initializes_BuscoRunner (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_run_lineages_initializes_BuscoRunner) ... skipped 'Skipping for now, ends with Mock iterable error'
test_run_lineages_returns_runners (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_run_lineages_returns_runners) ... ok
test_run_lineages_runs_analysis (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_run_lineages_runs_analysis) ... ok
test_init_eukaryota_augustus_checks_filetype (tests.unittests.GenomeAnalysis_unittests.TestConfigManager.test_init_eukaryota_augustus_checks_filetype) ... ok
test_init_tools_eukaryota_augustus (tests.unittests.GenomeAnalysis_unittests.TestConfigManager.test_init_tools_eukaryota_augustus) ... ok
test_init_tools_eukaryota_metaeuk (tests.unittests.GenomeAnalysis_unittests.TestConfigManager.test_init_tools_eukaryota_metaeuk) ... ok
test_init_tools_prokaryota (tests.unittests.GenomeAnalysis_unittests.TestConfigManager.test_init_tools_prokaryota) ... ok
test_run_analysis_metaeuk (tests.unittests.GenomeAnalysis_unittests.TestConfigManager.test_run_analysis_metaeuk) ... ok
test_auto_select_lineage_call_function_gets_lineage_dataset (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_auto_select_lineage_call_function_gets_lineage_dataset) ... ok
test_auto_select_lineage_call_function_initializes_asl (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_auto_select_lineage_call_function_initializes_asl) ... ok
test_auto_select_lineage_call_function_returns_lineage_dataset (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_auto_select_lineage_call_function_returns_lineage_dataset) ... ok
test_auto_select_lineage_call_function_returns_parent (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_auto_select_lineage_call_function_returns_parent) ... ok
test_auto_select_lineage_call_function_runs_asl (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_auto_select_lineage_call_function_runs_asl) ... ok
test_auto_select_lineage_call_function_selects_runner (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_auto_select_lineage_call_function_selects_runner) ... ok
test_config_set_parent_dataset_if_not_virus (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_config_set_parent_dataset_if_not_virus) ... ok
test_config_updated_if_lineage_missing (tests.unittests.BuscoRunner_unittests.TestAutoLineage.test_config_updated_if_lineage_missing) ... ok
======================================================================
ERROR: test_evaluate_first_order_tiebreak (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_first_order_tiebreak)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/unittests/AutoLineage_unittests.py", line 204, in test_evaluate_first_order_tiebreak
max_ind = asl.evaluate([runner1, runner2, runner3])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_evaluate_multiple_runners (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_multiple_runners)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/unittests/AutoLineage_unittests.py", line 178, in test_evaluate_multiple_runners
max_ind = asl.evaluate([runner1, runner2, runner3])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_evaluate_second_order_tiebreak (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_second_order_tiebreak)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/unittests/AutoLineage_unittests.py", line 231, in test_evaluate_second_order_tiebreak
max_ind = asl.evaluate([runner1, runner2, runner3, runner4])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_evaluate_single_runner (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_evaluate_single_runner)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/unittests/AutoLineage_unittests.py", line 162, in test_evaluate_single_runner
max_ind = asl.evaluate([runner1])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
======================================================================
ERROR: test_get_best_match_lineage (tests.unittests.AutoLineage_unittests.TestAutoLineage.test_get_best_match_lineage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/unittests/AutoLineage_unittests.py", line 319, in test_get_best_match_lineage
asl.get_best_match_lineage([runner1, runner2, runner3])
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/busco/AutoLineage.py", line 184, in get_best_match_lineage
max_ind = self.evaluate(runners, use_percent)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/busco/AutoLineage.py", line 172, in evaluate
return int(max_ind)
TypeError: only 0-dimensional arrays can be converted to Python scalars
----------------------------------------------------------------------
Ran 97 tests in 0.419s
FAILED (errors=5, skipped=1)
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; {interpreter} -m unittest tests/unittest_runner.py -v
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" --test-custom --test-args "{interpreter} -m unittest tests/unittest_runner.py -v" --parallel=2 returned exit code 13
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Debian-med-packaging
mailing list