-
Notifications
You must be signed in to change notification settings - Fork 28
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
JSONDecodeError when checking for upgrades #139
Comments
I experienced the same. I found out that running: /opt/homebrew/bin/pip list --outdated --format json returned
So, I did run Perhaps the issue is with extra notice text:
Which is not parseable JSON but is presented on stdout? |
Hah gotcha thanks @bonkey, upgrading pip solved it. It's exactly as you mentioned, pip 22.1.2 produces
so upgrading pip to the latest version (22.2) fixes that. You can get rid of the notice by adding |
The place to start would be here: pipupgrade/src/pipupgrade/commands/helper.py Line 319 in 8260e49
If I have some time this week I can investigate it a bit more. |
Description
Running
pipupgrade -c -l -u --pip-path ~/.local/bin/pip3
and I got this error:The text was updated successfully, but these errors were encountered: