Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
# macos-15-large is an intel runner, macos-14 is an arm64 runner
os: [ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-15-large, macos-14]
os: [ubuntu-latest, ubuntu-22.04-arm, windows-latest, windows-11-arm, macos-15-large, macos-14]
env:
# on free-threaded builds also check that no extension re-enables the GIL
CIBW_TEST_COMMAND: python -c "import sys, sysconfig, numcodecs; assert not (sysconfig.get_config_var('Py_GIL_DISABLED') and sys._is_gil_enabled())"
Expand All @@ -34,6 +34,15 @@ jobs:
with:
submodules: true
fetch-depth: 0 # required for version resolution for nightly wheels

# Windows ARM64 builds fail immediately with the default GCC toolchain,
# so use LLVM Clang to build wheels instead.
- name: Configure Clang for Windows ARM64 Builds
if: matrix.os == 'windows-11-arm'
shell: pwsh
run: |
"CC=clang-cl" >> $env:GITHUB_ENV
"CXX=clang-cl" >> $env:GITHUB_ENV

- uses: pypa/cibuildwheel@v3.4.1

Expand Down
3 changes: 2 additions & 1 deletion tests/test_pickles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import itertools
import sys
import platform

import numpy as np
import pytest
Expand Down Expand Up @@ -51,7 +52,7 @@ def test_repr():
# https://stackoverflow.com/questions/58194852/modulenotfounderror-no-module-named-numpy-core-multiarray-r
@pytest.mark.skipif(sys.byteorder != "little", reason="Pickle does not restore byte orders")
@pytest.mark.xfail(
sys.platform == "win32",
sys.platform == "win32" and platform.machine().lower() != "arm64",
reason=(
"Pickle fails to read w/ Windows carriage return "
"( https://github.com/zarr-developers/numcodecs/issues/271 )"
Expand Down
Loading