Package: src:python-scitrack
Version: 2026.6.24-1
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/202608/

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:python-scitrack, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
dh: warning: Implicitly activating single-binary dh addon for backwards 
compatibility.  In compat 14+,
dh: warning: this fallback will *not* happen automatically via dh_auto_install 
will instead use a
dh: warning: different default for --destdir unless the single-binary add-on is 
active,
dh: warning: which can cause the source to produce an empty binary package
dh: warning: 
dh: warning: To keep the existing behaviour (compat 13), please activate the 
single-binary addon explicitly.
dh: warning: This can be done by adding "dh-sequence-single-binary" to 
Build-Depends or passing
dh: warning: --with=single-binary to dh.
dh: warning: 
dh: warning: If you have solved this issue differently (e.g., by passing 
--destdir explicitly to
dh: warning: dh_auto_install or not using dh_auto_install at all) and want to 
silence this warning
dh: warning: without activating the addon, you can do that by passing 
--without=single-binary to dh
dh: warning: to explicitly acknowledge the change.
dh: warning: 
dh: warning: Please see the description of the "single-binary" in "man dh" for 
more details of what
dh: warning: it does and why this is changing from implicit behaviour to 
explicitly opt-in.
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh: warning: Implicitly activating single-binary dh addon for backwards 
compatibility.  In compat 14+,
dh: warning: this fallback will *not* happen automatically via dh_auto_install 
will instead use a
dh: warning: different default for --destdir unless the single-binary add-on is 
active,
dh: warning: which can cause the source to produce an empty binary package
dh: warning: 
dh: warning: To keep the existing behaviour (compat 13), please activate the 
single-binary addon explicitly.
dh: warning: This can be done by adding "dh-sequence-single-binary" to 
Build-Depends or passing
dh: warning: --with=single-binary to dh.
dh: warning: 
dh: warning: If you have solved this issue differently (e.g., by passing 
--destdir explicitly to
dh: warning: dh_auto_install or not using dh_auto_install at all) and want to 
silence this warning
dh: warning: without activating the addon, you can do that by passing 
--without=single-binary to dh
dh: warning: to explicitly acknowledge the change.
dh: warning: 
dh: warning: Please see the description of the "single-binary" in "man dh" for 
more details of what
dh: warning: it does and why this is changing from implicit behaviour to 
explicitly opt-in.
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" 
module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scitrack  
* Building wheel...
Successfully built scitrack-2026.6.24-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with 
"installer" module
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scitrack  
* Building wheel...
Successfully built scitrack-2026.6.24-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with 
"installer" module
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} 
{interpreter} -m pytest -v"
I: pybuild base:385: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scitrack/build python3.13 -m 
pytest -v
============================= test session starts ==============================
platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.4.4
collecting ... collected 115 items

tests/test_logging.py::test_creates_path PASSED                          [  0%]
tests/test_logging.py::test_set_path_if_exists PASSED                    [  1%]
tests/test_logging.py::test_tracks_args PASSED                           [  2%]
tests/test_logging.py::test_tracks_locals PASSED                         [  3%]
tests/test_logging.py::test_tracks_locals_skip_module PASSED             [  4%]
tests/test_logging.py::test_package_inference PASSED                     [  5%]
tests/test_logging.py::test_get_package_name_no_arg_installed_package PASSED [  
6%]
tests/test_logging.py::test_get_package_name_no_arg_subpackage PASSED    [  6%]
tests/test_logging.py::test_get_package_name_no_arg_falls_back_to_name PASSED [ 
 7%]
tests/test_logging.py::test_get_package_name_no_arg_not_installed PASSED [  8%]
tests/test_logging.py::test_get_package_name_no_arg_main_script PASSED   [  9%]
tests/test_logging.py::test_get_package_name_no_arg_no_current_frame PASSED [ 
10%]
tests/test_logging.py::test_get_package_name_no_arg_no_parent_frame PASSED [ 
11%]
tests/test_logging.py::test_package_versioning PASSED                    [ 12%]
tests/test_logging.py::test_get_version_for_package_not_installed PASSED [ 13%]
tests/test_logging.py::test_tracks_versions PASSED                       [ 13%]
tests/test_logging.py::test_caching PASSED                               [ 14%]
tests/test_logging.py::test_shutdown PASSED                              [ 15%]
tests/test_logging.py::test_tracks_versions_empty PASSED                 [ 16%]
tests/test_logging.py::test_tracks_versions_string PASSED                [ 17%]
tests/test_logging.py::test_log_versions_unknown_package PASSED          [ 18%]
tests/test_logging.py::test_log_versions_partial_list_raises_eagerly PASSED [ 
19%]
tests/test_logging.py::test_log_versions_uninstalled_module_does_not_raise 
PASSED [ 20%]
tests/test_logging.py::test_get_version_for_package PASSED               [ 20%]
tests/test_logging.py::test_tracks_versions_module PASSED                [ 21%]
tests/test_logging.py::test_log_versions_unresolvable_version_logs_unknown 
FAILED [ 22%]
tests/test_logging.py::test_get_package_dependencies_not_installed PASSED [ 23%]
tests/test_logging.py::test_get_package_dependencies_no_requires[<lambda>] 
PASSED [ 24%]
tests/test_logging.py::test_get_package_dependencies_no_requires[list] PASSED [ 
25%]
tests/test_logging.py::test_get_package_dependencies_core_only PASSED    [ 26%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy] 
PASSED [ 26%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy>=1.0]
 PASSED [ 27%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy 
(>=1.0)] PASSED [ 28%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy[security]>=1.0]
 PASSED [ 29%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy ; 
python_version >= '3.0'] PASSED [ 30%]
tests/test_logging.py::test_get_package_dependencies_partitions_extras PASSED [ 
31%]
tests/test_logging.py::test_get_package_dependencies_env_marker_drops_false 
PASSED [ 32%]
tests/test_logging.py::test_get_package_dependencies_env_marker_keeps_true 
PASSED [ 33%]
tests/test_logging.py::test_get_package_dependencies_extras_with_env_marker[python_version
 >= '3.0'-expected0] PASSED [ 33%]
tests/test_logging.py::test_get_package_dependencies_extras_with_env_marker[python_version
 < '2.0'-expected1] PASSED [ 34%]
tests/test_logging.py::test_get_package_dependencies_unparseable_marker_kept 
PASSED [ 35%]
tests/test_logging.py::test_get_package_dependencies_three_clause_extra_middle[python_version
 >= '3.0' and extra == 'test' and python_version >= '3.0'-expected0] PASSED [ 
36%]
tests/test_logging.py::test_get_package_dependencies_three_clause_extra_middle[python_version
 < '2.0' and extra == 'test' and python_version >= '3.0'-expected1] PASSED [ 
37%]
tests/test_logging.py::test_get_package_dependencies_three_clause_extra_middle[python_version
 >= '3.0' and extra == 'test' and python_version < '2.0'-expected2] PASSED [ 
38%]
tests/test_logging.py::test_get_package_dependencies_if_installed_default_unchanged
 PASSED [ 39%]
tests/test_logging.py::test_get_package_dependencies_if_installed_filters_mixed 
PASSED [ 40%]
tests/test_logging.py::test_get_package_dependencies_if_installed_drops_empty_group
 PASSED [ 40%]
tests/test_logging.py::test_get_package_dependencies_if_installed_memoizes 
PASSED [ 41%]
tests/test_logging.py::test_get_package_dependencies_if_installed_empty_requires_no_probe
 PASSED [ 42%]
tests/test_logging.py::test_appending PASSED                             [ 43%]
tests/test_logging.py::test_mdsum_input PASSED                           [ 44%]
tests/test_logging.py::test_mdsum_output PASSED                          [ 45%]
tests/test_logging.py::test_logging_text PASSED                          [ 46%]
tests/test_logging.py::test_text_data_requires_label PASSED              [ 46%]
tests/test_logging.py::test_loglabel_values_are_strings PASSED           [ 47%]
tests/test_logging.py::test_input_file_accepts_loglabel_enum PASSED      [ 48%]
tests/test_logging.py::test_input_file_accepts_custom_string_label PASSED [ 49%]
tests/test_logging.py::test_logfile_path PASSED                          [ 50%]
tests/test_logging.py::test_md5sum_text PASSED                           [ 51%]
tests/test_logging.py::test_get_text_hexdigest_invalid PASSED            [ 52%]
tests/test_logging.py::test_read_from_written PASSED                     [ 53%]
tests/test_logging.py::test_set_logger_default_logger PASSED             [ 53%]
tests/test_logging.py::test_log_versions_no_current_frame PASSED         [ 54%]
tests/test_logging.py::test_log_versions_no_parent_frame PASSED          [ 55%]
tests/test_logging.py::test_log_versions_uses_caller_package_name PASSED [ 56%]
tests/test_logging.py::test_log_versions_resolves_external_caller_package 
PASSED [ 57%]
tests/test_logging.py::test_log_versions_emits_installed_deps_of_caller PASSED 
[ 58%]
tests/test_logging.py::test_log_versions_dedups_user_pkg_overlapping_dep PASSED 
[ 59%]
tests/test_logging.py::test_log_versions_caller_first_then_alphabetical PASSED 
[ 60%]
tests/test_logging.py::test_log_versions_caller_in_user_list_not_duplicated 
PASSED [ 60%]
tests/test_logging.py::test_log_versions_uninstalled_dep_skipped PASSED  [ 61%]
tests/test_logging.py::test_log_summary_groups_built_in_labels PASSED    [ 62%]
tests/test_logging.py::test_log_summary_includes_datetime PASSED         [ 63%]
tests/test_logging.py::test_log_summary_datetime_is_first_line PASSED    [ 64%]
tests/test_logging.py::test_log_summary_datetime_from_unrecognised_first_line 
PASSED [ 65%]
tests/test_logging.py::test_log_summary_empty_file_has_no_datetime PASSED [ 66%]
tests/test_logging.py::test_log_summary_includes_hostname PASSED         [ 66%]
tests/test_logging.py::test_log_summary_hostname_strips_pid PASSED       [ 67%]
tests/test_logging.py::test_log_summary_includes_os PASSED               [ 68%]
tests/test_logging.py::test_log_summary_os_absent_without_system_details PASSED 
[ 69%]
tests/test_logging.py::test_log_summary_os_without_system_prefix PASSED  [ 70%]
tests/test_logging.py::test_log_summary_os_is_first_system_details PASSED [ 71%]
tests/test_logging.py::test_log_summary_default_path_drops_reserved_label_line 
PASSED [ 72%]
tests/test_logging.py::test_log_summary_reserved_label_rejected[datetime] 
PASSED [ 73%]
tests/test_logging.py::test_log_summary_reserved_label_rejected[hostname] 
PASSED [ 73%]
tests/test_logging.py::test_log_summary_reserved_label_rejected[os] PASSED [ 
74%]
tests/test_logging.py::test_log_summary_all_labels_rejects_reserved_line[datetime]
 PASSED [ 75%]
tests/test_logging.py::test_log_summary_all_labels_rejects_reserved_line[hostname]
 PASSED [ 76%]
tests/test_logging.py::test_log_summary_all_labels_rejects_reserved_line[os] 
PASSED [ 77%]
tests/test_logging.py::test_log_summary_preserves_values_with_colons PASSED [ 
78%]
tests/test_logging.py::test_log_summary_accepts_pathlike PASSED          [ 79%]
tests/test_logging.py::test_log_summary_md5sum_default_includes_output PASSED [ 
80%]
tests/test_logging.py::test_log_summary_extra_labels PASSED              [ 80%]
tests/test_logging.py::test_log_summary_loglabel_enum_as_extra_label PASSED [ 
81%]
tests/test_logging.py::test_log_summary_empty_file PASSED                [ 82%]
tests/test_logging.py::test_log_summary_ignores_unknown_labels PASSED    [ 83%]
tests/test_logging.py::test_log_summary_skips_malformed_lines PASSED     [ 84%]
tests/test_logging.py::test_log_summary_multiple_entries_preserve_order PASSED 
[ 85%]
tests/test_logging.py::test_log_summary_recognises_license_label PASSED  [ 86%]
tests/test_logging.py::test_log_summary_all_labels_captures_unknown PASSED [ 
86%]
tests/test_logging.py::test_loglabel_license_value PASSED                [ 87%]
tests/test_logging.py::test_get_package_licenses_returns_dict_for_installed 
PASSED [ 88%]
tests/test_logging.py::test_get_package_licenses_raises_for_uninstalled PASSED 
[ 89%]
tests/test_logging.py::test_get_package_licenses_prefers_license_expression 
PASSED [ 90%]
tests/test_logging.py::test_get_package_licenses_falls_back_to_license PASSED [ 
91%]
tests/test_logging.py::test_get_package_licenses_unknown_when_missing PASSED [ 
92%]
tests/test_logging.py::test_get_package_licenses_falls_through_empty_or_sentinel[empty_expr]
 PASSED [ 93%]
tests/test_logging.py::test_get_package_licenses_falls_through_empty_or_sentinel[sentinel_expr]
 PASSED [ 93%]
tests/test_logging.py::test_get_package_licenses_partial_raises_eagerly PASSED 
[ 94%]
tests/test_logging.py::test_log_licenses_uses_caller_package PASSED      [ 95%]
tests/test_logging.py::test_log_licenses_emits_installed_deps PASSED     [ 96%]
tests/test_logging.py::test_log_licenses_partial_list_raises_eagerly PASSED [ 
97%]
tests/test_logging.py::test_log_licenses_caller_first_then_alphabetical_dedup 
PASSED [ 98%]
tests/test_logging.py::test_log_licenses_silent_on_frame_failure[no_current_frame]
 PASSED [ 99%]
tests/test_logging.py::test_log_licenses_silent_on_frame_failure[no_parent_frame]
 PASSED [100%]

=================================== FAILURES ===================================
_____________ test_log_versions_unresolvable_version_logs_unknown ______________

logfile = 
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_log_versions_unresolvable0/delme.log')

    def test_log_versions_unresolvable_version_logs_unknown(logfile):
        # a module with no version attribute -> version None normalised to 
UNKNOWN
        pyfile = TEST_ROOTDIR / "delme_nover.py"
        pyfile.write_text("answer = 42\n")
        sys.path.append(str(TEST_ROOTDIR))
>       import delme_nover
E       ModuleNotFoundError: No module named 'delme_nover'

tests/test_logging.py:377: ModuleNotFoundError
=========================== short test summary info ============================
FAILED 
tests/test_logging.py::test_log_versions_unresolvable_version_logs_unknown
======================== 1 failed, 114 passed in 0.24s =========================
E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scitrack/build python3.13 -m 
pytest -v
I: pybuild base:385: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scitrack/build python3.14 -m 
pytest -v
============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 -- 
/usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.4.4
collecting ... collected 115 items

tests/test_logging.py::test_creates_path PASSED                          [  0%]
tests/test_logging.py::test_set_path_if_exists PASSED                    [  1%]
tests/test_logging.py::test_tracks_args PASSED                           [  2%]
tests/test_logging.py::test_tracks_locals PASSED                         [  3%]
tests/test_logging.py::test_tracks_locals_skip_module PASSED             [  4%]
tests/test_logging.py::test_package_inference PASSED                     [  5%]
tests/test_logging.py::test_get_package_name_no_arg_installed_package PASSED [  
6%]
tests/test_logging.py::test_get_package_name_no_arg_subpackage PASSED    [  6%]
tests/test_logging.py::test_get_package_name_no_arg_falls_back_to_name PASSED [ 
 7%]
tests/test_logging.py::test_get_package_name_no_arg_not_installed PASSED [  8%]
tests/test_logging.py::test_get_package_name_no_arg_main_script PASSED   [  9%]
tests/test_logging.py::test_get_package_name_no_arg_no_current_frame PASSED [ 
10%]
tests/test_logging.py::test_get_package_name_no_arg_no_parent_frame PASSED [ 
11%]
tests/test_logging.py::test_package_versioning PASSED                    [ 12%]
tests/test_logging.py::test_get_version_for_package_not_installed PASSED [ 13%]
tests/test_logging.py::test_tracks_versions PASSED                       [ 13%]
tests/test_logging.py::test_caching PASSED                               [ 14%]
tests/test_logging.py::test_shutdown PASSED                              [ 15%]
tests/test_logging.py::test_tracks_versions_empty PASSED                 [ 16%]
tests/test_logging.py::test_tracks_versions_string PASSED                [ 17%]
tests/test_logging.py::test_log_versions_unknown_package PASSED          [ 18%]
tests/test_logging.py::test_log_versions_partial_list_raises_eagerly PASSED [ 
19%]
tests/test_logging.py::test_log_versions_uninstalled_module_does_not_raise 
PASSED [ 20%]
tests/test_logging.py::test_get_version_for_package FAILED               [ 20%]
tests/test_logging.py::test_tracks_versions_module PASSED                [ 21%]
tests/test_logging.py::test_log_versions_unresolvable_version_logs_unknown 
PASSED [ 22%]
tests/test_logging.py::test_get_package_dependencies_not_installed PASSED [ 23%]
tests/test_logging.py::test_get_package_dependencies_no_requires[<lambda>] 
PASSED [ 24%]
tests/test_logging.py::test_get_package_dependencies_no_requires[list] PASSED [ 
25%]
tests/test_logging.py::test_get_package_dependencies_core_only PASSED    [ 26%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy] 
PASSED [ 26%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy>=1.0]
 PASSED [ 27%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy 
(>=1.0)] PASSED [ 28%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy[security]>=1.0]
 PASSED [ 29%]
tests/test_logging.py::test_get_package_dependencies_strips_specifiers[numpy ; 
python_version >= '3.0'] PASSED [ 30%]
tests/test_logging.py::test_get_package_dependencies_partitions_extras PASSED [ 
31%]
tests/test_logging.py::test_get_package_dependencies_env_marker_drops_false 
PASSED [ 32%]
tests/test_logging.py::test_get_package_dependencies_env_marker_keeps_true 
PASSED [ 33%]
tests/test_logging.py::test_get_package_dependencies_extras_with_env_marker[python_version
 >= '3.0'-expected0] PASSED [ 33%]
tests/test_logging.py::test_get_package_dependencies_extras_with_env_marker[python_version
 < '2.0'-expected1] PASSED [ 34%]
tests/test_logging.py::test_get_package_dependencies_unparseable_marker_kept 
PASSED [ 35%]
tests/test_logging.py::test_get_package_dependencies_three_clause_extra_middle[python_version
 >= '3.0' and extra == 'test' and python_version >= '3.0'-expected0] PASSED [ 
36%]
tests/test_logging.py::test_get_package_dependencies_three_clause_extra_middle[python_version
 < '2.0' and extra == 'test' and python_version >= '3.0'-expected1] PASSED [ 
37%]
tests/test_logging.py::test_get_package_dependencies_three_clause_extra_middle[python_version
 >= '3.0' and extra == 'test' and python_version < '2.0'-expected2] PASSED [ 
38%]
tests/test_logging.py::test_get_package_dependencies_if_installed_default_unchanged
 PASSED [ 39%]
tests/test_logging.py::test_get_package_dependencies_if_installed_filters_mixed 
PASSED [ 40%]
tests/test_logging.py::test_get_package_dependencies_if_installed_drops_empty_group
 PASSED [ 40%]
tests/test_logging.py::test_get_package_dependencies_if_installed_memoizes 
PASSED [ 41%]
tests/test_logging.py::test_get_package_dependencies_if_installed_empty_requires_no_probe
 PASSED [ 42%]
tests/test_logging.py::test_appending PASSED                             [ 43%]
tests/test_logging.py::test_mdsum_input PASSED                           [ 44%]
tests/test_logging.py::test_mdsum_output PASSED                          [ 45%]
tests/test_logging.py::test_logging_text PASSED                          [ 46%]
tests/test_logging.py::test_text_data_requires_label PASSED              [ 46%]
tests/test_logging.py::test_loglabel_values_are_strings PASSED           [ 47%]
tests/test_logging.py::test_input_file_accepts_loglabel_enum PASSED      [ 48%]
tests/test_logging.py::test_input_file_accepts_custom_string_label PASSED [ 49%]
tests/test_logging.py::test_logfile_path PASSED                          [ 50%]
tests/test_logging.py::test_md5sum_text PASSED                           [ 51%]
tests/test_logging.py::test_get_text_hexdigest_invalid PASSED            [ 52%]
tests/test_logging.py::test_read_from_written PASSED                     [ 53%]
tests/test_logging.py::test_set_logger_default_logger PASSED             [ 53%]
tests/test_logging.py::test_log_versions_no_current_frame PASSED         [ 54%]
tests/test_logging.py::test_log_versions_no_parent_frame PASSED          [ 55%]
tests/test_logging.py::test_log_versions_uses_caller_package_name PASSED [ 56%]
tests/test_logging.py::test_log_versions_resolves_external_caller_package 
PASSED [ 57%]
tests/test_logging.py::test_log_versions_emits_installed_deps_of_caller PASSED 
[ 58%]
tests/test_logging.py::test_log_versions_dedups_user_pkg_overlapping_dep PASSED 
[ 59%]
tests/test_logging.py::test_log_versions_caller_first_then_alphabetical PASSED 
[ 60%]
tests/test_logging.py::test_log_versions_caller_in_user_list_not_duplicated 
PASSED [ 60%]
tests/test_logging.py::test_log_versions_uninstalled_dep_skipped PASSED  [ 61%]
tests/test_logging.py::test_log_summary_groups_built_in_labels PASSED    [ 62%]
tests/test_logging.py::test_log_summary_includes_datetime PASSED         [ 63%]
tests/test_logging.py::test_log_summary_datetime_is_first_line PASSED    [ 64%]
tests/test_logging.py::test_log_summary_datetime_from_unrecognised_first_line 
PASSED [ 65%]
tests/test_logging.py::test_log_summary_empty_file_has_no_datetime PASSED [ 66%]
tests/test_logging.py::test_log_summary_includes_hostname PASSED         [ 66%]
tests/test_logging.py::test_log_summary_hostname_strips_pid PASSED       [ 67%]
tests/test_logging.py::test_log_summary_includes_os PASSED               [ 68%]
tests/test_logging.py::test_log_summary_os_absent_without_system_details PASSED 
[ 69%]
tests/test_logging.py::test_log_summary_os_without_system_prefix PASSED  [ 70%]
tests/test_logging.py::test_log_summary_os_is_first_system_details PASSED [ 71%]
tests/test_logging.py::test_log_summary_default_path_drops_reserved_label_line 
PASSED [ 72%]
tests/test_logging.py::test_log_summary_reserved_label_rejected[datetime] 
PASSED [ 73%]
tests/test_logging.py::test_log_summary_reserved_label_rejected[hostname] 
PASSED [ 73%]
tests/test_logging.py::test_log_summary_reserved_label_rejected[os] PASSED [ 
74%]
tests/test_logging.py::test_log_summary_all_labels_rejects_reserved_line[datetime]
 PASSED [ 75%]
tests/test_logging.py::test_log_summary_all_labels_rejects_reserved_line[hostname]
 PASSED [ 76%]
tests/test_logging.py::test_log_summary_all_labels_rejects_reserved_line[os] 
PASSED [ 77%]
tests/test_logging.py::test_log_summary_preserves_values_with_colons PASSED [ 
78%]
tests/test_logging.py::test_log_summary_accepts_pathlike PASSED          [ 79%]
tests/test_logging.py::test_log_summary_md5sum_default_includes_output PASSED [ 
80%]
tests/test_logging.py::test_log_summary_extra_labels PASSED              [ 80%]
tests/test_logging.py::test_log_summary_loglabel_enum_as_extra_label PASSED [ 
81%]
tests/test_logging.py::test_log_summary_empty_file PASSED                [ 82%]
tests/test_logging.py::test_log_summary_ignores_unknown_labels PASSED    [ 83%]
tests/test_logging.py::test_log_summary_skips_malformed_lines PASSED     [ 84%]
tests/test_logging.py::test_log_summary_multiple_entries_preserve_order PASSED 
[ 85%]
tests/test_logging.py::test_log_summary_recognises_license_label PASSED  [ 86%]
tests/test_logging.py::test_log_summary_all_labels_captures_unknown PASSED [ 
86%]
tests/test_logging.py::test_loglabel_license_value PASSED                [ 87%]
tests/test_logging.py::test_get_package_licenses_returns_dict_for_installed 
PASSED [ 88%]
tests/test_logging.py::test_get_package_licenses_raises_for_uninstalled PASSED 
[ 89%]
tests/test_logging.py::test_get_package_licenses_prefers_license_expression 
PASSED [ 90%]
tests/test_logging.py::test_get_package_licenses_falls_back_to_license PASSED [ 
91%]
tests/test_logging.py::test_get_package_licenses_unknown_when_missing PASSED [ 
92%]
tests/test_logging.py::test_get_package_licenses_falls_through_empty_or_sentinel[empty_expr]
 PASSED [ 93%]
tests/test_logging.py::test_get_package_licenses_falls_through_empty_or_sentinel[sentinel_expr]
 PASSED [ 93%]
tests/test_logging.py::test_get_package_licenses_partial_raises_eagerly PASSED 
[ 94%]
tests/test_logging.py::test_log_licenses_uses_caller_package PASSED      [ 95%]
tests/test_logging.py::test_log_licenses_emits_installed_deps PASSED     [ 96%]
tests/test_logging.py::test_log_licenses_partial_list_raises_eagerly PASSED [ 
97%]
tests/test_logging.py::test_log_licenses_caller_first_then_alphabetical_dedup 
PASSED [ 98%]
tests/test_logging.py::test_log_licenses_silent_on_frame_failure[no_current_frame]
 PASSED [ 99%]
tests/test_logging.py::test_log_licenses_silent_on_frame_failure[no_parent_frame]
 PASSED [100%]

=================================== FAILURES ===================================
_________________________ test_get_version_for_package _________________________

    def test_get_version_for_package():
        """should track version if package is a module"""
        import numpy as np
    
        got = get_version_for_package(np)
        assert got == np.__version__
        # one with a callable
        pyfile = TEST_ROOTDIR / "delme.py"
        pyfile.write_text("def version():\n  return 'my-version'")
        sys.path.append(TEST_ROOTDIR)
>       import delme
E       ModuleNotFoundError: No module named 'delme'

tests/test_logging.py:342: ModuleNotFoundError
=========================== short test summary info ============================
FAILED tests/test_logging.py::test_get_version_for_package - ModuleNotFoundEr...
======================== 1 failed, 114 passed in 0.24s =========================
E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scitrack/build python3.14 -m 
pytest -v
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.14" --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m 
pytest -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:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to