diff -r 24c0c1066090 -r e65379fdbd97 src/eric7/PipInterface/Pip.py --- a/src/eric7/PipInterface/Pip.py Wed Nov 02 10:12:25 2022 +0100 +++ b/src/eric7/PipInterface/Pip.py Wed Nov 02 12:07:01 2022 +0100 @@ -806,7 +806,7 @@ data = str( reply.readAll(), Preferences.getSystem("IOEncoding"), "replace" ) - with contextlib.suppress(Exception): + with contextlib.suppress(json.JSONDecodeError): result = json.loads(data) return result @@ -836,7 +836,7 @@ dataStr = str( reply.readAll(), Preferences.getSystem("IOEncoding"), "replace" ) - with contextlib.suppress(Exception): + with contextlib.suppress(json.JSONDecodeError, KeyError): data = json.loads(dataStr) result = list(data["releases"].keys())