@@ -165,7 +165,7 @@ def test_command_line_overrides_pip_conf(pip_with_index_conf, runner):
165165 ),
166166)
167167def test_command_line_setuptools_read (
168- runner , make_package , install_requires , expected_output
168+ runner , make_package , minimal_wheels_path , install_requires , expected_output
169169):
170170 package_dir = make_package (
171171 name = "fake-setuptools-a" ,
@@ -177,7 +177,7 @@ def test_command_line_setuptools_read(
177177 (
178178 str (package_dir / "setup.py" ),
179179 "--find-links" ,
180- MINIMAL_WHEELS_PATH ,
180+ minimal_wheels_path . as_posix () ,
181181 "--no-build-isolation" ,
182182 ),
183183 )
@@ -3430,7 +3430,9 @@ def test_pass_pip_cache_to_pip_args(tmpdir, runner, current_resolver):
34303430
34313431
34323432@backtracking_resolver_only
3433- def test_compile_recursive_extras_static (runner , tmp_path , current_resolver ):
3433+ def test_compile_recursive_extras_static (
3434+ runner , tmp_path , minimal_wheels_path , current_resolver
3435+ ):
34343436 (tmp_path / "pyproject.toml" ).write_text (
34353437 dedent (
34363438 """
@@ -3454,7 +3456,7 @@ def test_compile_recursive_extras_static(runner, tmp_path, current_resolver):
34543456 "--extra" ,
34553457 "dev" ,
34563458 "--find-links" ,
3457- os . fspath ( MINIMAL_WHEELS_PATH ),
3459+ minimal_wheels_path . as_posix ( ),
34583460 os .fspath (tmp_path / "pyproject.toml" ),
34593461 "--output-file" ,
34603462 "-" ,
@@ -3474,7 +3476,9 @@ def test_compile_recursive_extras_static(runner, tmp_path, current_resolver):
34743476
34753477
34763478@backtracking_resolver_only
3477- def test_compile_recursive_extras_build_targets (runner , tmp_path , current_resolver ):
3479+ def test_compile_recursive_extras_build_targets (
3480+ runner , tmp_path , minimal_wheels_path , current_resolver
3481+ ):
34783482 (tmp_path / "pyproject.toml" ).write_text (
34793483 dedent (
34803484 """
@@ -3500,7 +3504,7 @@ def test_compile_recursive_extras_build_targets(runner, tmp_path, current_resolv
35003504 "--build-deps-for" ,
35013505 "wheel" ,
35023506 "--find-links" ,
3503- os . fspath ( MINIMAL_WHEELS_PATH ),
3507+ minimal_wheels_path . as_posix ( ),
35043508 os .fspath (tmp_path / "pyproject.toml" ),
35053509 "--output-file" ,
35063510 "-" ,
@@ -3526,6 +3530,7 @@ def test_compile_recursive_extras_build_targets(runner, tmp_path, current_resolv
35263530def test_compile_build_targets_setuptools_no_wheel_dep (
35273531 runner ,
35283532 tmp_path ,
3533+ minimal_wheels_path ,
35293534 current_resolver ,
35303535):
35313536 """Check that user requests apply to build dependencies.
@@ -3566,7 +3571,7 @@ def test_compile_build_targets_setuptools_no_wheel_dep(
35663571 "--build-deps-for" ,
35673572 "wheel" ,
35683573 "--find-links" ,
3569- os . fspath ( MINIMAL_WHEELS_PATH ),
3574+ minimal_wheels_path . as_posix ( ),
35703575 os .fspath (tmp_path / "pyproject.toml" ),
35713576 "--constraint" ,
35723577 os .fspath (tmp_path / "constraints.txt" ),
0 commit comments