@@ -272,7 +272,6 @@ def test_pep518_forkbombs(
272
272
273
273
274
274
@pytest .mark .network
275
- @pytest .mark .usefixtures ("with_wheel" )
276
275
def test_pip_second_command_line_interface_works (
277
276
script : PipTestEnvironment ,
278
277
pip_src : Path ,
@@ -317,7 +316,6 @@ def test_install_exit_status_code_when_blank_requirements_file(
317
316
318
317
319
318
@pytest .mark .network
320
- @pytest .mark .usefixtures ("with_wheel" )
321
319
def test_basic_install_from_pypi (script : PipTestEnvironment ) -> None :
322
320
"""
323
321
Test installing a package from PyPI.
@@ -376,7 +374,6 @@ def test_basic_install_editable_from_git(script: PipTestEnvironment) -> None:
376
374
_test_install_editable_from_git (script )
377
375
378
376
379
- @pytest .mark .usefixtures ("with_wheel" )
380
377
def test_install_editable_from_git_autobuild_wheel (script : PipTestEnvironment ) -> None :
381
378
_test_install_editable_from_git (script )
382
379
@@ -503,7 +500,6 @@ def test_vcs_url_urlquote_normalization(
503
500
504
501
505
502
@pytest .mark .parametrize ("resolver" , ["" , "--use-deprecated=legacy-resolver" ])
506
- @pytest .mark .usefixtures ("with_wheel" )
507
503
def test_basic_install_from_local_directory (
508
504
script : PipTestEnvironment , data : TestData , resolver : str
509
505
) -> None :
@@ -533,7 +529,6 @@ def test_basic_install_from_local_directory(
533
529
("embedded_rel_path" , True ),
534
530
],
535
531
)
536
- @pytest .mark .usefixtures ("with_wheel" )
537
532
def test_basic_install_relative_directory (
538
533
script : PipTestEnvironment , data : TestData , test_type : str , editable : bool
539
534
) -> None :
@@ -655,7 +650,6 @@ def test_hashed_install_failure_later_flag(
655
650
)
656
651
657
652
658
- @pytest .mark .usefixtures ("with_wheel" )
659
653
def test_install_from_local_directory_with_in_tree_build (
660
654
script : PipTestEnvironment , data : TestData
661
655
) -> None :
@@ -800,7 +794,6 @@ def test_upgrade_argparse_shadowed(script: PipTestEnvironment) -> None:
800
794
assert "Not uninstalling argparse" not in result .stdout
801
795
802
796
803
- @pytest .mark .usefixtures ("with_wheel" )
804
797
def test_install_curdir (script : PipTestEnvironment , data : TestData ) -> None :
805
798
"""
806
799
Test installing current directory ('.').
@@ -817,7 +810,6 @@ def test_install_curdir(script: PipTestEnvironment, data: TestData) -> None:
817
810
result .did_create (dist_info_folder )
818
811
819
812
820
- @pytest .mark .usefixtures ("with_wheel" )
821
813
def test_install_pardir (script : PipTestEnvironment , data : TestData ) -> None :
822
814
"""
823
815
Test installing parent directory ('..').
@@ -877,7 +869,6 @@ def test_install_global_option_using_editable(
877
869
878
870
879
871
@pytest .mark .network
880
- @pytest .mark .usefixtures ("with_wheel" )
881
872
def test_install_package_with_same_name_in_curdir (script : PipTestEnvironment ) -> None :
882
873
"""
883
874
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) ->
896
887
)
897
888
898
889
899
- @pytest .mark .usefixtures ("with_wheel" )
900
890
def test_install_folder_using_dot_slash (script : PipTestEnvironment ) -> None :
901
891
"""
902
892
Test installing a folder using pip install ./foldername
@@ -909,7 +899,6 @@ def test_install_folder_using_dot_slash(script: PipTestEnvironment) -> None:
909
899
result .did_create (dist_info_folder )
910
900
911
901
912
- @pytest .mark .usefixtures ("with_wheel" )
913
902
def test_install_folder_using_slash_in_the_end (script : PipTestEnvironment ) -> None :
914
903
r"""
915
904
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
922
911
result .did_create (dist_info_folder )
923
912
924
913
925
- @pytest .mark .usefixtures ("with_wheel" )
926
914
def test_install_folder_using_relative_path (script : PipTestEnvironment ) -> None :
927
915
"""
928
916
Test installing a folder using pip install folder1/folder2
@@ -937,7 +925,6 @@ def test_install_folder_using_relative_path(script: PipTestEnvironment) -> None:
937
925
938
926
939
927
@pytest .mark .network
940
- @pytest .mark .usefixtures ("with_wheel" )
941
928
def test_install_package_which_contains_dev_in_name (script : PipTestEnvironment ) -> None :
942
929
"""
943
930
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)
949
936
result .did_create (dist_info_folder )
950
937
951
938
952
- @pytest .mark .usefixtures ("with_wheel" )
953
939
def test_install_package_with_target (script : PipTestEnvironment ) -> None :
954
940
"""
955
941
Test installing a package using pip install --target
@@ -1082,7 +1068,6 @@ def test_install_nonlocal_compatible_wheel_path(
1082
1068
1083
1069
1084
1070
@pytest .mark .parametrize ("opt" , ("--target" , "--prefix" ))
1085
- @pytest .mark .usefixtures ("with_wheel" )
1086
1071
def test_install_with_target_or_prefix_and_scripts_no_warning (
1087
1072
opt : str , script : PipTestEnvironment
1088
1073
) -> None :
@@ -1121,7 +1106,6 @@ def main(): pass
1121
1106
assert "--no-warn-script-location" not in result .stderr , str (result )
1122
1107
1123
1108
1124
- @pytest .mark .usefixtures ("with_wheel" )
1125
1109
def test_install_package_with_root (script : PipTestEnvironment , data : TestData ) -> None :
1126
1110
"""
1127
1111
Test installing a package using pip install --root
@@ -1318,7 +1302,6 @@ def test_install_package_with_latin1_setup(
1318
1302
script .pip ("install" , to_install )
1319
1303
1320
1304
1321
- @pytest .mark .usefixtures ("with_wheel" )
1322
1305
def test_url_req_case_mismatch_no_index (
1323
1306
script : PipTestEnvironment , data : TestData
1324
1307
) -> None :
@@ -1342,7 +1325,6 @@ def test_url_req_case_mismatch_no_index(
1342
1325
result .did_not_create (dist_info_folder )
1343
1326
1344
1327
1345
- @pytest .mark .usefixtures ("with_wheel" )
1346
1328
def test_url_req_case_mismatch_file_index (
1347
1329
script : PipTestEnvironment , data : TestData
1348
1330
) -> None :
@@ -1372,7 +1354,6 @@ def test_url_req_case_mismatch_file_index(
1372
1354
result .did_not_create (dist_info_folder )
1373
1355
1374
1356
1375
- @pytest .mark .usefixtures ("with_wheel" )
1376
1357
def test_url_incorrect_case_no_index (
1377
1358
script : PipTestEnvironment , data : TestData
1378
1359
) -> None :
@@ -1396,7 +1377,6 @@ def test_url_incorrect_case_no_index(
1396
1377
result .did_create (dist_info_folder )
1397
1378
1398
1379
1399
- @pytest .mark .usefixtures ("with_wheel" )
1400
1380
def test_url_incorrect_case_file_index (
1401
1381
script : PipTestEnvironment , data : TestData
1402
1382
) -> None :
@@ -1546,15 +1526,13 @@ def test_install_topological_sort(script: PipTestEnvironment, data: TestData) ->
1546
1526
assert order1 in res or order2 in res , res
1547
1527
1548
1528
1549
- @pytest .mark .usefixtures ("with_wheel" )
1550
1529
def test_install_wheel_broken (script : PipTestEnvironment ) -> None :
1551
1530
res = script .pip_install_local ("wheelbroken" , allow_stderr_error = True )
1552
1531
assert "ERROR: Failed building wheel for wheelbroken" in res .stderr
1553
1532
# Fallback to setup.py install (https://github.com/pypa/pip/issues/8368)
1554
1533
assert "Successfully installed wheelbroken-0.1" in str (res ), str (res )
1555
1534
1556
1535
1557
- @pytest .mark .usefixtures ("with_wheel" )
1558
1536
def test_cleanup_after_failed_wheel (script : PipTestEnvironment ) -> None :
1559
1537
res = script .pip_install_local ("wheelbrokenafter" , allow_stderr_error = True )
1560
1538
assert "ERROR: Failed building wheel for wheelbrokenafter" in res .stderr
@@ -1569,7 +1547,6 @@ def test_cleanup_after_failed_wheel(script: PipTestEnvironment) -> None:
1569
1547
assert "Running setup.py clean for wheelbrokenafter" in str (res ), str (res )
1570
1548
1571
1549
1572
- @pytest .mark .usefixtures ("with_wheel" )
1573
1550
def test_install_builds_wheels (script : PipTestEnvironment , data : TestData ) -> None :
1574
1551
# We need to use a subprocess to get the right value on Windows.
1575
1552
res = script .run (
@@ -1622,7 +1599,6 @@ def test_install_builds_wheels(script: PipTestEnvironment, data: TestData) -> No
1622
1599
]
1623
1600
1624
1601
1625
- @pytest .mark .usefixtures ("with_wheel" )
1626
1602
def test_install_no_binary_disables_building_wheels (
1627
1603
script : PipTestEnvironment , data : TestData
1628
1604
) -> None :
@@ -1653,7 +1629,6 @@ def test_install_no_binary_disables_building_wheels(
1653
1629
1654
1630
1655
1631
@pytest .mark .network
1656
- @pytest .mark .usefixtures ("with_wheel" )
1657
1632
def test_install_no_binary_builds_pep_517_wheel (
1658
1633
script : PipTestEnvironment , data : TestData
1659
1634
) -> None :
@@ -1668,7 +1643,6 @@ def test_install_no_binary_builds_pep_517_wheel(
1668
1643
1669
1644
1670
1645
@pytest .mark .network
1671
- @pytest .mark .usefixtures ("with_wheel" )
1672
1646
def test_install_no_binary_uses_local_backend (
1673
1647
script : PipTestEnvironment , data : TestData , tmpdir : Path
1674
1648
) -> None :
@@ -1682,7 +1656,6 @@ def test_install_no_binary_uses_local_backend(
1682
1656
assert os .path .isfile (marker ), "Local PEP 517 backend not used"
1683
1657
1684
1658
1685
- @pytest .mark .usefixtures ("with_wheel" )
1686
1659
def test_install_no_binary_disables_cached_wheels (
1687
1660
script : PipTestEnvironment , data : TestData
1688
1661
) -> None :
@@ -1821,7 +1794,6 @@ def test_install_incompatible_python_requires_editable(
1821
1794
assert _get_expected_error_text () in result .stderr , str (result )
1822
1795
1823
1796
1824
- @pytest .mark .usefixtures ("with_wheel" )
1825
1797
def test_install_incompatible_python_requires_wheel (script : PipTestEnvironment ) -> None :
1826
1798
script .scratch_path .joinpath ("pkga" ).mkdir ()
1827
1799
pkga_path = script .scratch_path / "pkga"
0 commit comments