@@ -48,7 +48,7 @@ def get_versions_from_constraint_file(constraint_file):
48
48
49
49
50
50
@pytest .mark .parametrize ("python_version" , ["3.6" , "3.8" , "3.9" ])
51
- def test_pinned_versions (tmp_path , python_version ):
51
+ def test_pinned_versions (tmp_path , python_version , build_mode ):
52
52
if utils .platform == "linux" :
53
53
pytest .skip ("linux doesn't pin individual tool versions, it pins manylinux images instead" )
54
54
@@ -85,6 +85,7 @@ def test_pinned_versions(tmp_path, python_version):
85
85
add_env = {
86
86
"CIBW_BUILD" : build_pattern ,
87
87
"CIBW_ENVIRONMENT" : cibw_environment_option ,
88
+ ** build_mode ,
88
89
},
89
90
)
90
91
@@ -107,7 +108,7 @@ def test_pinned_versions(tmp_path, python_version):
107
108
assert set (actual_wheels ) == set (expected_wheels )
108
109
109
110
110
- def test_dependency_constraints_file (tmp_path ):
111
+ def test_dependency_constraints_file (tmp_path , build_mode ):
111
112
if utils .platform == "linux" :
112
113
pytest .skip ("linux doesn't pin individual tool versions, it pins manylinux images instead" )
113
114
@@ -150,6 +151,7 @@ def test_dependency_constraints_file(tmp_path):
150
151
add_env = {
151
152
"CIBW_ENVIRONMENT" : cibw_environment_option ,
152
153
"CIBW_DEPENDENCY_VERSIONS" : str (constraints_file ),
154
+ ** build_mode ,
153
155
},
154
156
)
155
157
0 commit comments