Your message dated Sun, 8 Dec 2024 11:18:43 +0000
with message-id <z1wak2oprw8em...@layer-acht.org>
and subject line fixed in 2.24.2
has caused the Debian Bug report #1064707,
regarding devscripts: FTBFS: AssertionError: black found code that needs 
reformatting:
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1064707: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064707
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
version: 2.24.2

while I agree in principle that this lint tests should be run during
development only. I'm still closing this bug now, as it's not really
actionable right now also.

*If* you reopen, please adjust the severity, but better yet, file
a new bug. Thanks.


-- 
cheers,
        Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

First they came for the journalists, we don't know what happened after that.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to