test: Adapt test_explicit_export_topologically_sorted (#3377)

As of pip 24.1.2 distribution on conda-forge,
pip does not depend on wheel anymore:
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 <git@jjerphan.xyz>
This commit is contained in:
Julien Jerphanion 2024-07-31 18:39:50 +02:00 committed by GitHub
parent ca8cee50fe
commit 16fec215e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -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"]