27
27
cibw_archs : " auto64"
28
28
# - os: windows-2019
29
29
# cibw_archs: "auto32"
30
- - os : macos-13
30
+ - os : macos-14
31
31
cibw_archs : " universal2"
32
32
33
33
steps :
@@ -40,23 +40,27 @@ jobs:
40
40
platforms : all
41
41
42
42
- name : Build wheels
43
- uses : pypa/cibuildwheel@v2.16.5
43
+ uses : pypa/cibuildwheel@v3.0.0
44
44
env :
45
45
CIBW_BUILD_VERBOSITY : 1
46
46
CIBW_PROJECT_REQUIRES_PYTHON : " >=3.8"
47
47
CIBW_BUILD : cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*
48
- # Do not build for pypy, muslinux and python3 .12 on ppc64le
49
- CIBW_SKIP : pp* * -musllinux_* cp312-*linux_ppc64le cp313-*linux_ppc64le
48
+ # Do not build for muslinux and python>=3 .12 on ppc64le
49
+ CIBW_SKIP : " * -musllinux_* cp312-*linux_ppc64le cp313-*linux_ppc64le"
50
50
CIBW_ARCHS : ${{ matrix.cibw_archs }}
51
51
52
52
# Use silx wheelhouse: needed for ppc64le
53
53
CIBW_ENVIRONMENT_LINUX : " PIP_FIND_LINKS=https://www.silx.org/pub/wheelhouse/ PIP_TRUSTED_HOST=www.silx.org"
54
54
55
+ # Build without isolation needed to use older wheels for ppc64le
56
+ CIBW_BEFORE_BUILD : pip install setuptools wheel "numpy; python_version >= '3.9'" "oldest-supported-numpy; python_version < '3.9'" --only-binary numpy
57
+ CIBW_BUILD_FRONTEND : " build; args: --no-isolation"
58
+
55
59
CIBW_BEFORE_TEST : " pip install --only-binary :all: fabio PyQt5 pyFAI"
56
60
CIBW_TEST_EXTRAS : full
57
61
CIBW_TEST_COMMAND : pytest {project}/test
58
- # Skip tests for 32bits and emulated architectures, arm64 macos and on Windows
59
- CIBW_TEST_SKIP : " *-*linux_i686 *-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64 *- win32 *-win_amd64"
62
+ # Skip tests for 32bits, emulated architectures, on Windows and on macos python313 (missing siphash wheel)
63
+ CIBW_TEST_SKIP : " *-*linux_i686 *-*linux_{aarch64,ppc64le,s390x} *-win32 *-win_amd64 cp313-macosx_universal2 "
60
64
61
65
- uses : actions/upload-artifact@v4
62
66
with :
0 commit comments