Your message dated Wed, 31 Dec 2025 20:36:29 +0000
with message-id <[email protected]>
and subject line Bug#1124194: fixed in python-asttokens 3.0.1-1
has caused the Debian Bug report #1124194,
regarding python-asttokens: FTBFS: E     TypeError: AstroidBuilder.__init__() 
missing 1 required positional argument: 'manager'
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 [email protected]
immediately.)


-- 
1124194: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124194
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-asttokens
Source-Version: 3.0.1-1
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-asttokens, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated python-asttokens 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 31 Dec 2025 19:56:44 +0000
Source: python-asttokens
Architecture: source
Version: 3.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1124194
Changes:
 python-asttokens (3.0.1-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Alexandre Detiste ]
   * Switch to autopkgtest-pkg-pybuild.
   * Add runtime dependency on python3-astroid.
 .
   [ Colin Watson ]
   * New upstream release:
     - Adapt asttokens for astroid 4.x (closes: #1124194).
Checksums-Sha1:
 7ff9f5e5343cba152e869268b80abe20dadcfaad 2318 python-asttokens_3.0.1-1.dsc
 e962152815392d3dca8e34fe6a98941cffd0e13a 62308 
python-asttokens_3.0.1.orig.tar.gz
 ac94034a8ab42b3dd739a8e07e8254bb71142743 2824 
python-asttokens_3.0.1-1.debian.tar.xz
Checksums-Sha256:
 3ca7a6472f0b0cfa6744ea4e3e200ce25cfedb07317ae7af8dbba8060c2e4ced 2318 
python-asttokens_3.0.1-1.dsc
 71a4ee5de0bde6a31d64f6b13f2293ac190344478f081c3d1bccfcf5eacb0cb7 62308 
python-asttokens_3.0.1.orig.tar.gz
 2f93a41ce508650993eb73d5d323a8a59dd6d150a9a1037e90a1681ea18d1064 2824 
python-asttokens_3.0.1-1.debian.tar.xz
Files:
 22965c075bb8506f3f19bdbabdd2ccd2 2318 python optional 
python-asttokens_3.0.1-1.dsc
 50670141dde921f807d8257be4a5df9c 62308 python optional 
python-asttokens_3.0.1.orig.tar.gz
 f86878abb15bed9e2e8ddb342780377c 2824 python optional 
python-asttokens_3.0.1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmlVgD0ACgkQOTWH2X2G
UAvNDRAAnugtYFpqLF1A3ZArOcWaWZ03pwrxnSCJqBuwW9oI7CTteQy6HqPA9lCL
gZzt7lOgBkGxicpejHUPE1D8bFBOJgEX4brTOmw5kg5x5ougGj09N6bnHhrNYQpt
ufQJVTie89Yspa9FGESX04yVz80Rx9nxhBuFUQvWrR1UIUMm0XXqtpV31wEcW6V8
ge8bytNGy4UDX8uF1TCGOCE6y0oEDTvwBPVzb9Xa3ZTW+LEDGwoMv/KDkH5D+ckI
rSzAocy7fDs+kDLXnAUiAjmdNhQW29oGt2p3Eb2fPSsxu5TAbLuOWdNLX4XVN1iv
muM8SMdoqUh7TsV0G/72mzlEOhHBLtbjJPITu/ij3C/L70wfSxGbC9VBIzXnYQ2L
AmfQEjj4cZ5wSrCwc2k1iYrGduey3M/TziMO1CH59KWaA5ohYcfB+790wWevj/7T
cyzx15xUgrN8XBBBLZ3JhDt1c9yZ/HnSnkjd/n+Oi+ev0otPt4CZfoCfLxC5BbBI
CLehbuNgnB0obg3A1XKhOwXVBdqFVAY9obehLrbmWTVVDz9/QvEyXIijrtRJdTOw
w2pupjrZBPDU90gZPWPv0/JcmyCg6StZWn8XVwUsY3jjQZS2poLbJ3h42yYzXRUY
IHzctJBNrhgrmZYsQAFnx6/BukqU2l1clpy5MaTiR5NSbM5FHxw=
=bBtY
-----END PGP SIGNATURE-----

Attachment: pgpbu44pr0I7k.pgp
Description: PGP signature


--- End Message ---

Reply via email to