Reason
numpy = "^1.23.0" (caret syntax) caps numpy at <2.0.0. All transitive dependencies already support numpy 2.x:
| Dependency |
Version |
numpy constraint |
| antspyx |
0.6.3 |
<2.4.0 |
| simpleitk |
2.5.6 |
unpinned (abi3) |
| scipy |
1.14.1 |
<2.3 |
| brainles_hd_bet |
0.0.11 |
>=1.24.0 |
| nibabel |
5.2.1 |
unpinned |
No code changes needed — the codebase uses only stable numpy APIs unaffected by 2.0 breaking changes.
Needed changes
pyproject.toml:54 — relax numpy: "^1.23.0" → ">=1.23.0"
pyproject.toml:53 — tighten nibabel lower bound: ">=3.2.1" → ">=5.0.0"
Nibabel added numpy 2.0 support in 5.0.0. The bump does not raise any lower bounds in disguise — nibabel 5.0.0 requires only Python >=3.8 and numpy >=1.19, both well below existing constraints.
Reason
numpy = "^1.23.0"(caret syntax) caps numpy at<2.0.0. All transitive dependencies already support numpy 2.x:<2.4.0<2.3>=1.24.0No code changes needed — the codebase uses only stable numpy APIs unaffected by 2.0 breaking changes.
Needed changes
pyproject.toml:54— relax numpy:"^1.23.0"→">=1.23.0"pyproject.toml:53— tighten nibabel lower bound:">=3.2.1"→">=5.0.0"Nibabel added numpy 2.0 support in 5.0.0. The bump does not raise any lower bounds in disguise — nibabel 5.0.0 requires only Python >=3.8 and numpy >=1.19, both well below existing constraints.