Source: python-pgpy Version: 0.5.4-4 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20221220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > LC_ALL=C.UTF-8 PYBUILD_VERSIONS=3.6 dh_auto_test -O--buildsystem=pybuild > I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pgpy/build; > python3.11 -m pytest tests > == PGPy Test Suite == > Working Directory: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pgpy/build > Using OpenSSL 3.0.7 > Using GnuPG 2.2.40 > > [1m============================= test session starts > ==============================[0m > platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack -- > /usr/bin/python3.11 > cachedir: .pytest_cache > rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini > plugins: cov-4.0.0 > [1mcollecting ... [0mcollected 21 items / 8 errors > > ==================================== ERRORS > ==================================== > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_01_packetfields.py _[0m > [1m[31mtests/test_01_packetfields.py[0m:7: in <module> > [94mfrom[39;49;00m > [04m[96mpgpy[39;49;00m[04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m HashAlgorithm > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_02_packets.py __[0m > [1m[31mtests/test_02_packets.py[0m:8: in <module> > [94mfrom[39;49;00m > [04m[96mpgpy[39;49;00m[04m[96m.[39;49;00m[04m[96mpacket[39;49;00m > [94mimport[39;49;00m Packet > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [31m[1m__ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_03_armor.py ___[0m > [1m[31mtests/test_03_armor.py[0m:9: in <module> > [94mfrom[39;49;00m > [04m[96mpgpy[39;49;00m[04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m HashAlgorithm > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_04_PGP_objects.py _[0m > [1m[31mtests/test_04_PGP_objects.py[0m:8: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [31m[1m___ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_04_copy.py ___[0m > [1m[31mtests/test_04_copy.py[0m:12: in <module> > [94mimport[39;49;00m [04m[96mpgpy[39;49;00m > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_05_actions.py __[0m > [1m[31mtests/test_05_actions.py[0m:19: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_10_exceptions.py _[0m > [1m[31mtests/test_10_exceptions.py[0m:8: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.11_pgpy/build/tests/test_99_regressions.py _[0m > [1m[31mtests/test_99_regressions.py[0m:14: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'[0m > [33m=============================== warnings summary > ===============================[0m > tests/conftest.py:16 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pgpy/build/tests/conftest.py:16: > DeprecationWarning: distutils Version classes are deprecated. Use > packaging.version instead. > openssl_ver = LooseVersion(openssl.backend.openssl_version_text().split(' > ')[1]) > > tests/conftest.py:17 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pgpy/build/tests/conftest.py:17: > DeprecationWarning: distutils Version classes are deprecated. Use > packaging.version instead. > gpg_ver = LooseVersion('0') > > pgpy/constants.py:5 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pgpy/build/pgpy/constants.py:5: > DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python > 3.13 > import imghdr > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > [36m[1m=========================== short test summary info > ============================[0m > [31mERROR[0m tests/test_01_packetfields.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_02_packets.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_03_armor.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_04_PGP_objects.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_04_copy.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_05_actions.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_10_exceptions.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_99_regressions.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection > !!!!!!!!!!!!!!!!!!!! > [31m======================== [33m3 warnings[0m, [31m[1m8 errors[0m[31m > in 0.86s[0m[31m =========================[0m > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pgpy/build; python3.11 -m pytest tests > I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pgpy/build; > python3.10 -m pytest tests > == PGPy Test Suite == > Working Directory: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pgpy/build > Using OpenSSL 3.0.7 > Using GnuPG 2.2.40 > > [1m============================= test session starts > ==============================[0m > platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack -- > /usr/bin/python3.10 > cachedir: .pytest_cache > rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini > plugins: cov-4.0.0 > [1mcollecting ... [0mcollected 21 items / 8 errors > > ==================================== ERRORS > ==================================== > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_01_packetfields.py _[0m > [1m[31mtests/test_01_packetfields.py[0m:7: in <module> > [94mfrom[39;49;00m > [04m[96mpgpy[39;49;00m[04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m HashAlgorithm > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_02_packets.py __[0m > [1m[31mtests/test_02_packets.py[0m:8: in <module> > [94mfrom[39;49;00m > [04m[96mpgpy[39;49;00m[04m[96m.[39;49;00m[04m[96mpacket[39;49;00m > [94mimport[39;49;00m Packet > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [31m[1m__ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_03_armor.py ___[0m > [1m[31mtests/test_03_armor.py[0m:9: in <module> > [94mfrom[39;49;00m > [04m[96mpgpy[39;49;00m[04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m HashAlgorithm > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_04_PGP_objects.py _[0m > [1m[31mtests/test_04_PGP_objects.py[0m:8: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [31m[1m___ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_04_copy.py ___[0m > [1m[31mtests/test_04_copy.py[0m:12: in <module> > [94mimport[39;49;00m [04m[96mpgpy[39;49;00m > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_05_actions.py __[0m > [1m[31mtests/test_05_actions.py[0m:19: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_10_exceptions.py _[0m > [1m[31mtests/test_10_exceptions.py[0m:8: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [31m[1m_ ERROR collecting > .pybuild/cpython3_3.10_pgpy/build/tests/test_99_regressions.py _[0m > [1m[31mtests/test_99_regressions.py[0m:14: in <module> > [94mfrom[39;49;00m [04m[96mpgpy[39;49;00m [94mimport[39;49;00m > PGPKey > [1m[31mpgpy/__init__.py[0m:4: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mpgp[39;49;00m > [94mimport[39;49;00m PGPKey > [1m[31mpgpy/pgp.py[0m:27: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mconstants[39;49;00m > [94mimport[39;49;00m CompressionAlgorithm > [1m[31mpgpy/constants.py[0m:23: in <module> > [94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96m_curves[39;49;00m > [94mimport[39;49;00m BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, > X25519, Ed25519 > [1m[31mpgpy/_curves.py[0m:37: in <module> > [37m@utils[39;49;00m.register_interface(ec.EllipticCurve) > [1m[31mE AttributeError: module 'cryptography.utils' has no attribute > 'register_interface'. Did you mean: 'verify_interface'?[0m > [33m=============================== warnings summary > ===============================[0m > tests/conftest.py:16 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pgpy/build/tests/conftest.py:16: > DeprecationWarning: distutils Version classes are deprecated. Use > packaging.version instead. > openssl_ver = LooseVersion(openssl.backend.openssl_version_text().split(' > ')[1]) > > tests/conftest.py:17 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pgpy/build/tests/conftest.py:17: > DeprecationWarning: distutils Version classes are deprecated. Use > packaging.version instead. > gpg_ver = LooseVersion('0') > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > [36m[1m=========================== short test summary info > ============================[0m > [31mERROR[0m tests/test_01_packetfields.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_02_packets.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_03_armor.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_04_PGP_objects.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_04_copy.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_05_actions.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_10_exceptions.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > [31mERROR[0m tests/test_99_regressions.py - AttributeError: module > 'cryptography.utils' has no attribute 'register_inte... > !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection > !!!!!!!!!!!!!!!!!!!! > [31m======================== [33m2 warnings[0m, [31m[1m8 errors[0m[31m > in 1.21s[0m[31m =========================[0m > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pgpy/build; python3.10 -m pytest tests > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 > 3.10" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/12/20/python-pgpy_0.5.4-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&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.