@@ -72,23 +72,23 @@ def test_build_default_launches(monkeypatch):
72
72
kwargs = build_in_container .call_args_list [0 ][1 ]
73
73
assert "quay.io/pypa/manylinux2014_x86_64" in kwargs ["container" ]["image" ]
74
74
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
75
- assert not kwargs ["container" ]["simulate_32_bit " ]
75
+ assert not kwargs ["container" ]["enforce_32_bit " ]
76
76
77
77
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
78
78
assert identifiers == {f"{ x } -manylinux_x86_64" for x in ALL_IDS }
79
79
80
80
kwargs = build_in_container .call_args_list [1 ][1 ]
81
81
assert "quay.io/pypa/manylinux2014_i686" in kwargs ["container" ]["image" ]
82
82
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
83
- assert kwargs ["container" ]["simulate_32_bit " ]
83
+ assert kwargs ["container" ]["enforce_32_bit " ]
84
84
85
85
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
86
86
assert identifiers == {f"{ x } -manylinux_i686" for x in ALL_IDS }
87
87
88
88
kwargs = build_in_container .call_args_list [2 ][1 ]
89
89
assert "quay.io/pypa/musllinux_1_1_x86_64" in kwargs ["container" ]["image" ]
90
90
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
91
- assert not kwargs ["container" ]["simulate_32_bit " ]
91
+ assert not kwargs ["container" ]["enforce_32_bit " ]
92
92
93
93
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
94
94
assert identifiers == {
@@ -98,7 +98,7 @@ def test_build_default_launches(monkeypatch):
98
98
kwargs = build_in_container .call_args_list [3 ][1 ]
99
99
assert "quay.io/pypa/musllinux_1_1_i686" in kwargs ["container" ]["image" ]
100
100
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
101
- assert kwargs ["container" ]["simulate_32_bit " ]
101
+ assert kwargs ["container" ]["enforce_32_bit " ]
102
102
103
103
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
104
104
assert identifiers == {f"{ x } -musllinux_i686" for x in ALL_IDS if "pp" not in x }
@@ -141,7 +141,7 @@ def test_build_with_override_launches(monkeypatch, tmp_path):
141
141
kwargs = build_in_container .call_args_list [0 ][1 ]
142
142
assert "quay.io/pypa/manylinux2014_x86_64" in kwargs ["container" ]["image" ]
143
143
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
144
- assert not kwargs ["container" ]["simulate_32_bit " ]
144
+ assert not kwargs ["container" ]["enforce_32_bit " ]
145
145
146
146
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
147
147
assert identifiers == {"cp36-manylinux_x86_64" }
@@ -150,7 +150,7 @@ def test_build_with_override_launches(monkeypatch, tmp_path):
150
150
kwargs = build_in_container .call_args_list [1 ][1 ]
151
151
assert "quay.io/pypa/manylinux2014_x86_64" in kwargs ["container" ]["image" ]
152
152
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
153
- assert not kwargs ["container" ]["simulate_32_bit " ]
153
+ assert not kwargs ["container" ]["enforce_32_bit " ]
154
154
155
155
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
156
156
assert identifiers == {
@@ -162,7 +162,7 @@ def test_build_with_override_launches(monkeypatch, tmp_path):
162
162
kwargs = build_in_container .call_args_list [2 ][1 ]
163
163
assert "quay.io/pypa/manylinux_2_28_x86_64" in kwargs ["container" ]["image" ]
164
164
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
165
- assert not kwargs ["container" ]["simulate_32_bit " ]
165
+ assert not kwargs ["container" ]["enforce_32_bit " ]
166
166
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
167
167
assert identifiers == {
168
168
f"{ x } -manylinux_x86_64"
@@ -172,15 +172,15 @@ def test_build_with_override_launches(monkeypatch, tmp_path):
172
172
kwargs = build_in_container .call_args_list [3 ][1 ]
173
173
assert "quay.io/pypa/manylinux2014_i686" in kwargs ["container" ]["image" ]
174
174
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
175
- assert kwargs ["container" ]["simulate_32_bit " ]
175
+ assert kwargs ["container" ]["enforce_32_bit " ]
176
176
177
177
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
178
178
assert identifiers == {f"{ x } -manylinux_i686" for x in ALL_IDS }
179
179
180
180
kwargs = build_in_container .call_args_list [4 ][1 ]
181
181
assert "quay.io/pypa/musllinux_1_1_x86_64" in kwargs ["container" ]["image" ]
182
182
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
183
- assert not kwargs ["container" ]["simulate_32_bit " ]
183
+ assert not kwargs ["container" ]["enforce_32_bit " ]
184
184
185
185
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
186
186
assert identifiers == {
@@ -190,7 +190,7 @@ def test_build_with_override_launches(monkeypatch, tmp_path):
190
190
kwargs = build_in_container .call_args_list [5 ][1 ]
191
191
assert "quay.io/pypa/musllinux_1_2_x86_64" in kwargs ["container" ]["image" ]
192
192
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
193
- assert not kwargs ["container" ]["simulate_32_bit " ]
193
+ assert not kwargs ["container" ]["enforce_32_bit " ]
194
194
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
195
195
assert identifiers == {
196
196
f"{ x } -musllinux_x86_64" for x in ALL_IDS - {"cp36" , "cp37" , "cp38" , "cp39" } if "pp" not in x
@@ -199,7 +199,7 @@ def test_build_with_override_launches(monkeypatch, tmp_path):
199
199
kwargs = build_in_container .call_args_list [6 ][1 ]
200
200
assert "quay.io/pypa/musllinux_1_1_i686" in kwargs ["container" ]["image" ]
201
201
assert kwargs ["container" ]["cwd" ] == PurePosixPath ("/project" )
202
- assert kwargs ["container" ]["simulate_32_bit " ]
202
+ assert kwargs ["container" ]["enforce_32_bit " ]
203
203
204
204
identifiers = {x .identifier for x in kwargs ["platform_configs" ]}
205
205
assert identifiers == {f"{ x } -musllinux_i686" for x in ALL_IDS if "pp" not in x }
0 commit comments