Running pytest directly through uv breaks history in pdb on windows. i.e.
➜ cat src/shell_pytest/test_thingy.py -p
def test_my_test():
breakpoint()
uv run pytest drops you straight into a debugger. On linux everything is good on windows history is broken.
This is quite annoying because pdb without history is very cumbersome! I'm not sure if this is easiest to fix on the uv side of things or in the pytest.exe wrapper so I've made issue in both. The uv issue is here:
astral-sh/uv#17174
That issue also contains some more detail if anyone is interested in picking this up.