Package: src:python-asttokens Version: 3.0.0-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-asttokens, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild 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 dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:139: Building wheel for python3.13 with "build" module I: pybuild base:384: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_asttokens * Building wheel... running bdist_wheel [... snipped ...] # is viewed as a Print node since it doesn't see the future import source = tools.read_fixture('astroid/nonregr.py') > m = self.create_mark_checker(source, verify=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\n\ntry:\n enumerate = enumerate\nexcept NameError:\n\n def enumerate(iterable):\n """emulates the pytho...class Ddd(Aaa):\n """docstring"""\n pass\n\n class Eee(Ddd):\n """docstring"""\n pass\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError ______________________ TestAstroid.test_return_annotation ______________________ self = <tests.test_astroid.TestAstroid testMethod=test_return_annotation> def test_return_annotation(self): # See https://bitbucket.org/plas/thonny/issues/9/range-marker-crashes-on-function-return source = textwrap.dedent(""" def liida_arvud(x: int, y: int) -> int: return x + y """) > m = self.create_mark_checker(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\ndef liida_arvud(x: int, y: int) -> int:\n return x + y\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError ___________________________ TestAstroid.test_slices ____________________________ self = <tests.test_astroid.TestAstroid testMethod=test_slices> def test_slices(self): # Make sure we don't fail on parsing slices of the form `foo[4:]`. source = "(foo.Area_Code, str(foo.Phone)[:3], str(foo.Phone)[3:], foo[:], bar[::2, :], bar2[:, ::2], [a[:]][::-1])" > m = self.create_mark_checker(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '(foo.Area_Code, str(foo.Phone)[:3], str(foo.Phone)[3:], foo[:], bar[::2, :], bar2[:, ::2], [a[:]][::-1])' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError ____________________________ TestAstroid.test_splat ____________________________ self = <tests.test_astroid.TestAstroid testMethod=test_splat> def test_splat(self): # See https://bitbucket.org/plas/thonny/issues/151/debugger-crashes-when-encountering-a-splat source = textwrap.dedent(""" arr = [1,2,3,4,5] def print_all(a, b, c, d, e): print(a, b, c, d ,e) print_all(*arr) """) > m = self.create_mark_checker(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:398: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\narr = [1,2,3,4,5]\ndef print_all(a, b, c, d, e):\n print(a, b, c, d ,e)\nprint_all(*arr)\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError _________________ TestAstroid.test_statements_with_semicolons __________________ self = <tests.test_astroid.TestAstroid testMethod=test_statements_with_semicolons> def test_statements_with_semicolons(self): source = """ a; b; c( 17 ); d # comment1; comment2 if 2: a; b; # comment3 if a: if b: c; d # comment4 """ > m = self.create_mark_checker(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:627: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\na; b; c(\n 17\n); d # comment1; comment2\nif 2: a; b; # comment3\nif a:\n if b: c; d # comment4\n ' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError _______________________ TestAstroid.test_trailing_commas _______________________ self = <tests.test_astroid.TestAstroid testMethod=test_trailing_commas> def test_trailing_commas(self): # Make sure we handle trailing commas on comma-separated structures (e.g. tuples, sets, etc.) for source in ( "(a,b,)", "[c,d,]", "{e,f,}", "{h:1,i:2,}"): > self.create_mark_checker(source) tests/test_mark_tokens.py:454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '(a,b,)' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError ___________________________ TestAstroid.test_tuples ____________________________ self = <tests.test_astroid.TestAstroid testMethod=test_tuples> def test_tuples(self): def get_tuples(code): m = self.create_mark_checker(code) return [m.atok.get_text(n) for n in m.all_nodes if n.__class__.__name__ == "Tuple"] > self.assertEqual(get_tuples("a,"), ["a,"]) ^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:461: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:458: in get_tuples m = self.create_mark_checker(code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'a,' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError ____________________________ TestAstroid.test_with _____________________________ self = <tests.test_astroid.TestAstroid testMethod=test_with> def test_with(self): source = "with foo: pass" > m = self.create_mark_checker(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_mark_tokens.py:581: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:37: in create_mark_checker atok = self.create_asttokens(source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'with foo: pass' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:39: TypeError =========================== short test summary info ============================ FAILED tests/test_astroid.py::TestAstroid::test_adjacent_joined_strings - Typ... FAILED tests/test_astroid.py::TestAstroid::test_adjacent_strings - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_assignment_expressions - Type... FAILED tests/test_astroid.py::TestAstroid::test_async_def - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_async_for_and_with - TypeErro... FAILED tests/test_astroid.py::TestAstroid::test_await - TypeError: AstroidBui... FAILED tests/test_astroid.py::TestAstroid::test_bad_tokenless_types - TypeErr... FAILED tests/test_astroid.py::TestAstroid::test_bytes_smoke - TypeError: Astr... FAILED tests/test_astroid.py::TestAstroid::test_calling_lambdas - TypeError: ... FAILED tests/test_astroid.py::TestAstroid::test_complex_numbers - TypeError: ... FAILED tests/test_astroid.py::TestAstroid::test_complex_slice_and_parens - Ty... FAILED tests/test_astroid.py::TestAstroid::test_comprehensions - TypeError: A... FAILED tests/test_astroid.py::TestAstroid::test_conditional_expr - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_decorators - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_del_dict - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_dict_merge - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_dict_order - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_fixture1 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture10 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture11 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture12 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture13 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture2 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture3 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture4 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture5 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture6 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture7 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture8 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture9 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fstrings - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fstrings_3_12_plus - TypeErro... FAILED tests/test_astroid.py::TestAstroid::test_keyword_arg_only - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_mark_tokens_multiline - TypeE... FAILED tests/test_astroid.py::TestAstroid::test_mark_tokens_simple - TypeErro... FAILED tests/test_astroid.py::TestAstroid::test_match_case - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_nonascii - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_one_line_if_elif - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_paren_attr - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_parens_around_func - TypeErro... FAILED tests/test_astroid.py::TestAstroid::test_print_function - TypeError: A... FAILED tests/test_astroid.py::TestAstroid::test_return_annotation - TypeError... FAILED tests/test_astroid.py::TestAstroid::test_slices - TypeError: AstroidBu... FAILED tests/test_astroid.py::TestAstroid::test_splat - TypeError: AstroidBui... FAILED tests/test_astroid.py::TestAstroid::test_statements_with_semicolons - ... FAILED tests/test_astroid.py::TestAstroid::test_trailing_commas - TypeError: ... FAILED tests/test_astroid.py::TestAstroid::test_tuples - TypeError: AstroidBu... FAILED tests/test_astroid.py::TestAstroid::test_with - TypeError: AstroidBuil... ==== 48 failed, 69 passed, 1 skipped, 2 deselected, 5558 warnings in 1.17s ===== E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_asttokens/build; python3.13 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

