Source: python-signedjson Version: 1.1.1-2 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 > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running config > I: pybuild base:310: python3.11 setup.py config > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:310: /usr/bin/python3.12 setup.py build > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/signedjson > copying signedjson/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/signedjson > copying signedjson/key.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/signedjson > copying signedjson/types.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/signedjson > copying signedjson/sign.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/signedjson > I: pybuild base:310: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build/signedjson > copying signedjson/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build/signedjson > copying signedjson/key.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build/signedjson > copying signedjson/types.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build/signedjson > copying signedjson/sign.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build/signedjson > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build; python3.12 -m > unittest discover -v > test_ed25519 (tests.test_key.AlgorithmSupportedTestCase.test_ed25519) ... ok > test_unsupported (tests.test_key.AlgorithmSupportedTestCase.test_unsupported) > ... ok > test_decode (tests.test_key.DecodeTestCase.test_decode) ... ERROR > test_decode_invalid_base64 > (tests.test_key.DecodeTestCase.test_decode_invalid_base64) ... ok > test_decode_invalid_key > (tests.test_key.DecodeTestCase.test_decode_invalid_key) ... ok > test_decode_signing_invalid_algorithm > (tests.test_key.DecodeTestCase.test_decode_signing_invalid_algorithm) ... ok > test_decode_verify_invalid_algorithm > (tests.test_key.DecodeTestCase.test_decode_verify_invalid_algorithm) ... ok > test_decode_verify_key (tests.test_key.DecodeTestCase.test_decode_verify_key) > ... ERROR > test_decode_verify_key_invalid_algorithm > (tests.test_key.DecodeTestCase.test_decode_verify_key_invalid_algorithm) ... > ok > test_decode_verify_key_invalid_base64 > (tests.test_key.DecodeTestCase.test_decode_verify_key_invalid_base64) ... ok > test_decode_verify_key_invalid_key > (tests.test_key.DecodeTestCase.test_decode_verify_key_invalid_key) ... ok > test_read_keys (tests.test_key.DecodeTestCase.test_read_keys) ... ERROR > test_read_old_keys (tests.test_key.DecodeTestCase.test_read_old_keys) ... > ERROR > test_write_signing_keys > (tests.test_key.DecodeTestCase.test_write_signing_keys) ... ok > test_generate_key (tests.test_key.GenerateTestCase.test_generate_key) ... > ERROR > test_sign_minimal (tests.test_known_key.KnownKeyTestCase.test_sign_minimal) > ... ERROR > test_sign_with_data > (tests.test_known_key.KnownKeyTestCase.test_sign_with_data) ... ERROR > test_sign_and_verify (tests.test_sign.JsonSignTestCase.test_sign_and_verify) > ... ok > test_signature_ids (tests.test_sign.JsonSignTestCase.test_signature_ids) ... > ok > test_verify_fail (tests.test_sign.JsonSignTestCase.test_verify_fail) ... ok > test_verify_fail_no_signature_for_alice > (tests.test_sign.JsonSignTestCase.test_verify_fail_no_signature_for_alice) > ... ok > test_verify_fail_no_signatures > (tests.test_sign.JsonSignTestCase.test_verify_fail_no_signatures) ... ok > test_verify_fail_not_base64 > (tests.test_sign.JsonSignTestCase.test_verify_fail_not_base64) ... ok > > ====================================================================== > ERROR: test_decode (tests.test_key.DecodeTestCase.test_decode) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/tests/test_key.py", > line 38, in test_decode > self.assertEquals(decoded_key.alg, "ed25519") > ^^^^^^^^^^^^^^^^^ > AttributeError: 'DecodeTestCase' object has no attribute 'assertEquals'. Did > you mean: 'assertEqual'? > > ====================================================================== > ERROR: test_decode_verify_key > (tests.test_key.DecodeTestCase.test_decode_verify_key) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/tests/test_key.py", > line 57, in test_decode_verify_key > self.assertEquals(decoded_key.alg, "ed25519") > ^^^^^^^^^^^^^^^^^ > AttributeError: 'DecodeTestCase' object has no attribute 'assertEquals'. Did > you mean: 'assertEqual'? > > ====================================================================== > ERROR: test_read_keys (tests.test_key.DecodeTestCase.test_read_keys) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/tests/test_key.py", > line 75, in test_read_keys > self.assertEquals(len(keys), 1) > ^^^^^^^^^^^^^^^^^ > AttributeError: 'DecodeTestCase' object has no attribute 'assertEquals'. Did > you mean: 'assertEqual'? > > ====================================================================== > ERROR: test_read_old_keys (tests.test_key.DecodeTestCase.test_read_old_keys) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/tests/test_key.py", > line 80, in test_read_old_keys > self.assertEquals(len(keys), 1) > ^^^^^^^^^^^^^^^^^ > AttributeError: 'DecodeTestCase' object has no attribute 'assertEquals'. Did > you mean: 'assertEqual'? > > ====================================================================== > ERROR: test_generate_key (tests.test_key.GenerateTestCase.test_generate_key) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/tests/test_key.py", > line 22, in test_generate_key > self.assertEquals(my_key.alg, "ed25519") > ^^^^^^^^^^^^^^^^^ > AttributeError: 'GenerateTestCase' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > ====================================================================== > ERROR: test_sign_minimal > (tests.test_known_key.KnownKeyTestCase.test_sign_minimal) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/tests/test_known_key.py", > line 44, in test_sign_minimal > self.assertEquals( > ^^^^^^^^^^^^^^^^^ > AttributeError: 'KnownKeyTestCase' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > ====================================================================== > ERROR: test_sign_with_data > (tests.test_known_key.KnownKeyTestCase.test_sign_with_data) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build/tests/test_known_key.py", > line 57, in test_sign_with_data > self.assertEquals( > ^^^^^^^^^^^^^^^^^ > AttributeError: 'KnownKeyTestCase' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > ---------------------------------------------------------------------- > Ran 23 tests in 0.013s > > FAILED (errors=7) > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_signedjson/build; python3.12 -m > unittest discover -v > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build; python3.11 -m > unittest discover -v > test_ed25519 (tests.test_key.AlgorithmSupportedTestCase.test_ed25519) ... ok > test_unsupported (tests.test_key.AlgorithmSupportedTestCase.test_unsupported) > ... ok > test_decode (tests.test_key.DecodeTestCase.test_decode) ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build/tests/test_key.py:38: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(decoded_key.alg, "ed25519") > ok > test_decode_invalid_base64 > (tests.test_key.DecodeTestCase.test_decode_invalid_base64) ... ok > test_decode_invalid_key > (tests.test_key.DecodeTestCase.test_decode_invalid_key) ... ok > test_decode_signing_invalid_algorithm > (tests.test_key.DecodeTestCase.test_decode_signing_invalid_algorithm) ... ok > test_decode_verify_invalid_algorithm > (tests.test_key.DecodeTestCase.test_decode_verify_invalid_algorithm) ... ok > test_decode_verify_key (tests.test_key.DecodeTestCase.test_decode_verify_key) > ... ok > test_decode_verify_key_invalid_algorithm > (tests.test_key.DecodeTestCase.test_decode_verify_key_invalid_algorithm) ... > ok > test_decode_verify_key_invalid_base64 > (tests.test_key.DecodeTestCase.test_decode_verify_key_invalid_base64) ... ok > test_decode_verify_key_invalid_key > (tests.test_key.DecodeTestCase.test_decode_verify_key_invalid_key) ... ok > test_read_keys (tests.test_key.DecodeTestCase.test_read_keys) ... ok > test_read_old_keys (tests.test_key.DecodeTestCase.test_read_old_keys) ... ok > test_write_signing_keys > (tests.test_key.DecodeTestCase.test_write_signing_keys) ... ok > test_generate_key (tests.test_key.GenerateTestCase.test_generate_key) ... ok > test_sign_minimal (tests.test_known_key.KnownKeyTestCase.test_sign_minimal) > ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_signedjson/build/tests/test_known_key.py:44: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals( > ok > test_sign_with_data > (tests.test_known_key.KnownKeyTestCase.test_sign_with_data) ... ok > test_sign_and_verify (tests.test_sign.JsonSignTestCase.test_sign_and_verify) > ... ok > test_signature_ids (tests.test_sign.JsonSignTestCase.test_signature_ids) ... > ok > test_verify_fail (tests.test_sign.JsonSignTestCase.test_verify_fail) ... ok > test_verify_fail_no_signature_for_alice > (tests.test_sign.JsonSignTestCase.test_verify_fail_no_signature_for_alice) > ... ok > test_verify_fail_no_signatures > (tests.test_sign.JsonSignTestCase.test_verify_fail_no_signatures) ... ok > test_verify_fail_not_base64 > (tests.test_sign.JsonSignTestCase.test_verify_fail_not_base64) ... ok > > ---------------------------------------------------------------------- > Ran 23 tests in 0.002s > > OK > dh_auto_test: error: pybuild --test -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-signedjson_1.1.1-2_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.