Changed the conda update command. eric7

Wed, 07 Dec 2022 11:38:48 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 07 Dec 2022 11:38:48 +0100
branch
eric7
changeset 9584
620d2ac049da
parent 9583
b1951dd240e0
child 9585
2b4bbdaa0ff9

Changed the conda update command.

src/eric7/CondaInterface/Conda.py file | annotate | diff | comparison | revisions
--- a/src/eric7/CondaInterface/Conda.py	Wed Dec 07 11:38:28 2022 +0100
+++ b/src/eric7/CondaInterface/Conda.py	Wed Dec 07 11:38:48 2022 +0100
@@ -617,7 +617,16 @@
         @return flag indicating success
         @rtype bool
         """
-        args = ["update", "--json", "--yes", "conda"]
+        args = [
+            "update",
+            "--json",
+            "--yes",
+            "--name",
+            "base",
+            "--channel",
+            "defaults",
+            "conda",
+        ]
 
         dlg = CondaExecDialog("update", self.__ui)
         dlg.start(args)

eric ide

mercurial