src/eric7/Documentation/Source/eric7.PipInterface.Pip.html

branch
eric7
changeset 10209
8bb763e85937
parent 9851
ec12090e9cd9
child 10392
ef315a1fdd4a
--- a/src/eric7/Documentation/Source/eric7.PipInterface.Pip.html	Wed Sep 13 17:46:12 2023 +0200
+++ b/src/eric7/Documentation/Source/eric7.PipInterface.Pip.html	Thu Sep 14 15:54:56 2023 +0200
@@ -67,6 +67,14 @@
 <td>Private method to check, if an upgrade of PyQt packages is attempted.</td>
 </tr>
 <tr>
+<td><a href="#Pip.__extractOutdatedPackages">__extractOutdatedPackages</a></td>
+<td>Private method to extract the outdated packages list out of the process output.</td>
+</tr>
+<tr>
+<td><a href="#Pip.__outdatedFinished">__outdatedFinished</a></td>
+<td>Private method to handle the process finished signal.</td>
+</tr>
+<tr>
 <td><a href="#Pip.cacheList">cacheList</a></td>
 <td>Public method to list files contained in the pip cache.</td>
 </tr>
@@ -264,6 +272,60 @@
 bool
 </dd>
 </dl>
+<a NAME="Pip.__extractOutdatedPackages" ID="Pip.__extractOutdatedPackages"></a>
+<h4>Pip.__extractOutdatedPackages</h4>
+<b>__extractOutdatedPackages</b>(<i>proc</i>)
+
+<p>
+        Private method to extract the outdated packages list out of the process output.
+</p>
+<dl>
+
+<dt><i>proc</i> (QProcess)</dt>
+<dd>
+reference to the process
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+list of tuples containing the package name, installed version
+            and available version
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+list of tuple of (str, str, str)
+</dd>
+</dl>
+<a NAME="Pip.__outdatedFinished" ID="Pip.__outdatedFinished"></a>
+<h4>Pip.__outdatedFinished</h4>
+<b>__outdatedFinished</b>(<i>callback, proc, exitCode, exitStatus</i>)
+
+<p>
+        Private method to handle the process finished signal.
+</p>
+<dl>
+
+<dt><i>callback</i> (function)</dt>
+<dd>
+reference to the function to be called with the list of
+            outdated packages
+</dd>
+<dt><i>proc</i> (QProcess)</dt>
+<dd>
+reference to the process
+</dd>
+<dt><i>exitCode</i> (int)</dt>
+<dd>
+exit code of the process
+</dd>
+<dt><i>exitStatus</i> (QProcess.ExitStatus)</dt>
+<dd>
+exit status of the process
+</dd>
+</dl>
 <a NAME="Pip.cacheList" ID="Pip.cacheList"></a>
 <h4>Pip.cacheList</h4>
 <b>cacheList</b>(<i>venvName</i>)
@@ -571,7 +633,7 @@
 </dl>
 <a NAME="Pip.getOutdatedPackages" ID="Pip.getOutdatedPackages"></a>
 <h4>Pip.getOutdatedPackages</h4>
-<b>getOutdatedPackages</b>(<i>envName, localPackages=True, notRequired=False, usersite=False, interpreter=None, </i>)
+<b>getOutdatedPackages</b>(<i>envName, localPackages=True, notRequired=False, usersite=False, interpreter=None, callback=None, </i>)
 
 <p>
         Public method to get the list of outdated packages.
@@ -602,6 +664,11 @@
 path of an interpreter executable. If this is not
             None, it will override the given environment name (defaults to None)
 </dd>
+<dt><i>callback</i> (function)</dt>
+<dd>
+method accepting a list of tuples containing the
+            package name, installed version and available version
+</dd>
 </dl>
 <dl>
 <dt>Return:</dt>

eric ide

mercurial