Control: reassign -1 python3-humanfriendly 8.1-2 > Package: azure-cli > Version: 2.0.81+ds-3 > Severity: serious > Tags: ftbfs > Justification: fails to build from source (but built successfully in > the past) > > Note: Using the FTBFS tag because it is the closest one we have. > > Now that humanfriendly is fixed to provide the missing files, azure- > cli > has what looks like a real test failure [1]. Here's the relevant log > extract: > > =================================== FAILURES > =================================== > ______________ TestProgress.test_progress_indicator_indet_stdview > ______________ > > self = <tests_core.test_progress.TestProgress > testMethod=test_progress_indicator_indet_stdview> > > def test_progress_indicator_indet_stdview(self): > # tests the indeterminate progress standardout view > outstream = MockOutstream() > view = progress.IndeterminateStandardOut(out=outstream) > view.write({}) > self.assertEqual(view.spinner.label, 'In Progress') > before = view.spinner.total > view.write({}) > after = view.spinner.total > > self.assertTrue(after >= before) > E TypeError: '>=' not supported between instances of 'NoneType' > and 'NoneType' > > ../autopkgtest- > lxc.r8vnoncs/downtmp/autopkgtest_tmp/tests_core/test_progress.py:63: > TypeError > > Scott K > > [1] > https://ci.debian.net/data/autopkgtest/testing/amd64/a/azure-cli/4686987/log.gz
Hi, Thanks for the report. Downgrading python3-humanfriendly to buster's version fixes the issue, so it looks like a backward-incompatible change in the new version. Reference to the class using it: https://salsa.debian.org/python-team/modules/azure-cli/-/blob/debian/sid/src/azure-cli-core/azure/cli/core/commands/progress.py#L104 Test: https://salsa.debian.org/python-team/modules/azure-cli/-/blob/debian/sid/src/azure-cli-core/azure/cli/core/tests/test_progress.py#L54 Reassigning so the python3-humanfriendly maitainer can have a look. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part