Source: python-omemo Version: 1.0.2-3 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 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 --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:310: python3.12 setup.py config > running config > I: pybuild base:310: python3.11 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:310: /usr/bin/python3.12 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/session_manager.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/identity_key_pair.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/session.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/version.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/project.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/bundle.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/storage.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/types.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/message.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > copying omemo/backend.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > running egg_info > creating OMEMO.egg-info > writing OMEMO.egg-info/PKG-INFO > writing dependency_links to OMEMO.egg-info/dependency_links.txt > writing requirements to OMEMO.egg-info/requires.txt > writing top-level names to OMEMO.egg-info/top_level.txt > writing manifest file 'OMEMO.egg-info/SOURCES.txt' > reading manifest file 'OMEMO.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > adding license file 'LICENSE' > writing manifest file 'OMEMO.egg-info/SOURCES.txt' > copying omemo/py.typed -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build/omemo > I: pybuild base:310: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/session_manager.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/identity_key_pair.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/session.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/version.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/project.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/bundle.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/storage.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/types.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/message.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > copying omemo/backend.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > running egg_info > writing OMEMO.egg-info/PKG-INFO > writing dependency_links to OMEMO.egg-info/dependency_links.txt > writing requirements to OMEMO.egg-info/requires.txt > writing top-level names to OMEMO.egg-info/top_level.txt > reading manifest file 'OMEMO.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > adding license file 'LICENSE' > writing manifest file 'OMEMO.egg-info/SOURCES.txt' > copying omemo/py.typed -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build; > python3.12 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > plugins: asyncio-0.20.3 > asyncio: mode=Mode.STRICT > collected 0 items / 1 error > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.12_omemo/build/tests/test_session_manager.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.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > <frozen importlib._bootstrap>:1387: in _gcd_import > ??? > <frozen importlib._bootstrap>:1360: in _find_and_load > ??? > <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked > ??? > <frozen importlib._bootstrap>:935: in _load_unlocked > ??? > /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in > exec_module > exec(co, module.__dict__) > tests/test_session_manager.py:6: in <module> > import oldmemo.etree > /usr/lib/python3/dist-packages/oldmemo/etree.py:16: in <module> > import xmlschema > /usr/lib/python3/dist-packages/xmlschema/__init__.py:20: in <module> > from .dataobjects import DataElement, DataElementConverter, > DataBindingConverter > /usr/lib/python3/dist-packages/xmlschema/dataobjects.py:27: in <module> > from . import validators > /usr/lib/python3/dist-packages/xmlschema/validators/__init__.py:38: in > <module> > from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, > XMLSchema10, XMLSchema11 > /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:2137: in > <module> > class XMLSchema10(XMLSchemaBase): > /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:148: in __new__ > meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) > /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:763: in > create_meta_schema > meta_schema = meta_schema_class(source, XSD_NAMESPACE, > global_maps=global_maps, > /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:357: in > __init__ > self.source = XMLResource(source, base_url, allow, defuse, timeout) > /usr/lib/python3/dist-packages/xmlschema/resources.py:511: in __init__ > self.parse(source, lazy) > /usr/lib/python3/dist-packages/xmlschema/resources.py:746: in parse > url = normalize_url(source, self._base_url) > /usr/lib/python3/dist-packages/xmlschema/resources.py:188: in normalize_url > path = _PurePath.from_uri(url) > /usr/lib/python3/dist-packages/xmlschema/resources.py:109: in from_uri > return cls(uri) > /usr/lib/python3/dist-packages/xmlschema/resources.py:98: in __new__ > return cast('_PurePath', cls._from_parts(args)) > E AttributeError: type object '_PurePosixPath' has no attribute > '_from_parts'. Did you mean: '_load_parts'? > =============================== warnings summary > =============================== > <frozen importlib._bootstrap>:488 > <frozen importlib._bootstrap>:488: DeprecationWarning: Type > google.protobuf.pyext._message.ScalarMapContainer uses PyType_Spec with a > metaclass that has custom tp_new. This is deprecated and will no longer be > allowed in Python 3.14. > > <frozen importlib._bootstrap>:488 > <frozen importlib._bootstrap>:488: DeprecationWarning: Type > google.protobuf.pyext._message.MessageMapContainer uses PyType_Spec with a > metaclass that has custom tp_new. This is deprecated and will no longer be > allowed in Python 3.14. > > ../../../../../../usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91 > > /usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91: > 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). > _EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > ERROR tests/test_session_manager.py - AttributeError: type object > '_PurePosix... > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection > !!!!!!!!!!!!!!!!!!!! > ========================= 3 warnings, 1 error in 0.65s > ========================= > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_omemo/build; python3.12 -m pytest > tests > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build; > python3.11 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > plugins: asyncio-0.20.3 > asyncio: mode=Mode.STRICT > collected 1 item > > tests/test_session_manager.py . > [100%] > > ============================== 1 passed in 0.71s > =============================== > Task was destroyed but it is pending! > task: <Task pending name='Task-2' > coro=<SessionManager.__manage_signed_pre_key_rotation() running at > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo/session_manager.py:708> > wait_for=<Future pending cb=[Task.task_wakeup()]>> > Task was destroyed but it is pending! > task: <Task pending name='Task-3' > coro=<SessionManager.__manage_signed_pre_key_rotation() running at > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_omemo/build/omemo/session_manager.py:708> > wait_for=<Future pending cb=[Task.task_wakeup()]>> > dh_auto_test: error: pybuild --test --test-pytest -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/python-omemo_1.0.2-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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.