Source: pycodestyle
Version: 2.10.0-1
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):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> copying pycodestyle.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build
> running egg_info
> writing pycodestyle.egg-info/PKG-INFO
> writing dependency_links to pycodestyle.egg-info/dependency_links.txt
> writing entry points to pycodestyle.egg-info/entry_points.txt
> writing top-level names to pycodestyle.egg-info/top_level.txt
> reading manifest file 'pycodestyle.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory 
> 'docs'
> warning: no previously-included files matching '*.pyo' found under directory 
> 'docs'
> warning: no previously-included files matching '*.pyc' found under directory 
> 'testsuite'
> warning: no previously-included files matching '*.pyo' found under directory 
> 'testsuite'
> no previously-included directories found matching 'docs/_build'
> adding license file 'LICENSE'
> writing manifest file 'pycodestyle.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build; python3.11 -m 
> unittest discover -v 
> test_checkers_testsuite 
> (testsuite.test_all.PycodestyleTestCase.test_checkers_testsuite) ... ok
> test_doctest (testsuite.test_all.PycodestyleTestCase.test_doctest) ... ok
> test_own_dog_food (testsuite.test_all.PycodestyleTestCase.test_own_dog_food) 
> ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:66:36:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:113:36:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:282:46:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:372:41:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:379:75:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:384:50:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:385:58:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:407:24:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:408:30:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:409:45:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:487:36:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:488:48:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:489:47:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:490:55:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:491:70:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:492:69:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:659:61:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:677:49:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:708:25:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:709:67:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:716:65:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:797:39:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:798:26:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:799:31:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:800:64:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:802:60:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:804:46:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:807:43:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:901:66:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:933:46:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:935:51:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1202:41:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1203:41:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1204:42:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1205:45:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1278:35:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1334:66:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1335:35:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1368:69:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1369:28:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1370:35:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1406:55:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1533:40:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1534:29:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1556:40:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1557:32:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1558:76:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1559:62:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1663:51:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1740:46:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:1744:46:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:2017:68:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:2370:50:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:2434:60:
>  W504 line break after binary operator
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build/pycodestyle.py:2464:54:
>  W504 line break after binary operator
> ok
> test_selftest (testsuite.test_all.PycodestyleTestCase.test_selftest) ... ok
> test_check_nullbytes (testsuite.test_api.APITestCase.test_check_nullbytes) 
> ... FAIL
> 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_styleguides_other_indent_size 
> (testsuite.test_api.APITestCase.test_styleguides_other_indent_size) ... ok
> test_blank_line_between_decorator 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_blank_line_between_decorator)
> It will trigger an error when the decorator is followed by a ... ok
> test_blank_line_decorator 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_blank_line_decorator)
> It will accept the decorators which are adjacent to the function ... ok
> test_initial_lines_more_blank 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_initial_lines_more_blank)
> It will trigger an error for more than 2 blank lines before the ... ok
> test_initial_lines_one_blank 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_initial_lines_one_blank)
> It will accept 1 blank lines before the first line of actual ... ok
> test_initial_lines_two_blanks 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_initial_lines_two_blanks)
> It will accept 2 blank lines before the first line of actual ... ok
> test_initial_no_blank 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_initial_no_blank)
> It will accept no blank lines at the start of the file. ... ok
> test_method_fewer_follow_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_method_fewer_follow_lines)
> It will trigger an error when less than 1 blank line is ... ok
> test_method_less_blank_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_method_less_blank_lines)
> It will trigger an error when less than 1 blank lin is found ... ok
> test_method_less_blank_lines_comment 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_method_less_blank_lines_comment)
> It will trigger an error when less than 1 blank lin is found ... ok
> test_method_more_blank_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_method_more_blank_lines)
> It will trigger an error when more than 1 blank line is found ... ok
> test_method_nested_fewer_follow_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_method_nested_fewer_follow_lines)
> It will trigger an error when less than 1 blank line is ... ok
> test_method_nested_less_class 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_method_nested_less_class)
> It will trigger an error when less than 1 blank line is found ... ok
> test_method_nested_ok 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_method_nested_ok)
> Will not trigger an error when 1 blank line is found ... ok
> test_top_level_fewer_blank_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_top_level_fewer_blank_lines)
> It will trigger an error when less 2 blank lines are found ... ok
> test_top_level_fewer_follow_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_top_level_fewer_follow_lines)
> It will trigger an error when less than 2 blank lines are ... ok
> test_top_level_fewer_follow_lines_comments 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_top_level_fewer_follow_lines_comments)
> It will trigger an error when less than 2 blank lines are ... ok
> test_top_level_good_follow_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_top_level_good_follow_lines)
> It not trigger an error when 2 blank lines are ... ok
> test_top_level_more_blank_lines 
> (testsuite.test_blank_lines.TestBlankLinesDefault.test_top_level_more_blank_lines)
> It will trigger an error when more 2 blank lines are found ... ok
> test_initial_lines_one_blanks 
> (testsuite.test_blank_lines.TestBlankLinesTwisted.test_initial_lines_one_blanks)
> It will accept less than 3 blank lines before the first line of ... ok
> test_initial_lines_tree_blanks 
> (testsuite.test_blank_lines.TestBlankLinesTwisted.test_initial_lines_tree_blanks)
> It will accept 3 blank lines before the first line of actual ... ok
> test_the_right_blanks 
> (testsuite.test_blank_lines.TestBlankLinesTwisted.test_the_right_blanks)
> It will accept 3 blank for top level and 2 for nested. ... ok
> test_top_level_fewer_blank_lines 
> (testsuite.test_blank_lines.TestBlankLinesTwisted.test_top_level_fewer_blank_lines)
> It will trigger an error when less 3 blank lines are found ... ok
> test_top_level_more_blank_lines 
> (testsuite.test_blank_lines.TestBlankLinesTwisted.test_top_level_more_blank_lines)
> It will trigger an error when more 2 blank lines are found ... 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>>/.pybuild/cpython3_3.11_pycodestyle/build/testsuite/test_api.py",
>  line 333, 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:1: E901 ValueError'
> 
> ----------------------------------------------------------------------
> Ran 53 tests in 0.715s
> 
> FAILED (failures=1)
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycodestyle/build; python3.11 -m 
> unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/pycodestyle_2.10.0-1_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