@@ -272,7 +272,6 @@ def test_pep518_forkbombs(
272272
273273
274274@pytest .mark .network
275- @pytest .mark .usefixtures ("with_wheel" )
276275def test_pip_second_command_line_interface_works (
277276 script : PipTestEnvironment ,
278277 pip_src : Path ,
@@ -317,7 +316,6 @@ def test_install_exit_status_code_when_blank_requirements_file(
317316
318317
319318@pytest .mark .network
320- @pytest .mark .usefixtures ("with_wheel" )
321319def test_basic_install_from_pypi (script : PipTestEnvironment ) -> None :
322320 """
323321 Test installing a package from PyPI.
@@ -376,7 +374,6 @@ def test_basic_install_editable_from_git(script: PipTestEnvironment) -> None:
376374 _test_install_editable_from_git (script )
377375
378376
379- @pytest .mark .usefixtures ("with_wheel" )
380377def test_install_editable_from_git_autobuild_wheel (script : PipTestEnvironment ) -> None :
381378 _test_install_editable_from_git (script )
382379
@@ -503,7 +500,6 @@ def test_vcs_url_urlquote_normalization(
503500
504501
505502@pytest .mark .parametrize ("resolver" , ["" , "--use-deprecated=legacy-resolver" ])
506- @pytest .mark .usefixtures ("with_wheel" )
507503def test_basic_install_from_local_directory (
508504 script : PipTestEnvironment , data : TestData , resolver : str
509505) -> None :
@@ -533,7 +529,6 @@ def test_basic_install_from_local_directory(
533529 ("embedded_rel_path" , True ),
534530 ],
535531)
536- @pytest .mark .usefixtures ("with_wheel" )
537532def test_basic_install_relative_directory (
538533 script : PipTestEnvironment , data : TestData , test_type : str , editable : bool
539534) -> None :
@@ -655,7 +650,6 @@ def test_hashed_install_failure_later_flag(
655650 )
656651
657652
658- @pytest .mark .usefixtures ("with_wheel" )
659653def test_install_from_local_directory_with_in_tree_build (
660654 script : PipTestEnvironment , data : TestData
661655) -> None :
@@ -800,7 +794,6 @@ def test_upgrade_argparse_shadowed(script: PipTestEnvironment) -> None:
800794 assert "Not uninstalling argparse" not in result .stdout
801795
802796
803- @pytest .mark .usefixtures ("with_wheel" )
804797def test_install_curdir (script : PipTestEnvironment , data : TestData ) -> None :
805798 """
806799 Test installing current directory ('.').
@@ -817,7 +810,6 @@ def test_install_curdir(script: PipTestEnvironment, data: TestData) -> None:
817810 result .did_create (dist_info_folder )
818811
819812
820- @pytest .mark .usefixtures ("with_wheel" )
821813def test_install_pardir (script : PipTestEnvironment , data : TestData ) -> None :
822814 """
823815 Test installing parent directory ('..').
@@ -877,7 +869,6 @@ def test_install_global_option_using_editable(
877869
878870
879871@pytest .mark .network
880- @pytest .mark .usefixtures ("with_wheel" )
881872def test_install_package_with_same_name_in_curdir (script : PipTestEnvironment ) -> None :
882873 """
883874 Test installing a package with the same name of a local folder
@@ -896,7 +887,6 @@ def test_install_package_with_same_name_in_curdir(script: PipTestEnvironment) ->
896887)
897888
898889
899- @pytest .mark .usefixtures ("with_wheel" )
900890def test_install_folder_using_dot_slash (script : PipTestEnvironment ) -> None :
901891 """
902892 Test installing a folder using pip install ./foldername
@@ -909,7 +899,6 @@ def test_install_folder_using_dot_slash(script: PipTestEnvironment) -> None:
909899 result .did_create (dist_info_folder )
910900
911901
912- @pytest .mark .usefixtures ("with_wheel" )
913902def test_install_folder_using_slash_in_the_end (script : PipTestEnvironment ) -> None :
914903 r"""
915904 Test installing a folder using pip install foldername/ or foldername\
@@ -922,7 +911,6 @@ def test_install_folder_using_slash_in_the_end(script: PipTestEnvironment) -> No
922911 result .did_create (dist_info_folder )
923912
924913
925- @pytest .mark .usefixtures ("with_wheel" )
926914def test_install_folder_using_relative_path (script : PipTestEnvironment ) -> None :
927915 """
928916 Test installing a folder using pip install folder1/folder2
@@ -937,7 +925,6 @@ def test_install_folder_using_relative_path(script: PipTestEnvironment) -> None:
937925
938926
939927@pytest .mark .network
940- @pytest .mark .usefixtures ("with_wheel" )
941928def test_install_package_which_contains_dev_in_name (script : PipTestEnvironment ) -> None :
942929 """
943930 Test installing package from PyPI which contains 'dev' in name
@@ -949,7 +936,6 @@ def test_install_package_which_contains_dev_in_name(script: PipTestEnvironment)
949936 result .did_create (dist_info_folder )
950937
951938
952- @pytest .mark .usefixtures ("with_wheel" )
953939def test_install_package_with_target (script : PipTestEnvironment ) -> None :
954940 """
955941 Test installing a package using pip install --target
@@ -1082,7 +1068,6 @@ def test_install_nonlocal_compatible_wheel_path(
10821068
10831069
10841070@pytest .mark .parametrize ("opt" , ("--target" , "--prefix" ))
1085- @pytest .mark .usefixtures ("with_wheel" )
10861071def test_install_with_target_or_prefix_and_scripts_no_warning (
10871072 opt : str , script : PipTestEnvironment
10881073) -> None :
@@ -1121,7 +1106,6 @@ def main(): pass
11211106 assert "--no-warn-script-location" not in result .stderr , str (result )
11221107
11231108
1124- @pytest .mark .usefixtures ("with_wheel" )
11251109def test_install_package_with_root (script : PipTestEnvironment , data : TestData ) -> None :
11261110 """
11271111 Test installing a package using pip install --root
@@ -1318,7 +1302,6 @@ def test_install_package_with_latin1_setup(
13181302 script .pip ("install" , to_install )
13191303
13201304
1321- @pytest .mark .usefixtures ("with_wheel" )
13221305def test_url_req_case_mismatch_no_index (
13231306 script : PipTestEnvironment , data : TestData
13241307) -> None :
@@ -1342,7 +1325,6 @@ def test_url_req_case_mismatch_no_index(
13421325 result .did_not_create (dist_info_folder )
13431326
13441327
1345- @pytest .mark .usefixtures ("with_wheel" )
13461328def test_url_req_case_mismatch_file_index (
13471329 script : PipTestEnvironment , data : TestData
13481330) -> None :
@@ -1372,7 +1354,6 @@ def test_url_req_case_mismatch_file_index(
13721354 result .did_not_create (dist_info_folder )
13731355
13741356
1375- @pytest .mark .usefixtures ("with_wheel" )
13761357def test_url_incorrect_case_no_index (
13771358 script : PipTestEnvironment , data : TestData
13781359) -> None :
@@ -1396,7 +1377,6 @@ def test_url_incorrect_case_no_index(
13961377 result .did_create (dist_info_folder )
13971378
13981379
1399- @pytest .mark .usefixtures ("with_wheel" )
14001380def test_url_incorrect_case_file_index (
14011381 script : PipTestEnvironment , data : TestData
14021382) -> None :
@@ -1546,15 +1526,13 @@ def test_install_topological_sort(script: PipTestEnvironment, data: TestData) ->
15461526 assert order1 in res or order2 in res , res
15471527
15481528
1549- @pytest .mark .usefixtures ("with_wheel" )
15501529def test_install_wheel_broken (script : PipTestEnvironment ) -> None :
15511530 res = script .pip_install_local ("wheelbroken" , allow_stderr_error = True )
15521531 assert "ERROR: Failed building wheel for wheelbroken" in res .stderr
15531532 # Fallback to setup.py install (https://github.com/pypa/pip/issues/8368)
15541533 assert "Successfully installed wheelbroken-0.1" in str (res ), str (res )
15551534
15561535
1557- @pytest .mark .usefixtures ("with_wheel" )
15581536def test_cleanup_after_failed_wheel (script : PipTestEnvironment ) -> None :
15591537 res = script .pip_install_local ("wheelbrokenafter" , allow_stderr_error = True )
15601538 assert "ERROR: Failed building wheel for wheelbrokenafter" in res .stderr
@@ -1569,7 +1547,6 @@ def test_cleanup_after_failed_wheel(script: PipTestEnvironment) -> None:
15691547 assert "Running setup.py clean for wheelbrokenafter" in str (res ), str (res )
15701548
15711549
1572- @pytest .mark .usefixtures ("with_wheel" )
15731550def test_install_builds_wheels (script : PipTestEnvironment , data : TestData ) -> None :
15741551 # We need to use a subprocess to get the right value on Windows.
15751552 res = script .run (
@@ -1622,7 +1599,6 @@ def test_install_builds_wheels(script: PipTestEnvironment, data: TestData) -> No
16221599 ]
16231600
16241601
1625- @pytest .mark .usefixtures ("with_wheel" )
16261602def test_install_no_binary_disables_building_wheels (
16271603 script : PipTestEnvironment , data : TestData
16281604) -> None :
@@ -1653,7 +1629,6 @@ def test_install_no_binary_disables_building_wheels(
16531629
16541630
16551631@pytest .mark .network
1656- @pytest .mark .usefixtures ("with_wheel" )
16571632def test_install_no_binary_builds_pep_517_wheel (
16581633 script : PipTestEnvironment , data : TestData
16591634) -> None :
@@ -1668,7 +1643,6 @@ def test_install_no_binary_builds_pep_517_wheel(
16681643
16691644
16701645@pytest .mark .network
1671- @pytest .mark .usefixtures ("with_wheel" )
16721646def test_install_no_binary_uses_local_backend (
16731647 script : PipTestEnvironment , data : TestData , tmpdir : Path
16741648) -> None :
@@ -1682,7 +1656,6 @@ def test_install_no_binary_uses_local_backend(
16821656 assert os .path .isfile (marker ), "Local PEP 517 backend not used"
16831657
16841658
1685- @pytest .mark .usefixtures ("with_wheel" )
16861659def test_install_no_binary_disables_cached_wheels (
16871660 script : PipTestEnvironment , data : TestData
16881661) -> None :
@@ -1821,7 +1794,6 @@ def test_install_incompatible_python_requires_editable(
18211794 assert _get_expected_error_text () in result .stderr , str (result )
18221795
18231796
1824- @pytest .mark .usefixtures ("with_wheel" )
18251797def test_install_incompatible_python_requires_wheel (script : PipTestEnvironment ) -> None :
18261798 script .scratch_path .joinpath ("pkga" ).mkdir ()
18271799 pkga_path = script .scratch_path / "pkga"
0 commit comments