Source: gnome-keysign
Version: 1.3.0-3
Severity: serious
Tags: ftbfs
Justification: FTBFS

Dear maintainer,

During a test rebuild, gnome-keysign failed to rebuild.

https://www.attrs.org/en/stable/changelog.html#id2

-------------------------------------------------------------------------------
[...]
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
xvfb-run -a python3 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0, twisted-1.14.1
collected 34 items / 3 errors

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_bluetooth.py ___________________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/tests/test_bluetooth.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_bluetooth.py:21: in <module>
    from keysign.util import mac_generate
keysign/util.py:43: in <module>
    from wormhole._wordlist import PGPWordList
/usr/lib/python3/dist-packages/wormhole/__init__.py:2: in <module>
    from .wormhole import create
/usr/lib/python3/dist-packages/wormhole/wormhole.py:11: in <module>
    from ._boss import Boss
/usr/lib/python3/dist-packages/wormhole/_boss.py:4: in <module>
    from attr.validators import instance_of, optional, provides
E   ImportError: cannot import name 'provides' from 'attr.validators' 
(/usr/lib/python3/dist-packages/attr/validators.py)
____________________ ERROR collecting tests/test_latin1.py _____________________
ImportError while importing test module '/<<PKGBUILDDIR>>/tests/test_latin1.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_latin1.py:12: in <module>
    from keysign.KeyPresent import KeyPresentWidget
keysign/KeyPresent.py:43: in <module>
    from .util import format_fingerprint
keysign/util.py:43: in <module>
    from wormhole._wordlist import PGPWordList
/usr/lib/python3/dist-packages/wormhole/__init__.py:2: in <module>
    from .wormhole import create
/usr/lib/python3/dist-packages/wormhole/wormhole.py:11: in <module>
    from ._boss import Boss
/usr/lib/python3/dist-packages/wormhole/_boss.py:4: in <module>
    from attr.validators import instance_of, optional, provides
E   ImportError: cannot import name 'provides' from 'attr.validators' 
(/usr/lib/python3/dist-packages/attr/validators.py)
___________________ ERROR collecting tests/test_wormhole.py ____________________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/tests/test_wormhole.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_wormhole.py:32: in <module>
    from keysign.offer import Offer
keysign/offer.py:4: in <module>
    from .wormholeoffer import WormholeOffer
keysign/wormholeoffer.py:26: in <module>
    from wormhole.cli.public_relay import RENDEZVOUS_RELAY
/usr/lib/python3/dist-packages/wormhole/__init__.py:2: in <module>
    from .wormhole import create
/usr/lib/python3/dist-packages/wormhole/wormhole.py:11: in <module>
    from ._boss import Boss
/usr/lib/python3/dist-packages/wormhole/_boss.py:4: in <module>
    from attr.validators import instance_of, optional, provides
E   ImportError: cannot import name 'provides' from 'attr.validators' 
(/usr/lib/python3/dist-packages/attr/validators.py)
=============================== warnings summary ===============================
keysign/QRCode.py:197
  /<<PKGBUILDDIR>>/keysign/QRCode.py:197: PyGIDeprecationWarning: 
GObject.property is deprecated; use GObject.Property instead
    data = GObject.property(getter=get_data, setter=set_data)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_bluetooth.py
ERROR tests/test_latin1.py
ERROR tests/test_wormhole.py
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 3 errors in 0.61s =========================
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-07T15:46:40Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/611519/

About the archive rebuild: The build was made on debusine.debian.net,
on arm64 using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/20630/

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,

Stefano

Reply via email to