Created attachment 914196 [details] /var/tmp/portage/dev-python/ipython-8.30.0/temp/build.log dev-python/ipython built for python 3.13 fails tests: FAILED IPython/core/tests/test_run.py::TestMagicRunPass::test_run_debug_twice - AttributeError: 'Pdb' object has no attribute 'curframe'. Did you mean: 'botframe'? FAILED IPython/core/tests/test_run.py::TestMagicRunPass::test_run_debug_twice_with_breakpoint - AttributeError: 'Pdb' object has no attribute 'curframe'. Did you mean: 'botframe'? ================================================================ 2 failed, 1446 passed, 79 skipped, 5 deselected, 25 warnings in 66.12s (0:01:06) ================================================================= I'm planning to make a PR to fix this issue.
Created attachment 914197 [details] emerge --info =dev-python/ipython-8.30.0
Upstream fix links: https://github.com/ipython/ipython/pull/14598 https://github.com/ipython/ipython/commit/c1e945b5bc8fb673109cf32c4f238f6d5e0f5149
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404bee8d79dc272a718132e5c138a8be2bab968d commit 404bee8d79dc272a718132e5c138a8be2bab968d Author: Gabi Falk <gabifalk@gmx.com> AuthorDate: 2024-12-17 19:00:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-19 23:58:59 +0000 dev-python/ipython: Backport upstream fix for python 3.13 regression The regression was detected by ipython's own testsuite. This part of the IPython code is expected to break again with python 3.14, because the curframe_locals attribute was removed in the PR cpython#124369. However, there are plans to restore this attribute for backward compatibility in PR cpython#125951 before the CPython 3.14 release. Url: https://github.com/ipython/ipython/pull/14598 Url: https://github.com/ipython/ipython/commit/c1e945b5bc8fb673109cf32c4f238f6d5e0f5149 Url: https://github.com/python/cpython/pull/124369 Url: https://github.com/python/cpython/pull/125951 Url: https://github.com/ipython/ipython/issues/14620 Closes: https://bugs.gentoo.org/946568 Signed-off-by: Gabi Falk <gabifalk@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/39746 Signed-off-by: Sam James <sam@gentoo.org> ...n-8.30.0-python3.13-debugger-pdb-curframe.patch | 30 ++++++++++++++++++++++ ...thon-8.30.0.ebuild => ipython-8.30.0-r1.ebuild} | 2 ++ 2 files changed, 32 insertions(+)