Skip to content

Commit 57e16ce

Browse files
committed
Stabilize CI matrix and pin NumPy baseline to 1.26.4
Simplify CI to stable baseline only per maintainer guidance: CI Matrix Changes: - Keep ONLY Python 3.10 + NumPy 1.26.4 (primary baseline) - Keep ONLY Python 3.11 + NumPy 1.26.4 (backward compatibility) - Remove all NumPy 2.x testing (upstream dependency instability) - Remove Python 3.12 entirely (wait for stable ecosystem) - Final matrix: 2 jobs only Dependency Changes: - Pin numpy to exact stable version: ==1.26.4 - Revert numcodecs: >=0.15,<0.16 (stable baseline) - Keep zarr: >=2.18.3,<3.0.0 Rationale: - Establishes reliable CI baseline without upstream breakages - Removes experimental/transitional NumPy 2.x environments - Focuses on proven stable ecosystem - No application code changes - environment only
1 parent fc56cfd commit 57e16ce

2 files changed

Lines changed: 4 additions & 15 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,8 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
python-version: ["3.10", "3.11", "3.12"]
15-
numpy-version:
16-
- "numpy==1.26.4" # current colab version
17-
- "numpy~=2.0" # 2.0 series
18-
# numba (0.60.0) does not yet support numpy 2.1, disable this for now
19-
# - "numpy~=2.1" # 2.1 series
20-
exclude:
21-
# Python 3.10: ONLY test with NumPy 1.26.4 (stable baseline)
22-
- python-version: "3.10"
23-
numpy-version: "numpy~=2.0"
24-
# Python 3.12: ONLY test with NumPy 1.26.4 (upstream wheel/zarr instability)
25-
- python-version: "3.12"
26-
numpy-version: "numpy~=2.0"
14+
python-version: ["3.10", "3.11"]
15+
numpy-version: ["numpy==1.26.4"]
2716
runs-on: ubuntu-latest
2817

2918
steps:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ license = "MIT"
2121

2222
[tool.poetry.dependencies]
2323
python = ">=3.10,<3.13"
24-
numpy = ">=1.26,<2.2"
24+
numpy = "==1.26.4"
2525
numba = ">=0.60.0"
2626
llvmlite = "*"
2727
scipy = "*"
2828
pandas = "*"
2929
zarr = ">=2.18.3, <3.0.0"
30-
numcodecs = ">=0.16, <0.17"
30+
numcodecs = ">=0.15, <0.16"
3131
dask = {version="*", extras=["array"]}
3232
distributed = "*"
3333
fsspec = "*"

0 commit comments

Comments
 (0)