Source: pep8
Version: 1.7.1-11
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3.11 -m unittest -v testsuite.test_all.suite;
> test_checkers_testsuite 
> (testsuite.test_all.Pep8TestCase.test_checkers_testsuite) ... ok
> test_doctest (testsuite.test_all.Pep8TestCase.test_doctest) ... ok
> test_own_dog_food (testsuite.test_all.Pep8TestCase.test_own_dog_food) ... ok
> test_selftest (testsuite.test_all.Pep8TestCase.test_selftest) ... ok
> test_check_nullbytes (testsuite.test_api.APITestCase.test_check_nullbytes) 
> ... FAIL
> test_check_unicode (testsuite.test_api.APITestCase.test_check_unicode) ... ok
> test_register_ast_check 
> (testsuite.test_api.APITestCase.test_register_ast_check) ... ok
> test_register_invalid_check 
> (testsuite.test_api.APITestCase.test_register_invalid_check) ... ok
> test_register_logical_check 
> (testsuite.test_api.APITestCase.test_register_logical_check) ... ok
> test_register_physical_check 
> (testsuite.test_api.APITestCase.test_register_physical_check) ... ok
> test_styleguide (testsuite.test_api.APITestCase.test_styleguide) ... ok
> test_styleguide_check_files 
> (testsuite.test_api.APITestCase.test_styleguide_check_files) ... ok
> test_styleguide_checks 
> (testsuite.test_api.APITestCase.test_styleguide_checks) ... ok
> test_styleguide_continuation_line_outdented 
> (testsuite.test_api.APITestCase.test_styleguide_continuation_line_outdented) 
> ... ok
> test_styleguide_excluded 
> (testsuite.test_api.APITestCase.test_styleguide_excluded) ... ok
> test_styleguide_ignore_code 
> (testsuite.test_api.APITestCase.test_styleguide_ignore_code) ... ok
> test_styleguide_init_report 
> (testsuite.test_api.APITestCase.test_styleguide_init_report) ... ok
> test_styleguide_options 
> (testsuite.test_api.APITestCase.test_styleguide_options) ... ok
> test_styleguide_unmatched_triple_quotes 
> (testsuite.test_api.APITestCase.test_styleguide_unmatched_triple_quotes) ... 
> ok
> test_multiline_ignore_parsing 
> (testsuite.test_parser.ParserTestCase.test_multiline_ignore_parsing) ... ok
> test_multiline_trailing_comma_ignore_parsing 
> (testsuite.test_parser.ParserTestCase.test_multiline_trailing_comma_ignore_parsing)
>  ... ok
> test_trailing_comma_ignore_parsing 
> (testsuite.test_parser.ParserTestCase.test_trailing_comma_ignore_parsing) ... 
> ok
> test_vanilla_ignore_parsing 
> (testsuite.test_parser.ParserTestCase.test_vanilla_ignore_parsing) ... ok
> test_check_diff (testsuite.test_shell.ShellTestCase.test_check_diff) ... ok
> test_check_noarg (testsuite.test_shell.ShellTestCase.test_check_noarg) ... ok
> test_check_non_existent 
> (testsuite.test_shell.ShellTestCase.test_check_non_existent) ... ok
> test_check_simple (testsuite.test_shell.ShellTestCase.test_check_simple) ... 
> ok
> test_check_stdin (testsuite.test_shell.ShellTestCase.test_check_stdin) ... ok
> test_print_usage (testsuite.test_shell.ShellTestCase.test_print_usage) ... ok
> test_normalize_paths (testsuite.test_util.UtilTestCase.test_normalize_paths) 
> ... ok
> 
> ======================================================================
> FAIL: test_check_nullbytes 
> (testsuite.test_api.APITestCase.test_check_nullbytes)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/testsuite/test_api.py", line 347, in 
> test_check_nullbytes
>     self.assertTrue(stdout.startswith(expected),
> AssertionError: False is not true : Output 'stdin:1:1: E901 SyntaxError: 
> source code string cannot contain null bytes\n' does not start with 
> 'stdin:1:2: E901 SyntaxError'
> 
> ----------------------------------------------------------------------
> Ran 30 tests in 0.499s
> 
> FAILED (failures=1)
> make[1]: *** [debian/rules:16: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/pep8_1.7.1-11_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&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.

Reply via email to