Skip to content

Conversation

@Carreau
Copy link
Member

@Carreau Carreau commented Dec 8, 2024

For some reason it is not always set, it was/is a bug in IPython to not check.

For some reason it is not always set, it was/is a bug in IPython to not
check.
@Carreau Carreau added this to the 8.31 milestone Dec 8, 2024
@Carreau Carreau merged commit be84e4b into ipython:main Dec 8, 2024
23 checks passed
@Carreau Carreau deleted the deb-313 branch December 8, 2024 10:45
@Carreau Carreau modified the milestone: 8.31 Dec 8, 2024
@gabifalk
Copy link

I believe, even with the fix it won't work with python 3.14. See:
python/cpython#124369 and
python/cpython@986a4e1

@gabifalk
Copy link

Also this one, python/cpython#125951. Perhaps we should just wait. :)

gabifalk added a commit to gabifalk/gentoo that referenced this pull request Dec 17, 2024
The regression was detected by ipython's own testsuite:
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'?

Url: ipython/ipython#14598
Url: ipython/ipython@c1e945b
Closes: https://bugs.gentoo.org/946568
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
gabifalk added a commit to gabifalk/gentoo that referenced this pull request Dec 17, 2024
The regression was detected by ipython's own testsuite.

Url: ipython/ipython#14598
Url: ipython/ipython@c1e945b
Closes: https://bugs.gentoo.org/946568
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
@Carreau
Copy link
Member Author

Carreau commented Dec 17, 2024

Ah thanks for the pointer; Ii have opened an issue.

gabifalk added a commit to gabifalk/gentoo that referenced this pull request Dec 17, 2024
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: ipython/ipython#14598
Url: ipython/ipython@c1e945b
Url: python/cpython#124369
Url: python/cpython#125951
Url: ipython/ipython#14620
Closes: https://bugs.gentoo.org/946568
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
gabifalk added a commit to gabifalk/gentoo that referenced this pull request Dec 17, 2024
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: ipython/ipython#14598
Url: ipython/ipython@c1e945b
Url: python/cpython#124369
Url: python/cpython#125951
Url: ipython/ipython#14620
Closes: https://bugs.gentoo.org/946568
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Dec 20, 2024
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: ipython/ipython#14598
Url: ipython/ipython@c1e945b
Url: python/cpython#124369
Url: python/cpython#125951
Url: ipython/ipython#14620
Closes: https://bugs.gentoo.org/946568
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
Closes: #39746
Signed-off-by: Sam James <sam@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants