1111 name : Build and test source distribution
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v5
1515 - uses : actions/setup-python@v5
1616 with :
1717 python-version : ' 3.12'
3131 name : Build documentation
3232 runs-on : ubuntu-latest
3333 steps :
34- - uses : actions/checkout@v4
34+ - uses : actions/checkout@v5
3535 - uses : actions/setup-python@v5
3636 with :
3737 python-version : " 3.12"
@@ -58,29 +58,29 @@ jobs:
5858 fail-fast : false
5959 matrix :
6060 include :
61- - os : ubuntu-20 .04
61+ - os : ubuntu-24 .04
6262 cibw_archs : " auto64"
6363 with_sse2 : true
64- - os : ubuntu-20 .04
64+ - os : ubuntu-24 .04-arm
6565 cibw_archs : " aarch64"
6666 with_sse2 : false
67- - os : ubuntu-20 .04
67+ - os : ubuntu-24 .04
6868 cibw_archs : " ppc64le"
6969 with_sse2 : false
70- - os : windows-2019
70+ - os : windows-2022
7171 cibw_archs : " auto64"
7272 with_sse2 : true
7373 - os : macos-13
7474 cibw_archs : " universal2"
7575 with_sse2 : true
7676
7777 steps :
78- - uses : actions/checkout@v4
78+ - uses : actions/checkout@v5
7979 - uses : docker/setup-qemu-action@v3
80- if : runner.os == 'Linux'
80+ if : runner.os == 'Linux' && runner.arch == 'X64'
8181 with :
8282 platforms : all
83- - uses : pypa/cibuildwheel@v2.23.0
83+ - uses : pypa/cibuildwheel@v3.1.4
8484 env :
8585 # Configure hdf5plugin build
8686 HDF5PLUGIN_OPENMP : " False"
@@ -98,16 +98,14 @@ jobs:
9898 CIBW_ENVIRONMENT_PASS_LINUX : HDF5PLUGIN_OPENMP HDF5PLUGIN_NATIVE HDF5PLUGIN_SSE2 HDF5PLUGIN_SSSE3 HDF5PLUGIN_AVX2 HDF5PLUGIN_AVX512 HDF5PLUGIN_BMI2 HDF5PLUGIN_CPP11 HDF5PLUGIN_CPP14 HDF5PLUGIN_CPP20
9999
100100 CIBW_BUILD_VERBOSITY : 1
101- # Use Python3.11 to build wheels that are compatible with all supported version of Python
102- CIBW_BUILD : cp311 -*
103- # Do not build for pypy and muslinux
104- CIBW_SKIP : pp* * -musllinux_*
101+ # Use Python3.12 to build wheels that are compatible with all supported version of Python
102+ CIBW_BUILD : cp312 -*
103+ # Do not build for muslinux
104+ CIBW_SKIP : " * -musllinux_*"
105105 CIBW_ARCHS : ${{ matrix.cibw_archs }}
106106
107107 # Use silx wheelhouse for ppc64le
108- # Use numpy<2 since a wheel for h5py v3.11 which supports numpy v2 is not available for aarch64
109- # see https://github.com/h5py/h5py/issues/2408
110- CIBW_BEFORE_TEST : pip install "numpy<2" h5py --only-binary ":all:" --find-links=https://www.silx.org/pub/wheelhouse/ --trusted-host=www.silx.org
108+ CIBW_BEFORE_TEST : pip install h5py --only-binary ":all:" --find-links=https://www.silx.org/pub/wheelhouse/ --trusted-host=www.silx.org
111109 CIBW_TEST_COMMAND : python {project}/test/test.py
112110 - uses : actions/upload-artifact@v4
113111 with :
@@ -121,23 +119,23 @@ jobs:
121119 strategy :
122120 matrix :
123121 os : [ubuntu-latest, windows-latest, macos-13, macos-latest]
124- python-version : ['3.8 ', '3.12 ']
122+ python-version : ['3.9 ', '3.13 ']
125123 include :
126- - python-version : ' 3.8 '
124+ - python-version : ' 3.9 '
127125 OLDEST_DEPENDENCIES : ' h5py==3.0.0 "numpy<2"'
128- - python-version : ' 3.8 '
126+ - python-version : ' 3.9 '
129127 os : ' macos-latest'
130128 OLDEST_DEPENDENCIES : ' h5py==3.7.0 "numpy<2"'
131- - python-version : ' 3.12 '
132- OLDEST_DEPENDENCIES : ' h5py==3.10.0 " numpy<2" '
129+ - python-version : ' 3.13 '
130+ OLDEST_DEPENDENCIES : ' h5py==3.12.1 numpy==2.1.0 '
133131
134132 steps :
135- - uses : actions/checkout@v4
133+ - uses : actions/checkout@v5
136134 - uses : actions/setup-python@v5
137135 with :
138136 python-version : ${{ matrix.python-version }}
139137 cache : ' pip'
140- - uses : actions/download-artifact@v4
138+ - uses : actions/download-artifact@v5
141139 with :
142140 pattern : cibw-wheels-*
143141 path : dist
@@ -166,7 +164,7 @@ jobs:
166164 # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
167165 # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
168166 steps :
169- - uses : actions/download-artifact@v4
167+ - uses : actions/download-artifact@v5
170168 with :
171169 pattern : cibw-*
172170 path : dist
0 commit comments