chore: relax numpy constraint to allow >=2.0 - #187
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates dependency constraints to permit installing NumPy 2.x while ensuring nibabel is new enough to support NumPy 2.
Changes:
- Relax
numpyconstraint from^1.23.0to>=1.23.0. - Increase
nibabelminimum version from>=3.2.1to>=5.0.0for NumPy 2 support.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
neuronflow
approved these changes
Aug 9, 2026
MarcelRosier
added a commit
to BrainLesion/BraTS
that referenced
this pull request
Aug 9, 2026
brainles_preprocessing 0.6.13 drops its numpy<2.0 pin, so the interim < 3.13 workaround is no longer needed. Python 3.13 users can now install the preprocessing extra with numpy 2.x. Refs: BrainLesion/preprocessing#187
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #186
Changes
numpyfrom^1.23.0→>=1.23.0to allow numpy 2.xnibabelfrom>=3.2.1→>=5.0.0(numpy 2.0 support added in nibabel 5.0.0)Rationale
All transitive dependencies already support numpy 2.x. See #186 for the full compatibility matrix. No code changes needed — the codebase uses only stable numpy APIs.