Source: tkcalendar
Version: 1.6.1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> HOME=/tmp xvfb-run -a dh_auto_test
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
> python3.12 -m unittest discover -v
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tkcalendar/calendar_.py:221:
> SyntaxWarning: invalid escape sequence '\ '
> font = kw.pop("font", "Liberation\ Sans 9")
> test_calendar_buttons_functions
> (tests.test_calendar.TestCalendar.test_calendar_buttons_functions) ... ERROR
> test_calendar_calevents
> (tests.test_calendar.TestCalendar.test_calendar_calevents) ... ok
> test_calendar_get_set
> (tests.test_calendar.TestCalendar.test_calendar_get_set) ... ok
> test_calendar_init (tests.test_calendar.TestCalendar.test_calendar_init) ...
> ERROR
> test_calendar_other_fcts
> (tests.test_calendar.TestCalendar.test_calendar_other_fcts) ... ok
> test_calendar_selection
> (tests.test_calendar.TestCalendar.test_calendar_selection) ... ok
> test_calendar_virtual_events
> (tests.test_calendar.TestCalendar.test_calendar_virtual_events) ... ok
> test_dateentry_drop_down
> (tests.test_dateentry.TestDateEntry.test_dateentry_drop_down)
> Check whether drop down opens on click. ... ok
> test_dateentry_functions
> (tests.test_dateentry.TestDateEntry.test_dateentry_functions) ... ERROR
> test_dateentry_get_set
> (tests.test_dateentry.TestDateEntry.test_dateentry_get_set) ... ok
> test_dateentry_init (tests.test_dateentry.TestDateEntry.test_dateentry_init)
> ... ok
> test_tooltip (tests.test_tooltip.TestTooltip.test_tooltip) ... ok
> test_tooltip_config
> (tests.test_tooltip.TestTooltipWrapper.test_tooltip_config) ... ok
> test_tooltipwrapper
> (tests.test_tooltip.TestTooltipWrapper.test_tooltipwrapper) ... ok
> test_tooltipwrapper_init
> (tests.test_tooltip.TestTooltipWrapper.test_tooltipwrapper_init) ... ok
>
> ======================================================================
> ERROR: test_calendar_buttons_functions
> (tests.test_calendar.TestCalendar.test_calendar_buttons_functions)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_calendar.py", line
> 194, in test_calendar_buttons_functions
> widget.selection_set(format_date(date(2018, 12, 31), 'short'))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/__init__.py",
> line 30, in format_date
> return babel.dates.format_date(date, length, locale)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/babel/dates.py", line 726, in
> format_date
> locale = Locale.parse(locale)
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/babel/core.py", line 330, in parse
> raise UnknownLocaleError(input_id)
> babel.core.UnknownLocaleError: unknown locale 'c'
>
> ======================================================================
> ERROR: test_calendar_init
> (tests.test_calendar.TestCalendar.test_calendar_init)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_calendar.py", line
> 38, in test_calendar_init
> today = format_date(date.today(), 'short')
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/__init__.py",
> line 30, in format_date
> return babel.dates.format_date(date, length, locale)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/babel/dates.py", line 726, in
> format_date
> locale = Locale.parse(locale)
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/babel/core.py", line 330, in parse
> raise UnknownLocaleError(input_id)
> babel.core.UnknownLocaleError: unknown locale 'c'
>
> ======================================================================
> ERROR: test_dateentry_functions
> (tests.test_dateentry.TestDateEntry.test_dateentry_functions)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_dateentry.py", line
> 114, in test_dateentry_functions
> widget.set_date(format_date(date(2018, 12, 31), 'short'))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/__init__.py",
> line 30, in format_date
> return babel.dates.format_date(date, length, locale)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/babel/dates.py", line 726, in
> format_date
> locale = Locale.parse(locale)
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/babel/core.py", line 330, in parse
> raise UnknownLocaleError(input_id)
> babel.core.UnknownLocaleError: unknown locale 'c'
>
> ----------------------------------------------------------------------
> Ran 15 tests in 0.821s
>
> FAILED (errors=3)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest
> discover -v
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build;
> python3.11 -m unittest discover -v
> test_calendar_buttons_functions
> (tests.test_calendar.TestCalendar.test_calendar_buttons_functions) ... ok
> test_calendar_calevents
> (tests.test_calendar.TestCalendar.test_calendar_calevents) ... ok
> test_calendar_get_set
> (tests.test_calendar.TestCalendar.test_calendar_get_set) ... ok
> test_calendar_init (tests.test_calendar.TestCalendar.test_calendar_init) ...
> ok
> test_calendar_other_fcts
> (tests.test_calendar.TestCalendar.test_calendar_other_fcts) ... ok
> test_calendar_selection
> (tests.test_calendar.TestCalendar.test_calendar_selection) ... ok
> test_calendar_virtual_events
> (tests.test_calendar.TestCalendar.test_calendar_virtual_events) ... ok
> test_dateentry_drop_down
> (tests.test_dateentry.TestDateEntry.test_dateentry_drop_down)
> Check whether drop down opens on click. ... ok
> test_dateentry_functions
> (tests.test_dateentry.TestDateEntry.test_dateentry_functions) ... ok
> test_dateentry_get_set
> (tests.test_dateentry.TestDateEntry.test_dateentry_get_set) ... ok
> test_dateentry_init (tests.test_dateentry.TestDateEntry.test_dateentry_init)
> ... ok
> test_tooltip (tests.test_tooltip.TestTooltip.test_tooltip) ... ok
> test_tooltip_config
> (tests.test_tooltip.TestTooltipWrapper.test_tooltip_config) ... ok
> test_tooltipwrapper
> (tests.test_tooltip.TestTooltipWrapper.test_tooltipwrapper) ... ok
> test_tooltipwrapper_init
> (tests.test_tooltip.TestTooltipWrapper.test_tooltipwrapper_init) ... ok
>
> ----------------------------------------------------------------------
> Ran 15 tests in 0.854s
>
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/tkcalendar_1.6.1-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.