pdb prompt is nonresponsive in Python 3.13.0 from python-build-standalone #12888
Description
With Python 3.13.0 installed with uv
(i.e. from python-build-standalone), the pdb prompt is completely nonresponsive when triggered either by the --pdb
flag or by a breakpoint.
This can be reproduced by the following test in test_foo.py
:
def test_bar():
raise ValueError
and running:
pytest test_foo.py --pdb
I tested the same code with the official source release from python.org for 3.13.0 on the same computer and the same code works just fine, so it seems it's somehow related to the build by python-build-standalone. Note that putting a breakpoint in a regular Python script and running it in the same interpreter does work, so this seems to be an issue with the combination with pytest
.
OS: Arch Linux.
Pytest version
❯ pytest --version
pytest 8.3.3
`pip list` output
❯ pip list
Package Version
--------- -------
iniconfig 2.0.0
packaging 24.1
pip 24.2
pluggy 1.5.0
pytest 8.3.3