Commit fc56cfd
committed
Add conservative CI matrix exclusions for NumPy 2.x testing
Implement targeted NumPy 2.x testing strategy to protect stable baseline
while enabling forward compatibility validation:
Matrix changes:
- Python 3.10: ONLY NumPy 1.26.4 (protected stable baseline)
- Python 3.11: NumPy 1.26.4 AND NumPy 2.0 (forward compat testing)
- Python 3.12: ONLY NumPy 1.26.4 (exclude NumPy 2.x due to upstream instability)
Implementation:
- Added matrix.exclude rules for Python 3.10 + numpy~=2.0
- Added matrix.exclude rules for Python 3.12 + numpy~=2.0
- Added NumPy version verification step for debugging/transparency
- Reduces CI matrix from 6 to 4 combinations (more focused)
Rationale:
- Protects Python 3.10 + NumPy 1.26.4 as stable baseline (current Colab)
- Python 3.11 provides middle ground for NumPy 2.x validation
- Python 3.12 + NumPy 2.x excluded due to known zarr/numcodecs instability
- Dependencies (numpy >=1.26,<2.2, numcodecs >=0.16) support both versions
No application code changes - CI workflow only.1 parent a013d98 commit fc56cfd
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
35 | 45 | | |
36 | 46 | | |
0 commit comments