Skip to content

Commit 83172d0

Browse files
committed
'CI:test'
1 parent 4c24733 commit 83172d0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
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
@@ -31,7 +33,8 @@ jobs:
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)

0 commit comments

Comments
 (0)