🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Santiago Vila Sat, 17 Oct 2026 13:40
Bug#1151148: khal: FTBFS: E AssertionError: assert '[ ] Allday
#1144
Author: Santiago Vila
Date: Sat, 17 Oct 2026 13:40
90 lines
7032 bytes
Package: src:khal
Version: 1:0.14.1+ds-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/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:khal, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
        canvas = editor.render((50,), True)
>       assert CanvasTranslator(canvas, palette).transform() == (
            "[ ] Allday\nFrom: \x1b[31m2.10.2017 \x1b[0m \x1b[34m13:00 \x1b[0m\n"
            "To:   \x1b[34m04.10.2017\x1b[0m \x1b[34m18:00 \x1b[0m\n"
        )
E       AssertionError: assert '[ ] Allday\nFrom: \x1b[31m02.10.2017\x1b[0m \x1b[34m13:00 \x1b[0m\nTo:   \x1b[34m04.10.2017\x1b[0m \x1b[34m18:00 \x1b[0m\n' == '[ ] Allday\nFrom: \x1b[31m2.10.2017 \x1b[0m \x1b[34m13:00 \x1b[0m\nTo:   \x1b[34m04.10.2017\x1b[0m \x1b[34m18:00 \x1b[0m\n'
E         
E           [ ] Allday
E         - From: 2.10.2017  13:00 
E         ?                     -
E         + From: 02.10.2017 13:00 
E         ?            +
E           To:   04.10.2017 18:00 

tests/ui/test_editor.py:107: AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367
  /usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367: DeprecationWarning: urwid.display_common is moved to urwid.display.common since urwid 2.4.0. API will be removed in version 6.0.
    module_file := getattr(module, "__file__", None)

../../../../../../usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367
  /usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367: DeprecationWarning: urwid.raw_display is moved to urwid.display.raw since urwid 2.4.0. API will be removed in version 6.0.
    module_file := getattr(module, "__file__", None)

../../../../../../usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367
  /usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367: DeprecationWarning: urwid.curses_display is moved to urwid.display.curses since urwid 2.4.0. API will be removed in version 6.0.
    module_file := getattr(module, "__file__", None)

../../../../../../usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367
  /usr/lib/python3/dist-packages/hypothesis/internal/conjecture/providers.py:367: DeprecationWarning: urwid.escape is moved to urwid.display.escape since urwid 2.4.0. API will be removed in version 6.0.
    module_file := getattr(module, "__file__", None)

tests/cli_test.py: 2 warnings
tests/controller_test.py: 3 warnings
tests/parse_datetime_test.py: 11 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_khal/build/khal/parse_datetime.py:83: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguous
  and fails to parse leap day. The default behavior will change in Python 3.15
  to either always raise an exception or to use a different default year (TBD).
  To avoid trouble, add a specific year to the input & format.
  See https://github.com/python/cpython/issues/70647.
    dtstart_struct = strptime(dtstring, dateformat)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/ui/test_editor.py::test_convert_to_date - AssertionError: assert '[ ] Allday\nFrom: \x1b[31m02.10.2017\x1b[0m \x1b[34m13:00 \x1b[0m\nTo:   \x1b[34m04.10.2017\x1b[0m \x1b[34m18:00 \x1b[0m\n' == '[ ] Allday\nFrom: \x1b[31m2.10.2017 \x1b[0m \x1b[34m13:00 \x1b[0m\nTo:   \x1b[34m04.10.2017\x1b[0m \x1b[34m18:00 \x1b[0m\n'
  
    [ ] Allday
  - From: 2.10.2017  13:00 
  ?                     -
  + From: 02.10.2017 13:00 
  ?            +
    To:   04.10.2017 18:00 
= 1 failed, 335 passed, 1 deselected, 3 xfailed, 2 xpassed, 20 warnings in 6.69s =
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_khal/build; python3.14 -m pytest -k 'not test_timezone_creation_with_arbitrary_dates' -vv
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make[1]: *** [debian/rules:63: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads