Update dependency nibabel to v5.3.0 #693
Merged
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.
This PR contains the following updates:
==5.2.1
->==5.3.0
Release Notes
nipy/nibabel (nibabel)
v5.3.0
Compare Source
==============================
This release primarily adds support for Python 3.13 and Numpy 2.0.
NiBabel 6.0 will drop support for Numpy 1.x.
New features
.content : bytes
,.text : str
and.json : dict
properties for accessing extension contents. Exceptions will be raised on
.text
and.json
ifconversion fails. (pr/1336) (CM)
Enhancements
(Brendan Moloney, reviewed by CM)
nib-nifti-dx
now supports NIfTI-2 files with a--nifti2
flag (pr/1323) (CM)nibabel.streamlines.tractogram
to support ragged arrays. (pr/1291)(Serge Koudoro, reviewed by CM)
UserWarning
onnp.finfo(np.longdouble)
. This can occur onWindows systems, but it's done in the context of checking for the problem that
is being warned against, so there's no need to be noisy. (pr/1310)
(Joshua Newton, reviewed by CM)
(YOH, reviewed by CM)
Bug fixes
(Guillaume Becq, reviewed by CM)
affine (pr/1340) (Brendan Moloney, reviewed by CM)
image_position
and the translation component in theaffine
could be incorrect (pr/1340) (Brendan Moloney, reviewed by CM)Maintenance
(pr/1304, pr/1330, pr/1331, pr/1334, pr/1337) (Jon Haitz Legarreta Gorroño, CM)
(Jon Haitz Legarreta Gorroño, reviewed by CM)
setup()
andteardown()
functions with pytest equivalents(pr/1325) (Sandro from the Fedora Project, reviewed by Étienne Mollier and CM)
ruff <https://docs.astral.sh/ruff/>
__. (pr/1289)(Dimitri Papadopoulos, reviewed by CM)
guide enforcement. (pr/1321, pr/1351, pr/1352, pr/1353, pr/1354, pr/1355, pr/1357, pr/1358,
pr/1359, pr/1360, pr/1361, pr/1362, pr/1363, pr/1364, pr/1368, pr/1369)
(Dimitri Papadopoulos, reviewed by CM)
API changes and deprecations
~nibabel.spatialimages.HeaderDataError
from:func:
~nibabel.nifti1.Nifti1Header.set_qform
if the affine fails to decompose.This would previously result in :class:
numpy.linalg.LinAlgError
. (pr/1227) (CM)nibabel.onetime.auto_attr
module can be replaced by :func:functools.cached_property
in all supported versions of Python. This alias may be removed in future versions. (pr/1341) (CM)
nisext
(setuptools extensions) package. (pr/1290) (CM, reviewed by MB)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.