From c3585a2ef4e5a8624e3d0d3c9ecdb776993ee567 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 19 Aug 2024 09:27:41 -0400 Subject: 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 --- src/conda.c | 13 +++++++------ 1 file 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; -- cgit