Skip to content

Commit e528fbf

Browse files
committed
Some --no-index tests need setuptools
1 parent b900e19 commit e528fbf

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

tests/functional/test_list.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ def simple_script(
2222
tmpdir_factory: pytest.TempPathFactory,
2323
script_factory: ScriptFactory,
2424
shared_data: TestData,
25+
common_wheels: Path,
2526
) -> PipTestEnvironment:
2627
tmpdir = tmpdir_factory.mktemp("pip_test_package")
2728
script = script_factory(tmpdir.joinpath("workspace"))
2829
script.pip(
2930
"install",
3031
"-f",
3132
shared_data.find_links,
33+
"-f",
34+
common_wheels,
3235
"--no-index",
3336
"simple==1.0",
3437
"simple2==3.0",
@@ -334,10 +337,19 @@ def pip_test_package_script(
334337
tmpdir_factory: pytest.TempPathFactory,
335338
script_factory: ScriptFactory,
336339
shared_data: TestData,
340+
common_wheels: Path,
337341
) -> PipTestEnvironment:
338342
tmpdir = tmpdir_factory.mktemp("pip_test_package")
339343
script = script_factory(tmpdir.joinpath("workspace"))
340-
script.pip("install", "-f", shared_data.find_links, "--no-index", "simple==1.0")
344+
script.pip(
345+
"install",
346+
"-f",
347+
shared_data.find_links,
348+
"-f",
349+
common_wheels,
350+
"--no-index",
351+
"simple==1.0",
352+
)
341353
script.pip(
342354
"install",
343355
"-e",

0 commit comments

Comments
 (0)