Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Feb 2, 2025
1 parent 3ad4271 commit b97426e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def expected_wheels(
machine_arch = "aarch64"

if manylinux_versions is None:
if machine_arch == "armv7l":
if machine_arch in ("armv7l", "aarch64"):
manylinux_versions = ["manylinux_2_17", "manylinux2014", "manylinux_2_31"]
elif machine_arch == "x86_64":
manylinux_versions = [
Expand Down Expand Up @@ -253,7 +253,11 @@ def expected_wheels(
if not single_arch:
if machine_arch == "x86_64":
architectures.append("i686")
elif machine_arch == "aarch64" and sys.platform.startswith("linux"):
elif (
machine_arch == "aarch64"
and sys.platform.startswith("linux")
and not python_abi_tag.startswith("pp")
):
# we assume all CI providers are able to run aarch32 EL0 on aarch64
architectures.append("armv7l")

Expand All @@ -262,6 +266,7 @@ def expected_wheels(
".".join(
f"{manylinux_version}_{architecture}"
for manylinux_version in manylinux_versions
if (manylinux_version, architecture) != ("manylinux_2_31", "aarch64")
)
for architecture in architectures
]
Expand Down

0 comments on commit b97426e

Please sign in to comment.