@@ -182,12 +182,14 @@ def expected_wheels(
182
182
]
183
183
184
184
# GraalPy encodes compilation platform and arch in the tag
185
- if machine_arch == "x86_64" and platform == "linux" :
186
- python_abi_tags += ["graalpy230_310_native_x86_64_linux" ]
187
- elif machine_arch == "aarch64" and platform == "linux" :
185
+ if machine_arch in ["x86_64" , "AMD64" ]:
186
+ if platform == "linux" :
187
+ python_abi_tags += ["graalpy230_310_native_x86_64_linux" ]
188
+ elif platform == "macos" :
189
+ python_abi_tags += ["graalpy230_310_native_x86_64_darwin" ]
190
+
191
+ if machine_arch == "aarch64" and platform == "linux" :
188
192
python_abi_tags += ["graalpy230_310_native_aarch64_linux" ]
189
- elif machine_arch == "AMD64" and platform == "macos" :
190
- python_abi_tags += ["graalpy230_310_native_x86_64_darwin" ]
191
193
192
194
if platform == "macos" and machine_arch == "arm64" :
193
195
# arm64 macs are only supported by cp38+
@@ -211,7 +213,7 @@ def expected_wheels(
211
213
if platform == "linux" :
212
214
architectures = [arch_name_for_linux (machine_arch )]
213
215
214
- if machine_arch == "x86_64" :
216
+ if machine_arch == "x86_64" and not python_abi_tag . startswith ( "graalpy" ) :
215
217
architectures .append ("i686" )
216
218
217
219
platform_tags = [
@@ -221,7 +223,7 @@ def expected_wheels(
221
223
)
222
224
for architecture in architectures
223
225
]
224
- if len (musllinux_versions ) > 0 and not python_abi_tag .startswith ("pp" ):
226
+ if len (musllinux_versions ) > 0 and not python_abi_tag .startswith (( "pp" , "graalpy" ) ):
225
227
platform_tags .extend (
226
228
[
227
229
"." .join (
0 commit comments