New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.11 breaks pytest integration #519
Comments
just ran into this. alternatively what are the older versions we could pin for pytest to keep it working? is this a python 3.11 vs 3.10 issue or pytest + pdbpp combo? |
pytest vendored some parts of So, pytest < 7 would probably help, but I am not sure whether pytest 6 was already py311 compatible. This is certainly no longterm solution. |
In the meantime, you can try using https://pypi.org/project/pdbp/ (
Hopefully those fixes can get ported back into |
Currently pdbpp's integration with pytest is broken: it pops into the debugger but there's no working prompt and I there's no way out unless pytest runs with
-s
. The good news is thatpip install --use-pep517 'pdbpp @ git+https://github.com/pdbpp/pdbpp.git@master'
fixes it.The bad news is that the test suite is broken all across the board (except Python 2, lolol) and riddled with
AttributeError: module 'py' has no attribute 'code'
(plus possibly more). See e.g. https://github.com/pdbpp/pdbpp/actions/runs/4119851001I suppose there's been bigger internal changes at pytest, but is there anyone left with enough time and expertise to make pdbp++ work again? It would be a pity to lose it like this, none of the alternatives come even close…
The text was updated successfully, but these errors were encountered: