Source: python-caldav
Version: 0.11.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>       pybuild --configure -i python{version} -p 3.11
> I: pybuild base:291: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
>       pybuild --build -i python{version} -p 3.11
> I: pybuild base:291: /usr/bin/python3 setup.py build 
> running build
> running build_py
> file caldav.py (for module caldav) not found
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav
> copying caldav/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav
> copying caldav/objects.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav
> copying caldav/davclient.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/elements
> copying caldav/elements/ical.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/elements
> copying caldav/elements/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/elements
> copying caldav/elements/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/elements
> copying caldav/elements/dav.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/elements
> copying caldav/elements/cdav.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/elements
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> copying caldav/lib/vcal.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> copying caldav/lib/debug.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> copying caldav/lib/python_utilities.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> copying caldav/lib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> copying caldav/lib/namespace.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> copying caldav/lib/error.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> copying caldav/lib/url.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build/caldav/lib
> running egg_info
> creating caldav.egg-info
> writing caldav.egg-info/PKG-INFO
> writing dependency_links to caldav.egg-info/dependency_links.txt
> writing requirements to caldav.egg-info/requires.txt
> writing top-level names to caldav.egg-info/top_level.txt
> writing manifest file 'caldav.egg-info/SOURCES.txt'
> file caldav.py (for module caldav) not found
> reading manifest file 'caldav.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'changelog.0.8.md'
> adding license file 'COPYING.APACHE'
> adding license file 'COPYING.GPL'
> writing manifest file 'caldav.egg-info/SOURCES.txt'
> file caldav.py (for module caldav) not found
>    dh_auto_test -O--buildsystem=pybuild
>       pybuild --test --test-pytest -i python{version} -p 3.11
> I: pybuild base:291: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build; 
> python3.11 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 101 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> ___ ERROR collecting .pybuild/cpython3_3.11_caldav/build/tests/test_cdav.py 
> ____
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_cdav.py:8: in <module>
>     SOMEWHERE_REMOTE = pytz.timezone("Brazil/DeNoronha")  # UTC-2 and no DST
> /usr/lib/python3/dist-packages/pytz/__init__.py:202: in timezone
>     raise UnknownTimeZoneError(zone)
> E   pytz.exceptions.UnknownTimeZoneError: 'Brazil/DeNoronha'
> =========================== short test summary info 
> ============================
> ERROR tests/test_cdav.py - pytz.exceptions.UnknownTimeZoneError: 
> 'Brazil/DeNo...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.62s 
> ===============================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_caldav/build; python3.11 -m pytest 
> tests
>       rm -fr -- /tmp/dh-xdg-rundir-Mlg06e1n
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/python-caldav_0.11.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lu...@debian.org&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.

Reply via email to