From c99b9bb53e0b27ae629777c9cd317946a3582373 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 05:03:16 +0000 Subject: [PATCH] ci: enhance conda solver verification steps Co-Authored-By: Kevin Kull --- .github/workflows/python-app.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index b26d2b51..cba78a14 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -47,13 +47,25 @@ jobs: exit 1 fi - - name: Configure Conda + - name: Configure and Verify Conda shell: bash -l {0} run: | + # Remove conda-libmamba-solver if present + conda remove -n base conda-libmamba-solver -y || true + + # Set solver to classic + conda config --system --set solver classic + + # Verify configuration + echo "=== Conda Solver Configuration ===" + conda config --show solver + + echo "=== Verify conda-libmamba-solver is removed ===" + conda list conda-libmamba-solver + + echo "=== Conda Environment Info ===" conda info conda config --show channels - conda config --set solver classic - conda list - name: Install Python Dependencies shell: bash -l {0}