We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f29da13 commit 635c64eCopy full SHA for 635c64e
test/utils.py
@@ -192,7 +192,7 @@ def expected_wheels(
192
platform_tags = []
193
194
if platform == "linux":
195
- architectures = [machine_arch]
+ architectures = [arch_name_for_linux(machine_arch)]
196
197
if machine_arch == "x86_64":
198
architectures.append("i686")
@@ -255,3 +255,14 @@ def get_macos_version():
255
"""
256
version_str, _, _ = pm.mac_ver()
257
return tuple(map(int, version_str.split(".")[:2]))
258
+
259
260
+def arch_name_for_linux(arch: str):
261
+ """
262
+ Archs have different names on different platforms, but it's useful to be
263
+ able to run linux tests on dev machines. This function translates between
264
+ the different names.
265
266
+ if arch == "arm64":
267
+ return "aarch64"
268
+ return arch
0 commit comments