Article View: linux.debian.bugs.dist
Article #1144Bug#1151148: khal: FTBFS: E AssertionError: assert '[ ] Allday
From: Santiago Vila
Date: Sat, 17 Oct 2026 13:40
Date: Sat, 17 Oct 2026 13:40
90 lines
7032 bytes
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: [31m2.10.2017 [0m [34m13:00 [0m
E ? -
E + From: [31m02.10.2017[0m [34m13:00 [0m
E ? +
E To: [34m04.10.2017[0m [34m18:00 [0m
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: [31m2.10.2017 [0m [34m13:00 [0m
? -
+ From: [31m02.10.2017[0m [34m13:00 [0m
? +
To: [34m04.10.2017[0m [34m18:00 [0m
= 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
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NPcNH-68V2-17@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151148: khal: FTBFS: E AssertionError: assert '[ ] Allday Date: Sat, 17 Oct 2026 15:40:01 +0200 Message-ID: <NPcNH-68V2-17@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 17 13:39:32 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.699 Reply-To: Santiago Vila <sanvila@debian.org>, 1151148@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1151148 X-Debian-Pr-Package: src:khal X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: khal X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997221 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 90 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 17 Oct 2026 13:38:17 +0000 X-Original-Message-ID: <E1xI4c5-008Jqm-30@paradis.debian.org>