FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix pdb issues in Python 3.13.1 by Carreau · Pull Request #14598 · ipython/ipython · GitHub

Fix pdb issues in Python 3.13.1 - #14598

Merged
Carreau merged 1 commit into
ipython:mainfrom
Carreau:deb-313
Dec 8, 2024
Merged

Fix pdb issues in Python 3.13.1#14598
Carreau merged 1 commit into
ipython:mainfrom
Carreau:deb-313

Conversation

Carreau commented Dec 8, 2024

Copy link
Copy Markdown
Member

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 added this to the 8.31 milestone Dec 8, 2024
Carreau merged commit be84e4b into ipython:main Dec 8, 2024
Carreau deleted the deb-313 branch December 8, 2024 10:45
Carreau modified the milestone: 8.31 Dec 8, 2024

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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 commented Dec 17, 2024

Copy link
Copy Markdown
Member Author

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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL