Package: src:khal
Version: 1:0.11.3-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, 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
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning:
Unknown distribution option: 'tests_require'
warnings.warn(msg)
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning:
Unknown distribution option: 'tests_require'
warnings.warn(msg)
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.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_khal/build
configfile: pyproject.toml
plugins: hypothesis-6.112.1, typeguard-4.3.0
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 ...............................F.................... [ 46%]
.... [ 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 ..F [100%]
=================================== FAILURES ===================================
______________________________ test_event_no_dst _______________________________
def test_event_no_dst():
"""test the creation of a corect VTIMEZONE for timezones with no dst"""
event_no_dst = _get_text('event_no_dst')
cal_no_dst = _get_text('cal_no_dst')
event = Event.fromString(event_no_dst, calendar='foobar',
locale=LOCALE_BOGOTA)
if version.parse(pytz.__version__) > version.Version('2017.1'):
cal_no_dst = cal_no_dst.replace(
'TZNAME:COT',
'RDATE:20380118T221407\r\nTZNAME:-05'
)
assert normalize_component(event.raw) == normalize_component(cal_no_dst)
E AssertionError: assert ('VCALENDAR',...enset())}))})) ==
('VCALENDAR',...enset())}))}))
E
E At index 2 diff: frozenset({('VTIMEZONE',
b'BEGIN:VTIMEZONE\r\nTZID:America/Bogota\r\nEND:VTIMEZONE\r\n',
frozenset({('STANDARD',
b'BEGIN:STANDARD\r\nDTSTART:19930206T230000\r\nTZNAME:-05\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\n',
frozenset())})), ('VEVENT', b'BEGIN:VEVENT\r\nSUMMARY:An
Event\r\nDTSTART;TZID=America/Bogota:20140409T093000\r\nDTEND;TZID=America/Bogota:20140409T103000\r\nDTSTAMP:20140401T234817Z\r\nUID:event_no_dst\r\nEND:VEVENT\r\n',
frozenset())}) != frozenset({('VEVENT', b'BEGIN:VEVENT\r\nSUMMARY:An
Event\r\nDTSTART;TZID=America/Bo...
E
E ...Full output truncated (2 lines hidden), use '-vv' to show
tests/event_test.py:364: AssertionError
_________________________________ test_bogota __________________________________
def test_bogota():
vbogota = [b'BEGIN:VTIMEZONE',
b'TZID:America/Bogota',
b'BEGIN:STANDARD',
b'DTSTART:19930206T230000',
b'TZNAME:COT',
b'TZOFFSETFROM:-0400',
b'TZOFFSETTO:-0500',
b'END:STANDARD',
b'END:VTIMEZONE',
b'']
if version.parse(pytz.__version__) > version.Version('2017.1'):
vbogota[4] = b'TZNAME:-05'
vbogota.insert(4, b'RDATE:20380118T221407')
assert create_timezone(bogota, atime, atime).to_ical().split(b'\r\n') ==
vbogota
E AssertionError: assert [b'BEGIN:VTIM...M:-0400', ...] ==
[b'BEGIN:VTIM...AME:-05', ...]
E
E At index 4 diff: b'TZNAME:-05' != b'RDATE:20380118T221407'
E Right contains one more item: b''
E Use -v to get more diff
tests/vtimezone_test.py:82: 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_event_no_dst - AssertionError: assert ('VCAL...
FAILED tests/vtimezone_test.py::test_bogota - AssertionError: assert [b'BEGIN...
====== 2 failed, 309 passed, 2 xfailed, 2 xpassed, 425 warnings in 5.82s =======
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:58: 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/202410/
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 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.