Your message dated Sun, 01 Jan 2023 19:40:00 -0700
with message-id <874jt9accf....@melete.silentflame.com>
and subject line Fix uploaded
has caused the Debian Bug report #1026548,
regarding python-pgpy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest 
-i python{version} -p "3.11 3.10" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1026548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026548
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
> 
> ============================= test session starts 
> ==============================
> 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
> collecting ... collected 21 items / 8 errors
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_01_packetfields.py _
> tests/test_01_packetfields.py:7: in <module>
>     from 
> pgpy.constants 
> import HashAlgorithm
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> _ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_02_packets.py __
> tests/test_02_packets.py:8: in <module>
>     from 
> pgpy.packet 
> import Packet
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> __ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_03_armor.py ___
> tests/test_03_armor.py:9: in <module>
>     from 
> pgpy.constants 
> import HashAlgorithm
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> _ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_04_PGP_objects.py _
> tests/test_04_PGP_objects.py:8: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> ___ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_04_copy.py ___
> tests/test_04_copy.py:12: in <module>
>     import pgpy
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> _ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_05_actions.py __
> tests/test_05_actions.py:19: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> _ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_10_exceptions.py _
> tests/test_10_exceptions.py:8: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> _ ERROR collecting 
> .pybuild/cpython3_3.11_pgpy/build/tests/test_99_regressions.py _
> tests/test_99_regressions.py:14: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'
> =============================== warnings summary 
> ===============================
> 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
> =========================== short test summary info 
> ============================
> ERROR tests/test_01_packetfields.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_02_packets.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_03_armor.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_04_PGP_objects.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_04_copy.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_05_actions.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_10_exceptions.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_99_regressions.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ======================== 3 warnings, 8 errors 
> in 0.86s =========================
> 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
> 
> ============================= test session starts 
> ==============================
> 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
> collecting ... collected 21 items / 8 errors
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_01_packetfields.py _
> tests/test_01_packetfields.py:7: in <module>
>     from 
> pgpy.constants 
> import HashAlgorithm
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> _ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_02_packets.py __
> tests/test_02_packets.py:8: in <module>
>     from 
> pgpy.packet 
> import Packet
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> __ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_03_armor.py ___
> tests/test_03_armor.py:9: in <module>
>     from 
> pgpy.constants 
> import HashAlgorithm
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> _ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_04_PGP_objects.py _
> tests/test_04_PGP_objects.py:8: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> ___ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_04_copy.py ___
> tests/test_04_copy.py:12: in <module>
>     import pgpy
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> _ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_05_actions.py __
> tests/test_05_actions.py:19: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> _ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_10_exceptions.py _
> tests/test_10_exceptions.py:8: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> _ ERROR collecting 
> .pybuild/cpython3_3.10_pgpy/build/tests/test_99_regressions.py _
> tests/test_99_regressions.py:14: in <module>
>     from pgpy import 
> PGPKey
> pgpy/__init__.py:4: in <module>
>     from .pgp 
> import PGPKey
> pgpy/pgp.py:27: in <module>
>     from .constants 
> import CompressionAlgorithm
> pgpy/constants.py:23: in <module>
>     from ._curves 
> import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, 
> X25519, Ed25519
> pgpy/_curves.py:37: in <module>
>     @utils.register_interface(ec.EllipticCurve)
> E   AttributeError: module 'cryptography.utils' has no attribute 
> 'register_interface'. Did you mean: 'verify_interface'?
> =============================== warnings summary 
> ===============================
> 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
> =========================== short test summary info 
> ============================
> ERROR tests/test_01_packetfields.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_02_packets.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_03_armor.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_04_PGP_objects.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_04_copy.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_05_actions.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_10_exceptions.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> ERROR tests/test_99_regressions.py - AttributeError: module 
> 'cryptography.utils' has no attribute 'register_inte...
> !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ======================== 2 warnings, 8 errors 
> in 1.21s =========================
> 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.

--- End Message ---
--- Begin Message ---
Version: 0.5.4-4.1

-- 
Sean Whitton

--- End Message ---

Reply via email to