From 03b9a14496a87b1373fc1fde00ff121514b61763 Mon Sep 17 00:00:00 2001 From: Julien Jerphanion Date: Wed, 31 Jul 2024 17:05:30 +0200 Subject: [PATCH] Adapt test_explicit_export_topologically_sorted As of pip 24.1.2 distribution on conda-forge, pip does not depend on wheels at runtime: https://github.com/conda-forge/pip-feedstock/pull/121/files#diff-f3725a55bf339595bf865fec73bda8ac99f283b0810c205442021f29c06eea9aR21-R25 Hence wheel index being 0 causing the bug. Let's omit it entirely. Signed-off-by: Julien Jerphanion --- micromamba/tests/test_env.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/micromamba/tests/test_env.py b/micromamba/tests/test_env.py index 793595e653..29ce3bda5b 100644 --- a/micromamba/tests/test_env.py +++ b/micromamba/tests/test_env.py @@ -184,7 +184,6 @@ def test_explicit_export_topologically_sorted(tmp_home, tmp_prefix): indices = { "libzlib": 0, "python": 0, - "wheel": 0, "pip": 0, "jupyterlab": 0, } @@ -194,6 +193,5 @@ def test_explicit_export_topologically_sorted(tmp_home, tmp_prefix): indices[pkg] = i assert indices["libzlib"] < indices["python"] - assert indices["python"] < indices["wheel"] - assert indices["wheel"] < indices["pip"] + assert indices["python"] < indices["pip"] assert indices["python"] < indices["jupyterlab"]