File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 strategy :
1616 fail-fast : false
1717 matrix :
18- python-version : ["3.8", "3.9"]
18+ # Build native extensions in CI; keep a single stable interpreter to avoid
19+ # old-Python wheels disappearing (e.g. py38 + latest h5py -> source build needing HDF5 headers).
20+ python-version : ["3.9"]
1921 steps :
2022 - name : Checkout
2123 uses : actions/checkout@v4
3133 python -m pip install --upgrade setuptools wheel
3234 python -m pip install pytest pytest-cov
3335 # Build requirements + runtime deps (setup.py imports numpy/scipy/pybind11/Cython)
34- python -m pip install numpy scipy Cython pybind11
36+ # Pin numpy<2 for compatibility with the bundled cython/pybind extensions.
37+ python -m pip install "numpy<2" "scipy<2" "Cython<3" pybind11
3538 python -m pip install prettytable h5py xarray netcdf4 h5netcdf
3639
3740 - name : Build native extensions (in-place)
You can’t perform that action at this time.
0 commit comments