Control: retitle -1 waagent: FTBFS with Python 3.13: Please install the 
legacycrypt Python module to use this feature

Dear Cloud Team,

this was reported a while ago, and seems like a result of the Python 
3.13 transition.

On Wed, Jan 08, 2025 at 08:42:42PM +0100, Lucas Nussbaum wrote:
> Source: waagent
> Version: 2.12.0.2-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20250107 ftbfs-trixie

[..]

> > ======================================================================
> > ERROR: test_get_password_hash 
> > (tests.common.osutil.test_default.TestGetPublishedHostname.test_get_password_hash)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File 
> > "/build/reproducible-path/waagent-2.12.0.2/.pybuild/cpython3_3.13/build/tests/common/osutil/test_default.py",
> >  line 1121, in test_get_password_hash
> >     password_hash = osutil.DefaultOSUtil.gen_password_hash(data, 6, 10)
> >   File 
> > "/build/reproducible-path/waagent-2.12.0.2/.pybuild/cpython3_3.13/build/azurelinuxagent/common/osutil/default.py",
> >  line 460, in gen_password_hash
> >     return crypt(password, salt)
> >   File 
> > "/build/reproducible-path/waagent-2.12.0.2/.pybuild/cpython3_3.13/build/azurelinuxagent/common/osutil/default.py",
> >  line 47, in crypt
> >     raise OSUtilError("Please install the legacycrypt Python module to use 
> > this feature.")
> > azurelinuxagent.common.exception.OSUtilError: [OSUtilError] Please install 
> > the legacycrypt Python module to use this feature.
> > 
> > ----------------------------------------------------------------------
> > Ran 1290 tests in 118.648s
> > 
> > FAILED (errors=1, skipped=13, expected failures=1)


I assume you need to update the (Build-)Depends and/or disable the 
test.

Please do so.

Chris

Reply via email to