Source: ipdb Version: 0.13.13-2 Severity: serious User: debian-pyt...@lists.debian.org Usertags: python3.13
Hi Maintainer The autopkgtests of this package fail with Python 3.13 [1]. I've copied what I hope is the relevant part of the log below. Regards Graham [1] https://ci.debian.net/packages/i/ipdb/testing/amd64/ 10077s ====================================================================== 10077s ERROR: test_debug_module_script_3_11 (tests.test_opts.OptsTest.test_debug_module_script_3_11) 10077s ---------------------------------------------------------------------- 10077s Traceback (most recent call last): 10077s File "/usr/lib/python3.13/pdb.py", line 219, in __init__ 10077s _, self._spec, self._code = runpy._get_module_details(self._target) 10077s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ 10077s File "<frozen runpy>", line 142, in _get_module_details 10077s ImportError: No module named my_buggy_module_3_11 10077s 10077s During handling of the above exception, another exception occurred: 10077s 10077s Traceback (most recent call last): 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 316, in main 10077s pdb._run(stdlib_pdb._ModuleTarget(mainpyfile)) 10077s ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ 10077s File "/usr/lib/python3.13/pdb.py", line 222, in __init__ 10077s sys.exit(1) 10077s ~~~~~~~~^^^ 10077s SystemExit: 1 10077s 10077s During handling of the above exception, another exception occurred: 10077s 10077s Traceback (most recent call last): 10077s File "/usr/lib/python3.13/unittest/mock.py", line 1423, in patched 10077s return func(*newargs, **newkeywargs) 10077s File "/tmp/autopkgtest-lxc.k67r3qq9/downtmp/autopkgtest_tmp/build/tests/test_opts.py", line 63, in test_debug_module_script_3_11 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 332, in main 10077s print("The program exited via sys.exit(). Exit status: ", end='') 10077s ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10077s BrokenPipeError: [Errno 32] Broken pipe 10077s 10077s ====================================================================== 10077s ERROR: test_debug_script_3_11 (tests.test_opts.OptsTest.test_debug_script_3_11) 10077s ---------------------------------------------------------------------- 10077s Traceback (most recent call last): 10077s File "/usr/lib/python3.13/unittest/mock.py", line 1423, in patched 10077s return func(*newargs, **newkeywargs) 10077s File "/tmp/autopkgtest-lxc.k67r3qq9/downtmp/autopkgtest_tmp/build/tests/test_opts.py", line 77, in test_debug_script_3_11 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 309, in main 10077s pdb = _init_pdb(commands=commands) 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 53, in _init_pdb 10077s context = os.getenv("IPDB_CONTEXT_SIZE", get_context_from_config()) 10077s ~~~~~~~~~~~~~~~~~~~~~~~^^ 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 83, in get_context_from_config 10077s parser = get_config() 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 146, in get_config 10077s cwd_filepath = os.path.join(os.getcwd(), cfg_file) 10077s ~~~~~~~~~^^ 10077s FileNotFoundError: [Errno 2] No such file or directory 10077s 10077s ====================================================================== 10077s ERROR: test_option_m_fallback_on_py36 (tests.test_opts.OptsTest.test_option_m_fallback_on_py36) 10077s ---------------------------------------------------------------------- 10077s Traceback (most recent call last): 10077s File "/usr/lib/python3.13/unittest/mock.py", line 1423, in patched 10077s return func(*newargs, **newkeywargs) 10077s File "/tmp/autopkgtest-lxc.k67r3qq9/downtmp/autopkgtest_tmp/build/tests/test_opts.py", line 91, in test_option_m_fallback_on_py36 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 309, in main 10077s pdb = _init_pdb(commands=commands) 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 53, in _init_pdb 10077s context = os.getenv("IPDB_CONTEXT_SIZE", get_context_from_config()) 10077s ~~~~~~~~~~~~~~~~~~~~~~~^^ 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 83, in get_context_from_config 10077s parser = get_config() 10077s File "/usr/lib/python3/dist-packages/ipdb/__main__.py", line 146, in get_config 10077s cwd_filepath = os.path.join(os.getcwd(), cfg_file) 10077s ~~~~~~~~~^^ 10077s FileNotFoundError: [Errno 2] No such file or directory 10077s 10077s ---------------------------------------------------------------------- 10077s Ran 21 tests in 10011.450s 10077s 10077s FAILED (errors=3, skipped=2)