-
Notifications
You must be signed in to change notification settings - Fork 67
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
fix python -m pdb on 3.11 #521
base: master
Are you sure you want to change the base?
Conversation
If anybody is interested, I merged this and released with some updates in This also includes Install with: pip install git+https://github.com/bretello/pdbpp@0.11.0 |
It does not work for me on macos:
|
@bretello I'm getting the same error as @clarkwang (but I'm on arch linux):
|
Thanks for the feedback. Could you post the outpuit of cd $(mktemp -d)
python -m venv .venv
source .venv/bin/activate
python -m pdb foo.py I cannot seem to reproduce on arch: |
My
And a new venv works fine for me. |
Same here regarding the new venv:
|
Created a fresh venv for 3.11.1 in a Fedora Docker container. Then I installed my common additional packages (e. g. black, ipython, pytest and more) I use to develop. I also installed my dev project in editable mode. When I then try to run my project I get the exact same errors.
|
Tracked this down to a misplaced assert in See the new release: Test it out: pip install -U git+https://github.com/bretello/pdbpp@0.11.2 |
Yes, great! |
Thank you!! |
the patch also seems to work on 3.12, are the tests failing bc of broken ci or related to the change? |
@saucoide |
based on the changes in proposed in #516 and #520
fixes #516