Package: src:traitlets Version: 5.14.3+really5.14.3-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with sphinxdoc --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:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_traitlets * Building wheel... Successfully built traitlets-5.14.3-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_traitlets * Building wheel... [... snipped ...] argv = [] self = <tests.config.test_argcomplete.MainApp object at 0x7f42129d1430> subapp = <class 'tests.config.test_argcomplete.SubApp1'> subc = 'subapp1' val = (<class 'tests.config.test_argcomplete.SubApp1'>, 'First subapp') [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.SubApp1 object at 0x7f42129cb440> args = ([],) kwargs = {} method = <function Application.initialize at 0x7f4212a51e40> [1m[31mtraitlets/config/application.py[0m:465: in initialize [0m[96mself[39;49;00m.parse_command_line(argv)[90m[39;49;00m argv = [] self = <tests.config.test_argcomplete.SubApp1 object at 0x7f42129cb440> [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.SubApp1 object at 0x7f42129cb440> args = ([],) kwargs = {} method = <function Application.parse_command_line at 0x7f4212a52f20> [1m[31mtraitlets/config/application.py[0m:881: in parse_command_line [0m[96mself[39;49;00m.cli_config = deepcopy(loader.load_config())[90m[39;49;00m aliases = {'log-level': 'SubApp1.log_level'} argv = [] classes = [<class 'traitlets.config.application.Application'>, <class 'tests.config.test_argcomplete.ArgcompleteApp'>, <class 'tests.config.test_argcomplete.SubApp1'>] flags = {'debug': ({'SubApp1': {'log_level': 10}}, 'Set log-level to debug, for the most verbose logging.'), 'show-config': ({...), 'show-config-json': ({'SubApp1': {'show_config_json': True}}, "Show the application's configuration (json format)")} interpreted_argv = [] loader = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f4212a7d2b0> self = <tests.config.test_argcomplete.SubApp1 object at 0x7f42129cb440> [1m[31mtraitlets/config/loader.py[0m:894: in load_config [0m[96mself[39;49;00m._argcomplete([96mself[39;49;00m.classes, [96mself[39;49;00m.subcommands)[90m[39;49;00m aliases = None argv = [] classes = None flags = <Sentinel deprecated> self = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f4212a7d2b0> [1m[31mtraitlets/config/loader.py[0m:1139: in _argcomplete [0mfinder([96mself[39;49;00m.parser, **[96mgetattr[39;49;00m([96mself[39;49;00m, [33m"[39;49;00m[33m_argcomplete_kwargs[39;49;00m[33m"[39;49;00m, {}))[90m[39;49;00m argcomplete = <module 'argcomplete' from '/usr/lib/python3/dist-packages/argcomplete/__init__.py'> argcomplete_config = <module 'traitlets.config.argcomplete_config' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_traitlets/build/traitlets/config/argcomplete_config.py'> classes = [<class 'traitlets.config.application.Application'>, <class 'tests.config.test_argcomplete.ArgcompleteApp'>, <class 'tests.config.test_argcomplete.SubApp1'>] finder = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129c9490> self = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f4212a7d2b0> subcommands = {} [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:174: in __call__ [0mcompletions = [96mself[39;49;00m._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos)[90m[39;49;00m always_complete_options = True append_space = None argument_parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) comp_line = 'app subapp1 --Sub' comp_point = 17 comp_words = ['subapp1'] cword_prefix = '--Sub' cword_prequote = '' cword_suffix = '' default_completer = <argcomplete.completers.FilesCompleter object at 0x7f4212a7f1d0> dfs = None exclude = None exit_method = <bound method CustomError.exit of <class 'tests.config.test_argcomplete.CustomError'>> ifs = '\x0b' last_wordbreak_pos = None output_stream = <_io.StringIO object at 0x7f4212cf84c0> print_suppressed = False self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129c9490> start = 1 validator = None [1m[31mtraitlets/config/argcomplete_config.py[0m:191: in _get_completions [0mcompletions = [96msuper[39;49;00m()._get_completions(comp_words, cword_prefix, *args) [90m# type:ignore[no-untyped-call][39;49;00m[90m[39;49;00m __class__ = <class 'traitlets.config.argcomplete_config.ExtendedCompletionFinder'> args = ('', None) comp_words = ['subapp1'] cword_prefix = '--Sub' is_option = True matched_cls = <class 'tests.config.test_argcomplete.SubApp1'> matched_completions = [(<class 'tests.config.test_argcomplete.SubApp1'>, '--SubApp1.')] prefix_chars = '-' self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129c9490> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:223: in _get_completions [0mcompletions = [96mself[39;49;00m.collect_completions(active_parsers, parsed_args, cword_prefix)[90m[39;49;00m active_parsers = [MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)] comp_words = ['subapp1'] cword_prefix = '--Sub' cword_prequote = '' last_wordbreak_pos = None parsed_args = Namespace(_flags=[]) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129c9490> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:440: in collect_completions [0mcompletions += [96mself[39;49;00m._get_option_completions(active_parser, cword_prefix)[90m[39;49;00m active_parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) active_parsers = [MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)] completions = [] cword_prefix = '--Sub' parsed_args = Namespace(_flags=[]) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129c9490> [1m[31mtraitlets/config/argcomplete_config.py[0m:209: in _get_option_completions [0mcompletions = [96msuper[39;49;00m()._get_option_completions(parser, cword_prefix) [90m# type:ignore[no-untyped-call][39;49;00m[90m[39;49;00m __class__ = <class 'traitlets.config.argcomplete_config.ExtendedCompletionFinder'> cword_prefix = '--Sub' parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129c9490> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:326: in _get_option_completions [0m[94mif[39;49;00m [95mnot[39;49;00m [96mself[39;49;00m._action_allowed(action, parser):[90m[39;49;00m action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) completer = None cword_prefix = '--Sub' option_completions = [] option_string = '--SubApp1.show_config_json' parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129c9490> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) [0m[37m@staticmethod[39;49;00m[90m[39;49;00m [94mdef[39;49;00m [92m_action_allowed[39;49;00m(action, parser):[90m[39;49;00m [90m# Logic adapted from take_action in ArgumentParser._parse_known_args[39;49;00m[90m[39;49;00m [90m# (members are saved by vendor._argparse.IntrospectiveArgumentParser)[39;49;00m[90m[39;49;00m
[94mfor[39;49;00m conflict_action [95min[39;49;00m parser._action_conflicts.get(action, []):[90m[39;49;00m
[1m[31mE AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts'[0m action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:336: AttributeError [31m[1m______________ TestArgcomplete.test_complete_subcommands_subapp2 _______________[0m self = <tests.config.test_argcomplete.TestArgcomplete object at 0x7f4212a81dc0> argcomplete_on = None [0m[94mdef[39;49;00m [92mtest_complete_subcommands_subapp2[39;49;00m([96mself[39;49;00m, argcomplete_on):[90m[39;49;00m app = MainApp()[90m[39;49;00m [94mtry[39;49;00m:[90m[39;49;00m
[94massert[39;49;00m [96mset[39;49;00m([96mself[39;49;00m.run_completer(app, [33m"[39;49;00m[33mapp subapp2 --[39;49;00m[33m"[39;49;00m)) > {[90m[39;49;00m
[33m"[39;49;00m[33m--Application.[39;49;00m[33m"[39;49;00m,[90m[39;49;00m [33m"[39;49;00m[33m--SubApp2.[39;49;00m[33m"[39;49;00m,[90m[39;49;00m }[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> argcomplete_on = None self = <tests.config.test_argcomplete.TestArgcomplete object at 0x7f4212a81dc0> [1m[31mtests/config/test_argcomplete.py[0m:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [1m[31mtests/config/test_argcomplete.py[0m:127: in run_completer [0mapp.initialize()[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> cm = <ExceptionInfo for raises contextmanager> command = 'app subapp2 --' kwargs = {} point = '14' self = <tests.config.test_argcomplete.TestArgcomplete object at 0x7f4212a81dc0> strio = <_io.StringIO object at 0x7f4212cf9c00> [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> args = () kwargs = {} method = <function Application.initialize at 0x7f4212a51e40> [1m[31mtraitlets/config/application.py[0m:465: in initialize [0m[96mself[39;49;00m.parse_command_line(argv)[90m[39;49;00m argv = None self = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> args = (None,) kwargs = {} method = <function Application.parse_command_line at 0x7f4212a52f20> [1m[31mtraitlets/config/application.py[0m:857: in parse_command_line [0m[94mreturn[39;49;00m [96mself[39;49;00m.initialize_subcommand(subc, subargv)[90m[39;49;00m argv = ['subapp2'] self = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> subargv = [] subc = 'subapp2' [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> args = ('subapp2', []) kwargs = {} method = <function Application.initialize_subcommand at 0x7f4212a52b60> [1m[31mtraitlets/config/application.py[0m:721: in initialize_subcommand [0m[96mself[39;49;00m.subapp.initialize(argv)[90m[39;49;00m _ = 'Second subapp' argv = [] self = <tests.config.test_argcomplete.MainApp object at 0x7f4212aca6f0> subapp = <bound method SubApp2.get_subapp_instance of <class 'tests.config.test_argcomplete.SubApp2'>> subc = 'subapp2' val = (<bound method SubApp2.get_subapp_instance of <class 'tests.config.test_argcomplete.SubApp2'>>, 'Second subapp') [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.SubApp2 object at 0x7f421279d010> args = ([],) kwargs = {} method = <function Application.initialize at 0x7f4212a51e40> [1m[31mtraitlets/config/application.py[0m:465: in initialize [0m[96mself[39;49;00m.parse_command_line(argv)[90m[39;49;00m argv = [] self = <tests.config.test_argcomplete.SubApp2 object at 0x7f421279d010> [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.SubApp2 object at 0x7f421279d010> args = ([],) kwargs = {} method = <function Application.parse_command_line at 0x7f4212a52f20> [1m[31mtraitlets/config/application.py[0m:881: in parse_command_line [0m[96mself[39;49;00m.cli_config = deepcopy(loader.load_config())[90m[39;49;00m aliases = {'log-level': 'SubApp2.log_level'} argv = [] classes = [<class 'traitlets.config.application.Application'>, <class 'tests.config.test_argcomplete.ArgcompleteApp'>, <class 'tests.config.test_argcomplete.SubApp2'>] flags = {'debug': ({'SubApp2': {'log_level': 10}}, 'Set log-level to debug, for the most verbose logging.'), 'show-config': ({...), 'show-config-json': ({'SubApp2': {'show_config_json': True}}, "Show the application's configuration (json format)")} interpreted_argv = [] loader = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f421279e660> self = <tests.config.test_argcomplete.SubApp2 object at 0x7f421279d010> [1m[31mtraitlets/config/loader.py[0m:894: in load_config [0m[96mself[39;49;00m._argcomplete([96mself[39;49;00m.classes, [96mself[39;49;00m.subcommands)[90m[39;49;00m aliases = None argv = [] classes = None flags = <Sentinel deprecated> self = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f421279e660> [1m[31mtraitlets/config/loader.py[0m:1139: in _argcomplete [0mfinder([96mself[39;49;00m.parser, **[96mgetattr[39;49;00m([96mself[39;49;00m, [33m"[39;49;00m[33m_argcomplete_kwargs[39;49;00m[33m"[39;49;00m, {}))[90m[39;49;00m argcomplete = <module 'argcomplete' from '/usr/lib/python3/dist-packages/argcomplete/__init__.py'> argcomplete_config = <module 'traitlets.config.argcomplete_config' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_traitlets/build/traitlets/config/argcomplete_config.py'> classes = [<class 'traitlets.config.application.Application'>, <class 'tests.config.test_argcomplete.ArgcompleteApp'>, <class 'tests.config.test_argcomplete.SubApp2'>] finder = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f421279f320> self = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f421279e660> subcommands = {} [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:174: in __call__ [0mcompletions = [96mself[39;49;00m._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos)[90m[39;49;00m always_complete_options = True append_space = None argument_parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) comp_line = 'app subapp2 --' comp_point = 14 comp_words = ['subapp2'] cword_prefix = '--' cword_prequote = '' cword_suffix = '' default_completer = <argcomplete.completers.FilesCompleter object at 0x7f4212a7f1d0> dfs = None exclude = None exit_method = <bound method CustomError.exit of <class 'tests.config.test_argcomplete.CustomError'>> ifs = '\x0b' last_wordbreak_pos = None output_stream = <_io.StringIO object at 0x7f4212cf9c00> print_suppressed = False self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f421279f320> start = 1 validator = None [1m[31mtraitlets/config/argcomplete_config.py[0m:191: in _get_completions [0mcompletions = [96msuper[39;49;00m()._get_completions(comp_words, cword_prefix, *args) [90m# type:ignore[no-untyped-call][39;49;00m[90m[39;49;00m __class__ = <class 'traitlets.config.argcomplete_config.ExtendedCompletionFinder'> args = ('', None) comp_words = ['subapp2'] cword_prefix = '--' is_option = True matched_completions = [(<class 'traitlets.config.application.Application'>, '--Application.'), (<class 'tests.config.test_argcomplete.ArgcompleteApp'>, '--ArgcompleteApp.'), (<class 'tests.config.test_argcomplete.SubApp2'>, '--SubApp2.')] prefix_chars = '-' self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f421279f320> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:223: in _get_completions [0mcompletions = [96mself[39;49;00m.collect_completions(active_parsers, parsed_args, cword_prefix)[90m[39;49;00m active_parsers = [MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)] comp_words = ['subapp2'] cword_prefix = '--' cword_prequote = '' last_wordbreak_pos = None parsed_args = Namespace(_flags=[]) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f421279f320> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:440: in collect_completions [0mcompletions += [96mself[39;49;00m._get_option_completions(active_parser, cword_prefix)[90m[39;49;00m active_parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) active_parsers = [MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)] completions = [] cword_prefix = '--' parsed_args = Namespace(_flags=[]) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f421279f320> [1m[31mtraitlets/config/argcomplete_config.py[0m:209: in _get_option_completions [0mcompletions = [96msuper[39;49;00m()._get_option_completions(parser, cword_prefix) [90m# type:ignore[no-untyped-call][39;49;00m[90m[39;49;00m __class__ = <class 'traitlets.config.argcomplete_config.ExtendedCompletionFinder'> cword_prefix = '--' parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f421279f320> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:326: in _get_option_completions [0m[94mif[39;49;00m [95mnot[39;49;00m [96mself[39;49;00m._action_allowed(action, parser):[90m[39;49;00m action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) completer = None cword_prefix = '--' option_completions = [] option_string = '--log-level' parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f421279f320> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) [0m[37m@staticmethod[39;49;00m[90m[39;49;00m [94mdef[39;49;00m [92m_action_allowed[39;49;00m(action, parser):[90m[39;49;00m [90m# Logic adapted from take_action in ArgumentParser._parse_known_args[39;49;00m[90m[39;49;00m [90m# (members are saved by vendor._argparse.IntrospectiveArgumentParser)[39;49;00m[90m[39;49;00m
[94mfor[39;49;00m conflict_action [95min[39;49;00m parser._action_conflicts.get(action, []):[90m[39;49;00m
[1m[31mE AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts'[0m action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:336: AttributeError [31m[1m________________ TestArgcomplete.test_complete_subcommands_main ________________[0m self = <tests.config.test_argcomplete.TestArgcomplete object at 0x7f4212a82060> argcomplete_on = None [0m[94mdef[39;49;00m [92mtest_complete_subcommands_main[39;49;00m([96mself[39;49;00m, argcomplete_on):[90m[39;49;00m app = MainApp()[90m[39;49;00m
completions = [96mset[39;49;00m([96mself[39;49;00m.run_completer(app, [33m"[39;49;00m[33mapp --[39;49;00m[33m"[39;49;00m))[90m[39;49;00m
app = <tests.config.test_argcomplete.MainApp object at 0x7f42129c95e0> argcomplete_on = None self = <tests.config.test_argcomplete.TestArgcomplete object at 0x7f4212a82060> [1m[31mtests/config/test_argcomplete.py[0m:218: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [1m[31mtests/config/test_argcomplete.py[0m:127: in run_completer [0mapp.initialize()[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f42129c95e0> cm = <ExceptionInfo for raises contextmanager> command = 'app --' kwargs = {} point = '6' self = <tests.config.test_argcomplete.TestArgcomplete object at 0x7f4212a82060> strio = <_io.StringIO object at 0x7f4212cfa2c0> [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f42129c95e0> args = () kwargs = {} method = <function Application.initialize at 0x7f4212a51e40> [1m[31mtraitlets/config/application.py[0m:465: in initialize [0m[96mself[39;49;00m.parse_command_line(argv)[90m[39;49;00m argv = None self = <tests.config.test_argcomplete.MainApp object at 0x7f42129c95e0> [1m[31mtraitlets/config/application.py[0m:118: in inner [0m[94mreturn[39;49;00m method(app, *args, **kwargs)[90m[39;49;00m app = <tests.config.test_argcomplete.MainApp object at 0x7f42129c95e0> args = (None,) kwargs = {} method = <function Application.parse_command_line at 0x7f4212a52f20> [1m[31mtraitlets/config/application.py[0m:881: in parse_command_line [0m[96mself[39;49;00m.cli_config = deepcopy(loader.load_config())[90m[39;49;00m aliases = {'log-level': 'MainApp.log_level'} argv = [] classes = [<class 'traitlets.config.application.Application'>, <class 'tests.config.test_argcomplete.ArgcompleteApp'>, <class 'tests.config.test_argcomplete.MainApp'>] flags = {'debug': ({'MainApp': {'log_level': 10}}, 'Set log-level to debug, for the most verbose logging.'), 'show-config': ({...), 'show-config-json': ({'MainApp': {'show_config_json': True}}, "Show the application's configuration (json format)")} interpreted_argv = [] loader = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f42129d1d60> self = <tests.config.test_argcomplete.MainApp object at 0x7f42129c95e0> [1m[31mtraitlets/config/loader.py[0m:894: in load_config [0m[96mself[39;49;00m._argcomplete([96mself[39;49;00m.classes, [96mself[39;49;00m.subcommands)[90m[39;49;00m aliases = None argv = [] classes = None flags = <Sentinel deprecated> self = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f42129d1d60> [1m[31mtraitlets/config/loader.py[0m:1139: in _argcomplete [0mfinder([96mself[39;49;00m.parser, **[96mgetattr[39;49;00m([96mself[39;49;00m, [33m"[39;49;00m[33m_argcomplete_kwargs[39;49;00m[33m"[39;49;00m, {}))[90m[39;49;00m argcomplete = <module 'argcomplete' from '/usr/lib/python3/dist-packages/argcomplete/__init__.py'> argcomplete_config = <module 'traitlets.config.argcomplete_config' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_traitlets/build/traitlets/config/argcomplete_config.py'> classes = [<class 'traitlets.config.application.Application'>, <class 'tests.config.test_argcomplete.ArgcompleteApp'>, <class 'tests.config.test_argcomplete.MainApp'>] finder = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129f6a50> self = <traitlets.config.loader.KVArgParseConfigLoader object at 0x7f42129d1d60> subcommands = {'subapp1': (<class 'tests.config.test_argcomplete.SubApp1'>, 'First subapp'), 'subapp2': (<bound method SubApp2.get_subapp_instance of <class 'tests.config.test_argcomplete.SubApp2'>>, 'Second subapp')} [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:174: in __call__ [0mcompletions = [96mself[39;49;00m._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos)[90m[39;49;00m always_complete_options = True append_space = None argument_parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) comp_line = 'app --' comp_point = 6 comp_words = ['app'] cword_prefix = '--' cword_prequote = '' cword_suffix = '' default_completer = <argcomplete.completers.FilesCompleter object at 0x7f4212a7f1d0> dfs = None exclude = None exit_method = <bound method CustomError.exit of <class 'tests.config.test_argcomplete.CustomError'>> ifs = '\x0b' last_wordbreak_pos = None output_stream = <_io.StringIO object at 0x7f4212cfa2c0> print_suppressed = False self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129f6a50> start = 0 validator = None [1m[31mtraitlets/config/argcomplete_config.py[0m:191: in _get_completions [0mcompletions = [96msuper[39;49;00m()._get_completions(comp_words, cword_prefix, *args) [90m# type:ignore[no-untyped-call][39;49;00m[90m[39;49;00m __class__ = <class 'traitlets.config.argcomplete_config.ExtendedCompletionFinder'> args = ('', None) comp_words = ['app'] cword_prefix = '--' is_option = True matched_completions = [(<class 'traitlets.config.application.Application'>, '--Application.'), (<class 'tests.config.test_argcomplete.ArgcompleteApp'>, '--ArgcompleteApp.'), (<class 'tests.config.test_argcomplete.MainApp'>, '--MainApp.')] prefix_chars = '-' self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129f6a50> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:223: in _get_completions [0mcompletions = [96mself[39;49;00m.collect_completions(active_parsers, parsed_args, cword_prefix)[90m[39;49;00m active_parsers = [MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)] comp_words = ['app'] cword_prefix = '--' cword_prequote = '' last_wordbreak_pos = None parsed_args = Namespace(_flags=[]) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129f6a50> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:440: in collect_completions [0mcompletions += [96mself[39;49;00m._get_option_completions(active_parser, cword_prefix)[90m[39;49;00m active_parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) active_parsers = [MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)] completions = [] cword_prefix = '--' parsed_args = Namespace(_flags=[]) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129f6a50> [1m[31mtraitlets/config/argcomplete_config.py[0m:209: in _get_option_completions [0mcompletions = [96msuper[39;49;00m()._get_option_completions(parser, cword_prefix) [90m# type:ignore[no-untyped-call][39;49;00m[90m[39;49;00m __class__ = <class 'traitlets.config.argcomplete_config.ExtendedCompletionFinder'> cword_prefix = '--' parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129f6a50> [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:326: in _get_option_completions [0m[94mif[39;49;00m [95mnot[39;49;00m [96mself[39;49;00m._action_allowed(action, parser):[90m[39;49;00m action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) completer = None cword_prefix = '--' option_completions = [] option_string = '--log-level' parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) self = <traitlets.config.argcomplete_config.ExtendedCompletionFinder object at 0x7f42129f6a50> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) [0m[37m@staticmethod[39;49;00m[90m[39;49;00m [94mdef[39;49;00m [92m_action_allowed[39;49;00m(action, parser):[90m[39;49;00m [90m# Logic adapted from take_action in ArgumentParser._parse_known_args[39;49;00m[90m[39;49;00m [90m# (members are saved by vendor._argparse.IntrospectiveArgumentParser)[39;49;00m[90m[39;49;00m
[94mfor[39;49;00m conflict_action [95min[39;49;00m parser._action_conflicts.get(action, []):[90m[39;49;00m
[1m[31mE AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts'[0m action = IntrospectAction(option_strings=['-h', '--help'], dest='help', nargs=0, const=None, default='==SUPPRESS==', type=None, choices=None, required=False, help='show this help message and exit', metavar=None) parser = MonkeyPatchedIntrospectiveArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) [1m[31m/usr/lib/python3/dist-packages/argcomplete/finders.py[0m:336: AttributeError [33m=============================== warnings summary ===============================[0m tests/_warnings.py::tests._warnings.all_warnings <doctest tests._warnings.all_warnings[1]>:2: RuntimeWarning: bar -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 4.30s call tests/test_typing.py::[mypy]mypy_decorator_typing 0.13s call tests/config/test_application.py::test_show_config_cli 0.13s call tests/config/test_application.py::test_help_output 0.13s call tests/config/test_application.py::test_show_config_json_cli 0.13s call tests/config/test_application.py::test_help_all_output 0.01s call tests/config/test_configurable.py::TestConfigurable::test_override2 (4 durations < 0.005s hidden. Use -vv to show these durations.) [36m[1m=========================== short test summary info ============================[0m [33mSKIPPED[0m [1] ../../../../../../usr/lib/python3/dist-packages/_pytest/doctest.py:458: all tests skipped by +SKIP option [31mFAILED[0m tests/config/test_argcomplete.py::[1mTestArgcomplete::test_complete_simple_app[0m - AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no at... [31mFAILED[0m tests/config/test_argcomplete.py::[1mTestArgcomplete::test_complete_custom_completers[0m - AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no at... [31mFAILED[0m tests/config/test_argcomplete.py::[1mTestArgcomplete::test_complete_subcommands[0m - AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no at... [31mFAILED[0m tests/config/test_argcomplete.py::[1mTestArgcomplete::test_complete_subcommands_subapp1[0m - AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no at... [31mFAILED[0m tests/config/test_argcomplete.py::[1mTestArgcomplete::test_complete_subcommands_subapp2[0m - AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no at... [31mFAILED[0m tests/config/test_argcomplete.py::[1mTestArgcomplete::test_complete_subcommands_main[0m - AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no at... [31m============= [31m[1m6 failed[0m, [32m581 passed[0m, [33m1 skipped[0m, [33m1 warning[0m[31m in 5.94s[0m[31m ==============[0m E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_traitlets/build; python3.12 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202411/ 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 could not 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 affects, so that this is still visible in the BTS web page for this package. Thanks.