aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-08-19 09:27:41 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-08-19 09:27:41 -0400
commitc3585a2ef4e5a8624e3d0d3c9ecdb776993ee567 (patch)
treef1541f550dd3d1ac2df1634252f78243218e505f
parent9b12119b58252040b040888e33eab208f7f831c1 (diff)
downloadstasis-c3585a2ef4e5a8624e3d0d3c9ecdb776993ee567.tar.gz
Disable outdated conda notifications
* The latest version isn't always the greatest. Don't give the end-user any ideas. Just use whatever the installer provides... quietly
-rw-r--r--src/conda.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/conda.c b/src/conda.c
index 3e8b783..613a57f 100644
--- a/src/conda.c
+++ b/src/conda.c
@@ -341,12 +341,13 @@ int conda_setup_headless() {
}
// Configure conda for headless CI
- conda_exec("config --system --set auto_update_conda false"); // never update conda automatically
- conda_exec("config --system --set always_yes true"); // never prompt for input
- conda_exec("config --system --set safety_checks disabled"); // speedup
- conda_exec("config --system --set rollback_enabled false"); // speedup
- conda_exec("config --system --set report_errors false"); // disable data sharing
- conda_exec("config --system --set solver libmamba"); // use a real solver
+ conda_exec("config --system --set auto_update_conda false"); // never update conda automatically
+ conda_exec("config --system --set notify_outdated_conda false"); // never notify about outdated conda version
+ conda_exec("config --system --set always_yes true"); // never prompt for input
+ conda_exec("config --system --set safety_checks disabled"); // speedup
+ conda_exec("config --system --set rollback_enabled false"); // speedup
+ conda_exec("config --system --set report_errors false"); // disable data sharing
+ conda_exec("config --system --set solver libmamba"); // use a real solver
char cmd[PATH_MAX];
size_t total = 0;