From c5083c969002898830340413119b90e76eb7e07f Mon Sep 17 00:00:00 2001 From: Frank Harrison Date: Thu, 28 Nov 2024 21:06:29 +0000 Subject: [PATCH] chore(actions): do NOT build arm64 on python3.8 and earlier It seems that arm64 builds are not well-supported on these platforms so we will skip building the arm64 version on these, for now. Note that he glob pattern for 3.8 has to be a bit more permissive as the cibuild pattern aren't fully respected on on github actions for some reason. The patterns, filters and 'skip' values work correctly works locally for `cp3{6,7,8}-*-*arm64` bit on github does not match `cp38-macosx_arm64` - even accounting for the underscore, although the glob does work for cp36 and cp37... I don't want to be in this position where I'm debugging `cibuilwheel`. --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 296bbe3..c38ca53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,8 +22,12 @@ maintainers = [ # tmap's developement in the future. # This may change, and probably should. build = "cp3*" -# Skip 32-bit builds, musl build, and pypy builds -skip = ["*-manylinux_i686", "*-musllinux_*", "pp*"] +# Skip +# - 32-bit builds +# - musl build +# - pypy builds +# - arm64 for build for python 3.8 and earlier +skip = ["*-manylinux_i686", "*-musllinux_*", "pp*", "cp3{6,7,8}*arm64", "cp38*arm64" ] [tool.cibuildwheel.linux] before-build = """\