Mon, 29 Jul 2024 11:58:20 +0200
New release with a bug fix.
diff -r 0f1269b533a6 -r b898d1a77ab0 PipxInterface/PipxWidget.py --- a/PipxInterface/PipxWidget.py Mon Jul 29 11:40:05 2024 +0200 +++ b/PipxInterface/PipxWidget.py Mon Jul 29 11:58:20 2024 +0200 @@ -7,6 +7,7 @@ Module implementing the pipx management widget. """ +import contextlib import os import psutil @@ -593,12 +594,16 @@ if package in expandedPackages: itm.setExpanded(True) - if package in outdatedPackages: + with contextlib.suppress(KeyError): latestVersion, outdatedDependencies = outdatedPackages[package] - if itm.data(0, PipxWidget.VersionRole) != latestVersion: + if ( + latestVersion is not None + and itm.data(0, PipxWidget.VersionRole) != latestVersion + ): self.__markPackageOutdated(itm, latestVersion, outdatedDependencies) elif ( - itm.data(0, PipxWidget.OutdatedDependenciesRole) + outdatedDependencies is not None + and itm.data(0, PipxWidget.OutdatedDependenciesRole) != outdatedDependencies and outdatedDependencies ):
diff -r 0f1269b533a6 -r b898d1a77ab0 PluginPipxInterface.py --- a/PluginPipxInterface.py Mon Jul 29 11:40:05 2024 +0200 +++ b/PluginPipxInterface.py Mon Jul 29 11:58:20 2024 +0200 @@ -36,7 +36,7 @@ "author": "Detlev Offenbach <detlev@die-offenbachs.de>", "autoactivate": True, "deactivateable": True, - "version": "10.2.3", + "version": "10.2.4", "className": "PluginPipxInterface", "packageName": "PipxInterface", "shortDescription": "Graphical interface to the 'pipx' command.",