Package: src:todoman
Version: 4.6.0-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/202601/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f /<<PKGBUILDDIR>>/debian/hypothesis
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   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:139: Building wheel for python3.14 with "build" 
module

[... snipped ...]

tests/test_config.py::test_xdg_existant PASSED                    
       [ 42%]
tests/test_config.py::test_sane_config PASSED                     
       [ 43%]
tests/test_config.py::test_invalid_color PASSED                   
       [ 43%]
tests/test_config.py::test_invalid_color_arg PASSED               
       [ 44%]
tests/test_config.py::test_missing_path PASSED                    
       [ 44%]
tests/test_config.py::test_extra_entry XFAIL (Not implemented)    
       [ 45%]
tests/test_config.py::test_extra_section XFAIL (Not implemented)  
       [ 45%]
tests/test_config.py::test_missing_cache_dir PASSED               
       [ 46%]
tests/test_config.py::test_date_field_in_time_format PASSED       
       [ 46%]
tests/test_config.py::test_date_field_in_time PASSED              
       [ 47%]
tests/test_config.py::test_colour_validation_auto PASSED          
       [ 47%]
tests/test_config.py::test_colour_validation_always PASSED        
       [ 48%]
tests/test_config.py::test_colour_validation_invalid PASSED       
       [ 48%]
tests/test_filtering.py::test_priority PASSED                     
       [ 49%]
tests/test_filtering.py::test_location PASSED                     
       [ 50%]
tests/test_filtering.py::test_category PASSED                     
       [ 50%]
tests/test_filtering.py::test_grep PASSED                         
       [ 51%]
tests/test_filtering.py::test_filtering_lists PASSED              
       [ 51%]
tests/test_filtering.py::test_due_aware PASSED                    
       [ 52%]
tests/test_filtering.py::test_due_naive PASSED                    
       [ 52%]
tests/test_filtering.py::test_filtering_start PASSED              
       [ 53%]
tests/test_filtering.py::test_statuses PASSED                     
       [ 53%]
tests/test_formatter.py::test_humanized_datetime[CET-interval0] 
PASSED   [ 54%]
tests/test_formatter.py::test_humanized_datetime[CET-interval1] 
PASSED   [ 54%]
tests/test_formatter.py::test_humanized_datetime[HST-interval0] 
PASSED   [ 55%]
tests/test_formatter.py::test_humanized_datetime[HST-interval1] 
PASSED   [ 55%]
tests/test_formatter.py::test_humanized_date[CET-interval0] 
PASSED       [ 56%]
tests/test_formatter.py::test_humanized_date[CET-interval1] 
PASSED       [ 56%]
tests/test_formatter.py::test_humanized_date[HST-interval0] 
PASSED       [ 57%]
tests/test_formatter.py::test_humanized_date[HST-interval1] 
PASSED       [ 57%]
tests/test_formatter.py::test_format_priority PASSED              
       [ 58%]
tests/test_formatter.py::test_format_priority_compact PASSED      
       [ 58%]
tests/test_formatter.py::test_format_date PASSED                  
       [ 59%]
tests/test_formatter.py::test_format_datetime PASSED              
       [ 59%]
tests/test_formatter.py::test_detailed_format PASSED              
       [ 60%]
tests/test_formatter.py::test_parse_time PASSED                   
       [ 60%]
tests/test_formatter.py::test_parse_datetime PASSED               
       [ 61%]
tests/test_formatter.py::test_humanized_parse_datetime PASSED     
       [ 61%]
tests/test_formatter.py::test_simple_action PASSED                
       [ 62%]
tests/test_formatter.py::test_formatting_parsing_consitency 
PASSED       [ 62%]
tests/test_formatter.py::test_rgb_to_ansi PASSED                  
       [ 63%]
tests/test_formatter.py::test_format_multiple_with_list PASSED    
       [ 63%]
tests/test_formatter.py::test_format_multiple_without_list PASSED 
       [ 64%]
tests/test_main.py::test_main PASSED                              
       [ 64%]
tests/test_model.py::test_querying PASSED                         
       [ 65%]
tests/test_model.py::test_retain_tz PASSED                        
       [ 65%]
tests/test_model.py::test_due_date PASSED                         
       [ 66%]
tests/test_model.py::test_change_paths PASSED                     
       [ 67%]
tests/test_model.py::test_list_displayname PASSED                 
       [ 67%]
tests/test_model.py::test_list_colour PASSED                      
       [ 68%]
tests/test_model.py::test_list_colour_cache_invalidation PASSED   
       [ 68%]
tests/test_model.py::test_list_no_colour PASSED                   
       [ 69%]
tests/test_model.py::test_database_priority_sorting PASSED        
       [ 69%]
tests/test_model.py::test_retain_unknown_fields PASSED            
       [ 70%]
tests/test_model.py::test_category_integrity PASSED               
       [ 70%]
tests/test_model.py::test_category_deletes_on_todo_delete PASSED  
       [ 71%]
tests/test_model.py::test_todo_setters PASSED                     
       [ 71%]
tests/test_model.py::test_is_completed PASSED                     
       [ 72%]
tests/test_model.py::test_complete_recurring[True-tz0-20990315T020000Z] 
PASSED [ 72%]
tests/test_model.py::test_complete_recurring[True-tz0-20990315T020000] 
SKIPPED [ 73%]
tests/test_model.py::test_complete_recurring[True-None-20990315T020000Z] 
SKIPPED [ 73%]
tests/test_model.py::test_complete_recurring[True-None-20990315T020000] 
PASSED [ 74%]
tests/test_model.py::test_complete_recurring[False-tz0-20990315T020000Z] 
PASSED [ 74%]
tests/test_model.py::test_complete_recurring[False-tz0-20990315T020000] 
SKIPPED [ 75%]
tests/test_model.py::test_complete_recurring[False-None-20990315T020000Z] 
SKIPPED [ 75%]
tests/test_model.py::test_complete_recurring[False-None-20990315T020000] 
PASSED [ 76%]
tests/test_model.py::test_save_recurring_related PASSED           
       [ 76%]
tests/test_model.py::test_save_recurring_related_with_date PASSED 
       [ 77%]
tests/test_model.py::test_todo_filename_absolute_path PASSED      
       [ 77%]
tests/test_model.py::test_list_equality PASSED                    
       [ 78%]
tests/test_model.py::test_clone PASSED                            
       [ 78%]
tests/test_model.py::test_todos_startable PASSED                  
       [ 79%]
tests/test_model.py::test_filename_uid_colision PASSED            
       [ 79%]
tests/test_model.py::test_hide_cancelled PASSED                   
       [ 80%]
tests/test_model.py::test_illegal_start_suppression PASSED        
       [ 80%]
tests/test_model.py::test_default_status PASSED                   
       [ 81%]
tests/test_model.py::test_nullify_field PASSED                    
       [ 81%]
tests/test_model.py::test_duplicate_list PASSED                   
       [ 82%]
tests/test_model.py::test_unreadable_ics PASSED                   
       [ 82%]
tests/test_model.py::test_deleting_todo_without_list_fails PASSED 
       [ 83%]
tests/test_model.py::test_saving_todo_without_list_fails PASSED   
       [ 84%]
tests/test_model.py::test_todo_path_without_list PASSED           
       [ 84%]
tests/test_porcelain.py::test_list_all PASSED                     
       [ 85%]
tests/test_porcelain.py::test_list_start_date PASSED              
       [ 85%]
tests/test_porcelain.py::test_list_due_date PASSED                
       [ 86%]
tests/test_porcelain.py::test_list_nodue PASSED                   
       [ 86%]
tests/test_porcelain.py::test_list_priority PASSED                
       [ 87%]
tests/test_porcelain.py::test_show PASSED                         
       [ 87%]
tests/test_porcelain.py::test_simple_action PASSED                
       [ 88%]
tests/test_porcelain.py::test_format_datetime PASSED              
       [ 88%]
tests/test_porcelain.py::test_parse_datetime PASSED               
       [ 89%]
tests/test_porcelain.py::test_formatting_parsing_consitency 
PASSED       [ 89%]
tests/test_ui.py::test_todo_editor_priority PASSED                
       [ 90%]
tests/test_ui.py::test_todo_editor_list FAILED                    
       [ 90%]
tests/test_ui.py::test_todo_editor_summary PASSED                 
       [ 91%]
tests/test_ui.py::test_todo_editor_due PASSED                     
       [ 91%]
tests/test_ui.py::test_toggle_help PASSED                         
       [ 92%]
tests/test_ui.py::test_show_save_errors PASSED                    
       [ 92%]
tests/test_ui.py::test_save_completed[True-True] PASSED           
       [ 93%]
tests/test_ui.py::test_save_completed[True-False] PASSED          
       [ 93%]
tests/test_ui.py::test_save_completed[False-True] PASSED          
       [ 94%]
tests/test_ui.py::test_save_completed[False-False] PASSED         
       [ 94%]
tests/test_ui.py::test_ctrl_c_clears SKIPPED (See: 
https://github.co...) [ 95%]
tests/test_widgets.py::test_extended_edit_delete_word PASSED      
       [ 95%]
tests/test_widgets.py::test_extended_edit_delete_sol PASSED       
       [ 96%]
tests/test_widgets.py::test_extended_edit_delete_eol PASSED       
       [ 96%]
tests/test_widgets.py::test_extended_edit_goto_sol PASSED         
       [ 97%]
tests/test_widgets.py::test_extended_edit_goto_eol PASSED         
       [ 97%]
tests/test_widgets.py::test_extended_edit_delete_next_char PASSED 
       [ 98%]
tests/test_widgets.py::test_extended_edit_input PASSED            
       [ 98%]
tests/test_widgets.py::test_extended_edit_editor PASSED           
       [ 99%]
tests/test_widgets.py::test_priority_selector PASSED              
       [100%]

=================================== FAILURES ===================================
____________________________ test_todo_editor_list 
_____________________________

default_database = <todoman.model.Database object at 0x7fb957477470>
todo_factory = <function todo_factory.<locals>.inner at 0x7fb956d294e0>
default_formatter = <todoman.formatters.DefaultFormatter object at 
0x7fb956d2e150>
tmpdir = local('/tmp/pytest-of-sbuild/pytest-1/test_todo_editor_list0')

    def 
test_todo_editor_list(
        default_database: Database,
        todo_factory: Callable,
        default_formatter: Formatter,
        tmpdir: py.path.local,
    ) -> None:
        
tmpdir.mkdir("another_list")
    
        default_database.paths = [
            
str(tmpdir.join("default")),
            
str(tmpdir.join("another_list")),
        ]
        default_database.update_cache()
    
        todo = todo_factory()
        lists = list(default_database.lists())
    
        editor = TodoEditor(todo, lists, default_formatter)
        default_list = 
next(filter(lambda x: x.label 
== "default", 
editor.list_selector))
        another_list = next(
            filter(lambda x: x.label == 
"another_list", 
editor.list_selector)
        )
    
        assert editor.current_list == todo.list
        assert default_list.label == 
todo.list.name
    
        another_list.set_state(True)
        editor._save_inner()
    
        assert editor.current_list == todo.list
>       assert another_list.label == 
> todo.list.name
                                     ^^^^^^^^^^^^^^
E       AttributeError: 'bool' object has no attribute 'name'

tests/test_ui.py:67: AttributeError
=============================== warnings summary 
===============================
tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1020: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    if ismodule(module) and hasattr(module, '__file__'):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1021: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    f = module.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:922: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    if getattr(object, '__file__', None):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:923: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    return object.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1020: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    if ismodule(module) and hasattr(module, '__file__'):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1021: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    f = module.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:922: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    if getattr(object, '__file__', None):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:923: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    return object.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1020: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    if ismodule(module) and hasattr(module, '__file__'):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1021: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    f = module.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:922: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    if getattr(object, '__file__', None):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:923: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    return object.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1020: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    if ismodule(module) and hasattr(module, '__file__'):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1021: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    f = module.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:922: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    if getattr(object, '__file__', None):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:923: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    return object.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1020: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    if ismodule(module) and hasattr(module, '__file__'):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1021: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    f = module.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:922: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    if getattr(object, '__file__', None):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:923: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    return object.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1020: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    if ismodule(module) and hasattr(module, '__file__'):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:1021: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    f = module.__file__

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:922: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    if getattr(object, '__file__', None):

tests/test_cli.py::test_two_events
  /usr/lib/python3.13/inspect.py:923: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    return object.__file__

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.13.11-final-0 ----------
Name                       Stmts   Miss  Cover   Missing
--------------------------------------------------------
todoman/__init__.py            4      0   100%
todoman/__main__.py            4      0   100%
todoman/cli.py               358     11    97%   152, 399-405, 515-516, 551-552
todoman/configuration.py      77      3    96%   224, 235, 238
todoman/exceptions.py         20      0   100%
todoman/formatters.py        213      1    99%   206
todoman/interactive.py       114      6    95%   10-14, 165-166
todoman/model.py             544      5    99%   270-272, 352, 367
todoman/version.py             9      0   100%
todoman/widgets.py            94      0   100%
--------------------------------------------------------
TOTAL                       1437     26    98%

=========================== short test summary info 
============================
FAILED tests/test_ui.py::test_todo_editor_list - 
AttributeError: 'bool' object has no attribute 'name'
====== 1 failed, 184 passed, 6 skipped, 
3 xfailed, 24 warnings in 11.23s =======
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:24: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to