Package: src:khal
Version: 1:0.11.3-1
User: [email protected]
Usertags: ftbfs-during-trixie-support-period
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable in the year 2028, your package 
failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
printf '# coding: utf-8\nversion = "%s"\nversion_tuple = (%s, %s, %s)\n' 0.11.3 0 
11 3 > khal/version.py
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/custom_types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/icalendar.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/terminal.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/controllers.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/parse_datetime.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/configwizard.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/calendar_display.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
copying khal/__main__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/ui
copying khal/ui/colors.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/ui
copying khal/ui/base.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/ui
copying khal/ui/widgets.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/ui
copying khal/ui/editor.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/ui
copying khal/ui/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/ui
copying khal/ui/calendarwidget.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/ui
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar
copying khal/khalendar/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar
copying khal/khalendar/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar
copying khal/khalendar/vdir.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar
copying khal/khalendar/khalendar.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar
copying khal/khalendar/event.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar
copying khal/khalendar/backend.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/settings
copying khal/settings/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/settings
copying khal/settings/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/settings
copying khal/settings/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/settings
copying khal/settings/settings.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/settings
copying khal/settings/khal.spec -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/settings
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=. python3 -m sphinx -b man doc/source /<<PKGBUILDDIR>>/doc/_build/man
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
loading intersphinx inventory 'python' from 
/usr/share/doc/python3-doc/html/objects.inv...
building [mo]: targets for 0 po files that are out of date
writing output...
building [man]: all manpages
updating environment: [new config] 40 added, 0 changed, 0 removed
reading sources... [  2%] changelog
reading sources... [  5%] configure
reading sources... [  8%] faq
reading sources... [ 10%] feedback
reading sources... [ 12%] hacking
reading sources... [ 15%] index
reading sources... [ 18%] install
reading sources... [ 20%] license
reading sources... [ 22%] man
reading sources... [ 25%] news
reading sources... [ 28%] news/30c3
reading sources... [ 30%] news/31c3
reading sources... [ 32%] news/callfortesting
reading sources... [ 35%] news/khal01
reading sources... [ 38%] news/khal0100
reading sources... [ 40%] news/khal011
reading sources... [ 42%] news/khal02
reading sources... [ 45%] news/khal03
reading sources... [ 48%] news/khal031
reading sources... [ 50%] news/khal04
reading sources... [ 52%] news/khal05
reading sources... [ 55%] news/khal06
reading sources... [ 57%] news/khal07
reading sources... [ 60%] news/khal071
reading sources... [ 62%] news/khal08
reading sources... [ 65%] news/khal081
reading sources... [ 68%] news/khal082
reading sources... [ 70%] news/khal083
reading sources... [ 72%] news/khal084
reading sources... [ 75%] news/khal09
reading sources... [ 78%] news/khal091
reading sources... [ 80%] news/khal092
reading sources... [ 82%] news/khal093
reading sources... [ 85%] news/khal094
reading sources... [ 88%] news/khal095
reading sources... [ 90%] news/khal096
reading sources... [ 92%] news/khal097
reading sources... [ 95%] news/khal098
reading sources... [ 98%] standards
reading sources... [100%] usage

/<<PKGBUILDDIR>>/doc/source/news.rst:10: ERROR: Unknown directive type "feed".

.. feed::
    :rss: index.rss
    :title: khal news
    :link: http://lostpackets.de/khal/

    news/khal0100
    news/khal098
    news/khal097
    news/khal096
    news/khal095
    news/khal094
    news/khal093
    news/khal092
    news/khal091
    news/khal09
    news/khal071
    news/khal084
    news/khal083
    news/khal082
    news/khal081
    news/khal08
    news/khal07
    news/khal06
    news/khal05
    news/khal04
    news/31c3
    news/khal031
    news/khal03
    news/khal02
    news/khal011
    news/khal01
    news/30c3
    news/callfortesting
/<<PKGBUILDDIR>>/doc/source/news/30c3.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2013-12-13
/<<PKGBUILDDIR>>/doc/source/news/31c3.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2014-12-09
/<<PKGBUILDDIR>>/doc/source/news/callfortesting.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2013-11-19
/<<PKGBUILDDIR>>/doc/source/news/khal01.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2014-04-03
/<<PKGBUILDDIR>>/doc/source/news/khal0100.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2019-03-25
/<<PKGBUILDDIR>>/doc/source/news/khal011.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2014-05-07
/<<PKGBUILDDIR>>/doc/source/news/khal02.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2014-06-27
/<<PKGBUILDDIR>>/doc/source/news/khal03.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2014-09-03
/<<PKGBUILDDIR>>/doc/source/news/khal031.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2014-09-08
/<<PKGBUILDDIR>>/doc/source/news/khal04.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2015-02-02
/<<PKGBUILDDIR>>/doc/source/news/khal05.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2015-06-01
/<<PKGBUILDDIR>>/doc/source/news/khal06.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2015-07-15
/<<PKGBUILDDIR>>/doc/source/news/khal07.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2015-11-24
/<<PKGBUILDDIR>>/doc/source/news/khal071.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2016-10-11
/<<PKGBUILDDIR>>/doc/source/news/khal08.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2016-04-13
/<<PKGBUILDDIR>>/doc/source/news/khal081.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2016-04-13
/<<PKGBUILDDIR>>/doc/source/news/khal082.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2016-05-16
/<<PKGBUILDDIR>>/doc/source/news/khal083.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2016-08-28
/<<PKGBUILDDIR>>/doc/source/news/khal084.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2016-10-06
/<<PKGBUILDDIR>>/doc/source/news/khal09.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-01-24
/<<PKGBUILDDIR>>/doc/source/news/khal091.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-01-25
/<<PKGBUILDDIR>>/doc/source/news/khal092.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-02-13
/<<PKGBUILDDIR>>/doc/source/news/khal093.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-03-06
/<<PKGBUILDDIR>>/doc/source/news/khal094.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-03-30
/<<PKGBUILDDIR>>/doc/source/news/khal095.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-04-10
/<<PKGBUILDDIR>>/doc/source/news/khal096.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-06-13
/<<PKGBUILDDIR>>/doc/source/news/khal097.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-09-15
/<<PKGBUILDDIR>>/doc/source/news/khal098.rst:4: ERROR: Unknown directive type 
"feed-entry".

.. feed-entry::
        :date: 2017-10-05
looking for now-outdated files... none found
pickling environment... done
checking consistency... /<<PKGBUILDDIR>>/doc/source/man.rst: WARNING: document 
isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news.rst: WARNING: document isn't included in any 
toctree
/<<PKGBUILDDIR>>/doc/source/news/30c3.rst: WARNING: document isn't included in 
any toctree
/<<PKGBUILDDIR>>/doc/source/news/31c3.rst: WARNING: document isn't included in 
any toctree
/<<PKGBUILDDIR>>/doc/source/news/callfortesting.rst: WARNING: document isn't 
included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal01.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal0100.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal011.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal02.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal03.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal031.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal04.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal05.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal06.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal07.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal071.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal08.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal081.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal082.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal083.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal084.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal09.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal091.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal092.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal093.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal094.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal095.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal096.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal097.rst: WARNING: document isn't included 
in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal098.rst: WARNING: document isn't included 
in any toctree
done
writing... khal.1 { usage configure standards faq license } 
/<<PKGBUILDDIR>>/doc/source/usage.rst:53: WARNING: unknown option: '--color'
/<<PKGBUILDDIR>>/doc/source/usage.rst:53: WARNING: unknown option: '--color'
/<<PKGBUILDDIR>>/doc/source/usage.rst:401: WARNING: unknown option: 
'--interactive'
/<<PKGBUILDDIR>>/doc/source/configure.rst:17: WARNING: unknown option: 
'-c\npath/to/config'
done
build succeeded, 63 warnings.

The manual pages are in doc/_build/man.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p debian/tmp/locale/
localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
localedef -f UTF-8 -i de_DE ./debian/tmp/locale/de_DE.UTF-8/
localedef -f UTF-8 -i cs_CZ ./debian/tmp/locale/cs_CZ.UTF-8/
localedef -f UTF-8 -i el_GR ./debian/tmp/locale/el_GR.UTF-8/
LOCPATH=/<<PKGBUILDDIR>>/debian/tmp/locale/ LC_ALL=en_US.UTF-8 dh_auto_test
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build; 
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build
configfile: pyproject.toml
plugins: hypothesis-6.105.1
collected 315 items

tests/backend_test.py ..............................                     [  9%]
tests/cal_display_test.py ........x                                      [ 12%]
tests/cli_test.py ..........xX.X...........................              [ 25%]
tests/configwizard_test.py ..                                            [ 26%]
tests/controller_test.py ............                                    [ 29%]
tests/event_test.py .................................................... [ 46%]
...F                                                                     [ 47%]
tests/icalendar_test.py .......                                          [ 49%]
tests/khalendar_test.py ..............................                   [ 59%]
tests/khalendar_utils_test.py .........................................  [ 72%]
tests/parse_datetime_test.py ........................................... [ 86%]
.....                                                                    [ 87%]
tests/settings_test.py ............                                      [ 91%]
tests/terminal_test.py ...                                               [ 92%]
tests/ui/test_calendarwidget.py .....                                    [ 93%]
tests/ui/test_editor.py ....                                             [ 95%]
tests/ui/test_widgets.py .                                               [ 95%]
tests/utils_test.py ........                                             [ 98%]
tests/vdir_test.py ...                                                   [ 99%]
tests/vtimezone_test.py ...                                              [100%]

=================================== FAILURES ===================================
_________________ test_timezone_creation_with_arbitrary_dates __________________

    @given(datetimes(min_value=min_value, max_value=max_value),
         datetimes(min_value=min_value, max_value=max_value))

tests/event_test.py:652:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

freeze_ts = datetime.datetime(2019, 1, 1, 0, 0)
event_time = datetime.datetime(2038, 1, 1, 0, 0)

    @given(datetimes(min_value=min_value, max_value=max_value),
           datetimes(min_value=min_value, max_value=max_value))
    def test_timezone_creation_with_arbitrary_dates(freeze_ts, event_time):
        """test if for arbitrary dates from the current date we produce a valid 
VTIMEZONE"""
        event(f'freeze_ts == event_time: {freeze_ts == event_time}')
        with freeze_time(freeze_ts):
            vtimezone = create_timezone(AMSTERDAM, 
event_time).to_ical().decode('utf-8')
        assert len(vtimezone) > 14
        assert 'BEGIN:STANDARD' in vtimezone
      assert 'BEGIN:DAYLIGHT' in vtimezone
E       AssertionError: assert 'BEGIN:DAYLIGHT' in 
'BEGIN:VTIMEZONE\r\nTZID:Europe/Amsterdam\r\nBEGIN:STANDARD\r\nDTSTART:20371025T020000\r\nTZNAME:CET\r\nTZOFFSETFROM:+0200\r\nTZOFFSETTO:+0100\r\nEND:STANDARD\r\nEND:VTIMEZONE\r\n'
E       Falsifying example: test_timezone_creation_with_arbitrary_dates(
E           freeze_ts=datetime.datetime(2019, 1, 1, 0, 0),  # or any other 
generated value
E           event_time=datetime.datetime(2038, 1, 1, 0, 0),
E       )

tests/event_test.py:660: AssertionError
=============================== warnings summary ===============================
tests/backend_test.py:5
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/tests/backend_test.py:5: 
DeprecationWarning: pkg_resources is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

tests/backend_test.py: 67 warnings
tests/cli_test.py: 18 warnings
tests/controller_test.py: 13 warnings
tests/khalendar_test.py: 10 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:517:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    start = pytz.UTC.localize(dt.datetime.utcfromtimestamp(start_timestamp))

tests/backend_test.py: 67 warnings
tests/cli_test.py: 18 warnings
tests/controller_test.py: 13 warnings
tests/khalendar_test.py: 10 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:518:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    end = pytz.UTC.localize(dt.datetime.utcfromtimestamp(end_timestamp))

tests/backend_test.py: 34 warnings
tests/cli_test.py: 23 warnings
tests/controller_test.py: 3 warnings
tests/khalendar_test.py: 16 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:563:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    start_dt = dt.datetime.utcfromtimestamp(start_s)

tests/backend_test.py: 34 warnings
tests/cli_test.py: 23 warnings
tests/controller_test.py: 3 warnings
tests/khalendar_test.py: 16 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:564:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    end_dt = dt.datetime.utcfromtimestamp(end_s)

tests/backend_test.py: 2 warnings
tests/cli_test.py: 3 warnings
tests/khalendar_test.py: 5 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:614:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    start = dt.datetime.utcfromtimestamp(start)

tests/backend_test.py: 2 warnings
tests/cli_test.py: 3 warnings
tests/khalendar_test.py: 5 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:615:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    end = dt.datetime.utcfromtimestamp(end)

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1007: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    if ismodule(module) and hasattr(module, '__file__'):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1008: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    f = module.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:914: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    if getattr(object, '__file__', None):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:915: DeprecationWarning: urwid.lcd_display is 
moved to urwid.display.lcd
    return object.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1007: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    if ismodule(module) and hasattr(module, '__file__'):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1008: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    f = module.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:914: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    if getattr(object, '__file__', None):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:915: DeprecationWarning: urwid.html_fragment 
is moved to urwid.display.html_fragment
    return object.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1007: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    if ismodule(module) and hasattr(module, '__file__'):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1008: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    f = module.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:914: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    if getattr(object, '__file__', None):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:915: DeprecationWarning: urwid.web_display is 
moved to urwid.display.web
    return object.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1007: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    if ismodule(module) and hasattr(module, '__file__'):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1008: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    f = module.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:914: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    if getattr(object, '__file__', None):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:915: DeprecationWarning: urwid.monitored_list 
is moved to urwid.widget.monitored_list
    return object.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1007: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    if ismodule(module) and hasattr(module, '__file__'):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1008: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    f = module.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:914: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    if getattr(object, '__file__', None):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:915: DeprecationWarning: urwid.listbox is 
moved to urwid.widget.listbox
    return object.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1007: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    if ismodule(module) and hasattr(module, '__file__'):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:1008: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    f = module.__file__

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:914: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    if getattr(object, '__file__', None):

tests/cal_display_test.py::test_vertical_month_abbr_fr
  /usr/lib/python3.12/inspect.py:915: DeprecationWarning: urwid.treetools is 
moved to urwid.widget.treetools
    return object.__file__

tests/cli_test.py::test_search
tests/cli_test.py::test_import_proper_invalid_timezone
tests/cli_test.py::test_edit
tests/khalendar_test.py::TestCollection::test_search
tests/khalendar_test.py::TestCollection::test_search
tests/khalendar_test.py::TestCollection::test_invalid_timezones
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:597:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    start = pytz.UTC.localize(dt.datetime.utcfromtimestamp(start))

tests/cli_test.py::test_search
tests/cli_test.py::test_import_proper_invalid_timezone
tests/cli_test.py::test_edit
tests/khalendar_test.py::TestCollection::test_search
tests/khalendar_test.py::TestCollection::test_search
tests/khalendar_test.py::TestCollection::test_invalid_timezones
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build/khal/khalendar/backend.py:598:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    end = pytz.UTC.localize(dt.datetime.utcfromtimestamp(end))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/event_test.py::test_timezone_creation_with_arbitrary_dates - Ass...
====== 1 failed, 310 passed, 2 xfailed, 2 xpassed, 425 warnings in 10.69s ======
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build; python3.12 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make[1]: *** [debian/rules:60: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/ftbfs-future/

About the archive rebuild: This is an effort to keep trixie free from FTBFS bugs
during its lifetime as a supported distribution, as explained here:

https://lists.debian.org/debian-devel/2024/05/msg00414.html

(While they are not yet, please note that the bugs will be RC for trixie)

The build was made using sbuild and a reduced chroot with only
build-essential packages.

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to