Skip to content

Commit

Permalink
add workaround for py3.8 on M1 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
renefritze committed Jul 8, 2024
1 parent 043096b commit 2d0c941
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,15 @@ jobs:
uses: docker/[email protected]
if: runner.os == 'Linux' && ((matrix.use_qemu) && fromJSON(env.USE_QEMU))

- uses: actions/setup-python@v5
with:
python-version: 3.8
# the pre-installed python 3.8 isn't native and cannot produce ARM64 wheels
# see also https://github.com/pypa/cibuildwheel/pull/1871
if: runner.os == 'macOS' && runner.arch == 'arm64'

- name: Build wheels
uses: pypa/[email protected]
uses: pypa/[email protected].2
if: (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
env:
CIBW_ARCHS: "${{ matrix.arch }}"
Expand Down

0 comments on commit 2d0c941

Please sign in to comment.