Skip to content

Commit

Permalink
chore(actions): do NOT build arm64 on python3.8 and earlier
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
doublethefish committed Nov 29, 2024
1 parent 8d8b21f commit c5083c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """\
Expand Down

0 comments on commit c5083c9

Please sign in to comment.