Source: devscripts Version: 2.23.7 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240224 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > ====================================================================== > FAIL: test_black (devscripts.test.test_black.BlackTestCase.test_black) > Test: Run black code formatter on Python source code. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/scripts/devscripts/test/test_black.py", line 43, in > test_black > self.fail( > AssertionError: black found code that needs reformatting: > --- reproducible-check 2023-04-02 17:44:26+00:00 > +++ reproducible-check 2024-02-24 22:54:57.358173+00:00 > @@ -198,13 +198,13 @@ > > # We may have installed a binNMU version locally so we need > to > # strip these off when looking up against the JSON of > results. > version = re.sub(r"\+b\d+$", "", pkg_ver.version) > > - result[ > - (pkg.shortname, pkg_ver.architecture, version) > - ] = pkg_ver.source_name > + result[(pkg.shortname, pkg_ver.architecture, version)] = ( > + pkg_ver.source_name > + ) > > self.log.debug("Parsed %d installed binary packages", len(result)) > > return result > > ---------------------------------------------------------------------- > Ran 21 tests in 13.726s > > FAILED (failures=1) > Test failed: <unittest.runner.TextTestResult run=21 errors=0 failures=1> > error: Test failed: <unittest.runner.TextTestResult run=21 errors=0 > failures=1> > make[3]: *** [Makefile:102: test_py] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts' > make[2]: *** [Makefile:68: test_scripts] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > make[1]: *** [Makefile:43: test] Error 2 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test: error: make -j8 test returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2024/02/24/devscripts_2.23.7_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&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.