Package: src:python-passlib Version: 1.7.4-6 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202511/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-passlib, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py clean /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/pwd.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/hash.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/apache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/context.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/registry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/hosts.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/exc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/apps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/totp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/ifc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib copying passlib/win32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_crypto_scrypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_ext_django.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_apps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_context.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_registry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_apache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_context_deprecated.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_handlers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_pwd.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_win32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_crypto_digest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_totp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_utils_md4.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_hosts.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_handlers_scrypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_ext_django_source.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_handlers_bcrypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_crypto_des.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_crypto_builtin_md4.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/backports.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_handlers_pbkdf2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_handlers_django.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_utils_handlers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_handlers_argon2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_handlers_cisco.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/tox_support.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/test_utils_pbkdf2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/_test_bad_register.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils copying passlib/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils copying passlib/utils/des.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils copying passlib/utils/decor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils copying passlib/utils/md4.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils copying passlib/utils/pbkdf2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils copying passlib/utils/binary.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils copying passlib/utils/handlers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/scram.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/windows.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/postgres.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/sha2_crypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/des_crypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/oracle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/mssql.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/pbkdf2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/sun_md5_crypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/sha1_crypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/cisco.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/misc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/django.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/fshp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/phpass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/digests.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/bcrypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/scrypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/argon2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/mysql.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/md5_crypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/roundup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers copying passlib/handlers/ldap_digests.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/handlers creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto copying passlib/crypto/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto copying passlib/crypto/des.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto copying passlib/crypto/_md4.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto copying passlib/crypto/digest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_setup copying passlib/_setup/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_setup copying passlib/_setup/stamp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_setup creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/ext copying passlib/ext/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/ext creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils/compat copying passlib/utils/compat/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils/compat copying passlib/utils/compat/_ordered_dict.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/utils/compat creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/scrypt copying passlib/crypto/scrypt/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/scrypt copying passlib/crypto/scrypt/_builtin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/scrypt copying passlib/crypto/scrypt/_gen_files.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/scrypt copying passlib/crypto/scrypt/_salsa.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/scrypt creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/_blowfish copying passlib/crypto/_blowfish/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/_blowfish copying passlib/crypto/_blowfish/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/_blowfish copying passlib/crypto/_blowfish/unrolled.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/_blowfish copying passlib/crypto/_blowfish/_gen_files.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/crypto/_blowfish creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/ext/django copying passlib/ext/django/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/ext/django copying passlib/ext/django/models.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/ext/django copying passlib/ext/django/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/ext/django creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_data/wordsets copying passlib/_data/wordsets/eff_long.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_data/wordsets copying passlib/_data/wordsets/eff_prefixed.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_data/wordsets copying passlib/_data/wordsets/eff_short.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_data/wordsets copying passlib/_data/wordsets/bip39.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/_data/wordsets copying passlib/tests/sample1b.cfg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/sample1c.cfg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/sample_config_1s.cfg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests copying passlib/tests/sample1.cfg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build; python3.13 -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4 collected 3460 items / 3 errors ==================================== ERRORS ==================================== _ ERROR collecting .pybuild/cpython3_3.13_passlib/build/passlib/tests/test_apache.py _ passlib/tests/test_apache.py:12: in <module> from passlib import apache, registry passlib/apache.py:476: in <module> htpasswd_defaults = _init_default_schemes() ^^^^^^^^^^^^^^^^^^^^^^^ passlib/apache.py:446: in _init_default_schemes bcrypt = "bcrypt" if registry.has_backend("bcrypt") else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/registry.py:483: in has_backend hasher.get_backend() passlib/utils/handlers.py:2088: in get_backend cls.set_backend() passlib/utils/handlers.py:2163: in set_backend return cls.set_backend(name, dryrun=dryrun) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:2188: in set_backend cls._set_backend(name, dryrun) passlib/utils/handlers.py:2311: in _set_backend super(SubclassBackendMixin, cls)._set_backend(name, dryrun) passlib/utils/handlers.py:2224: in _set_backend ok = loader(**kwds) ^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:627: in _load_backend_mixin return mixin_cls._finalize_backend_mixin(name, dryrun) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:422: in _finalize_backend_mixin if detect_wrap_bug(IDENT_2A): ^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:381: in detect_wrap_bug if verify(secret, bug_hash): ^^^^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:792: in verify return consteq(self._calc_checksum(secret), chk) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:656: in _calc_checksum hash = _bcrypt.hashpw(secret, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72]) _ ERROR collecting .pybuild/cpython3_3.13_passlib/build/passlib/tests/test_handlers_bcrypt.py _ passlib/tests/test_handlers_bcrypt.py:427: in <module> bcrypt_bcrypt_test = _bcrypt_test.create_backend_case("bcrypt") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/tests/utils.py:1040: in create_backend_case _skip_backend_reason=cls._get_skip_backend_reason(backend), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/tests/utils.py:1019: in _get_skip_backend_reason if not is_default_backend(handler, backend) and not TEST_MODE("full"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/tests/utils.py:132: in is_default_backend orig = handler.get_backend() ^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:2088: in get_backend cls.set_backend() passlib/utils/handlers.py:2163: in set_backend return cls.set_backend(name, dryrun=dryrun) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:2188: in set_backend cls._set_backend(name, dryrun) passlib/utils/handlers.py:2311: in _set_backend super(SubclassBackendMixin, cls)._set_backend(name, dryrun) passlib/utils/handlers.py:2224: in _set_backend ok = loader(**kwds) ^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:627: in _load_backend_mixin return mixin_cls._finalize_backend_mixin(name, dryrun) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:422: in _finalize_backend_mixin if detect_wrap_bug(IDENT_2A): ^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:381: in detect_wrap_bug if verify(secret, bug_hash): ^^^^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:792: in verify return consteq(self._calc_checksum(secret), chk) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:656: in _calc_checksum hash = _bcrypt.hashpw(secret, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72]) _ ERROR collecting .pybuild/cpython3_3.13_passlib/build/passlib/tests/test_handlers_django.py _ passlib/tests/test_handlers_django.py:276: in <module> @skipUnless(hash.bcrypt.has_backend(), "no bcrypt backends available") ^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:2110: in has_backend cls.set_backend(name, dryrun=True) passlib/utils/handlers.py:2163: in set_backend return cls.set_backend(name, dryrun=dryrun) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:2188: in set_backend cls._set_backend(name, dryrun) passlib/utils/handlers.py:2311: in _set_backend super(SubclassBackendMixin, cls)._set_backend(name, dryrun) passlib/utils/handlers.py:2224: in _set_backend ok = loader(**kwds) ^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:627: in _load_backend_mixin return mixin_cls._finalize_backend_mixin(name, dryrun) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:422: in _finalize_backend_mixin if detect_wrap_bug(IDENT_2A): ^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:381: in detect_wrap_bug if verify(secret, bug_hash): ^^^^^^^^^^^^^^^^^^^^^^^^ passlib/utils/handlers.py:792: in verify return consteq(self._calc_checksum(secret), chk) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ passlib/handlers/bcrypt.py:656: in _calc_checksum hash = _bcrypt.hashpw(secret, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72]) =============================== warnings summary =============================== passlib/tests/test_context_deprecated.py:18 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build/passlib/tests/test_context_deprecated.py:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import resource_filename -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR passlib/tests/test_apache.py - ValueError: password cannot be longer th... ERROR passlib/tests/test_handlers_bcrypt.py - ValueError: password cannot be ... ERROR passlib/tests/test_handlers_django.py - ValueError: password cannot be ... !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! ========================= 1 warning, 3 errors in 0.67s ========================= E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_passlib/build; python3.13 -m pytest dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

