Corrected an issue in the pip interface module causing a check for outdated packages to fail. eric7

Tue, 25 Jun 2024 12:30:47 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 25 Jun 2024 12:30:47 +0200
branch
eric7
changeset 10799
7f5228900da5
parent 10798
c8fbb0cf80ac
child 10800
c6ce5522be30

Corrected an issue in the pip interface module causing a check for outdated packages to fail.

src/eric7/PipInterface/Pip.py file | annotate | diff | comparison | revisions
--- a/src/eric7/PipInterface/Pip.py	Mon Jun 24 16:59:07 2024 +0200
+++ b/src/eric7/PipInterface/Pip.py	Tue Jun 25 12:30:47 2024 +0200
@@ -1017,7 +1017,9 @@
                 start.lower() for start in packageStarts if bool(start)
             )
             filteredPackages = [
-                p for p in packages if p.lower().startswith(filterStrings)
+                (p, packages[p][0], packages[p][1])
+                for p in packages
+                if p.lower().startswith(filterStrings)
             ]
         else:
             filteredPackages = []

eric ide

mercurial