Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nibabel requirement from <=5.2.1 to <=5.3.0 #448

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

Updates the requirements on nibabel to permit the latest version.

Release notes

Sourced from nibabel's releases.

5.3.0

DOI

Release notes

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

  • Update NIfTI extension protocol to include .content : bytes, .text : str and .json : dict properties for accessing extension contents. Exceptions will be raised on .text and .json if conversion fails. (#1336) (CM)

Enhancements

  • Ability to read data from many multiframe DICOM files that previously generated errors (#1340) (Brendan Moloney, reviewed by CM)
  • nib-nifti-dx now supports NIfTI-2 files with a --nifti2 flag (#1323) (CM)
  • Update nibabel.streamlines.tractogram to support ragged arrays. (#1291) (Serge Koudoro, reviewed by CM)
  • Filter numpy UserWarning on np.finfo(np.longdouble). This can occur on Windows 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. (#1310) (Joshua Newton, reviewed by CM)
  • Improve error message for for dicomwrapper errors in shape calculation (#1302) (YOH, reviewed by CM)
  • Support "flat" ASCII-encoded GIFTI DataArrays (#1298) (PM, reviewed by CM)

Bug fixes

  • Fix location initialization/update in OrthoSlicer3D for permuted axes (#1319, #1350) (Guillaume Becq, reviewed by CM)
  • Fix DICOM scaling, making frame filtering explicit (#1342) (Brendan Moloney, reviewed by CM)
  • Fixed multiframe DICOM issue where data could be flipped along slice dimension relative to the affine (#1340) (Brendan Moloney, reviewed by CM)
  • Fixed multiframe DICOM issue where image_position and the translation component in the affine could be incorrect (#1340) (Brendan Moloney, reviewed by CM)

Maintenance

  • Numpy 2.0 compatibility and addressing deprecations in numpy API (#1304, #1330, #1331, #1334, #1337) (Jon Haitz Legarreta Gorroño, CM)
  • Python 3.13 compatibility (#1315) (Sandro from the Fedora Project, reviewed by CM)
  • Testing on Python 3.13 with free-threading (#1339) (CM)
  • Testing on ARM64 Mac OS runners (#1320) (CM)
  • Proactively address deprecations in coming Python versions (#1329, #1332, #1333) (Jon Haitz Legarreta Gorroño, reviewed by CM)
  • Replace nose-era setup() and teardown() functions with pytest equivalents (#1325) (Sandro from the Fedora Project, reviewed by Étienne Mollier and CM)
  • Transitioned from blue/isort/flake8 to ruff. (#1289) (Dimitri Papadopoulos, reviewed by CM)
  • Vetted and added various rules to the ruff configuration for auto-formatting and style guide enforcement. (#1321, #1351, #1352, #1353, #1354, #1355, #1357, #1358, #1359, #1360, #1361, #1362, #1363, #1364, #1368, #1369) (Dimitri Papadopoulos, reviewed by CM)
  • Fixing typos when found. (#1313, #1370) (MB, Dimitri Papadopoulos)
  • Applied Repo-Review suggestions (Dimitri Papadopoulos, reviewed by CM)

API changes and deprecations

New Contributors

... (truncated)

Changelog

Sourced from nibabel's changelog.

5.3.0 (Tuesday 8 October 2024)

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

  • Update NIfTI extension protocol to include .content : bytes, .text : str and .json : dict properties for accessing extension contents. Exceptions will be raised on .text and .json if conversion fails. (pr/1336) (CM)

Enhancements

  • Ability to read data from many multiframe DICOM files that previously generated errors (pr/1340) (Brendan Moloney, reviewed by CM)
  • nib-nifti-dx now supports NIfTI-2 files with a --nifti2 flag (pr/1323) (CM)
  • Update :mod:nibabel.streamlines.tractogram to support ragged arrays. (pr/1291) (Serge Koudoro, reviewed by CM)
  • Filter numpy UserWarning on np.finfo(np.longdouble). This can occur on Windows 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)
  • Improve error message for for dicomwrapper errors in shape calculation (pr/1302) (YOH, reviewed by CM)
  • Support "flat" ASCII-encoded GIFTI DataArrays (pr/1298) (PM, reviewed by CM)

Bug fixes

  • Fix location initialization/update in OrthoSlicer3D for permuted axes (pr/1319, pr/1350) (Guillaume Becq, reviewed by CM)
  • Fix DICOM scaling, making frame filtering explicit (pr/1342) (Brendan Moloney, reviewed by CM)
  • Fixed multiframe DICOM issue where data could be flipped along slice dimension relative to the affine (pr/1340) (Brendan Moloney, reviewed by CM)
  • Fixed multiframe DICOM issue where image_position and the translation component in the affine could be incorrect (pr/1340) (Brendan Moloney, reviewed by CM)

Maintenance

  • Numpy 2.0 compatibility and addressing deprecations in numpy API (pr/1304, pr/1330, pr/1331, pr/1334, pr/1337) (Jon Haitz Legarreta Gorroño, CM)
  • Python 3.13 compatibility (pr/1315) (Sandro from the Fedora Project, reviewed by CM)
  • Testing on Python 3.13 with free-threading (pr/1339) (CM)
  • Testing on ARM64 Mac OS runners (pr/1320) (CM)
  • Proactively address deprecations in coming Python versions (pr/1329, pr/1332, pr/1333) (Jon Haitz Legarreta Gorroño, reviewed by CM)
  • Replace nose-era setup() and teardown() functions with pytest equivalents (pr/1325) (Sandro from the Fedora Project, reviewed by Étienne Mollier and CM)
  • Transitioned from blue/isort/flake8 to ruff <https://docs.astral.sh/ruff/>__. (pr/1289)

... (truncated)

Commits
  • 249986b MNT: Update release notes translator
  • 48dcb47 STY: ruff check --fix
  • 1d93526 MNT: Remove workarounds used for Python 3.8 support
  • fcc2957 MNT: Update support matrix for Python and numpy
  • 5a32a60 DOC: Remove end year from copyright
  • 9bdbc42 DOC: Update mailmap and contributor list
  • 607b5ca DOC: Update Zenodo contributors
  • 7a733f6 DOC: Update changelog
  • c18f542 Merge pull request #1369 from DimitriPapadopoulos/preview
  • ec15839 MNT: better way to normalize sequences to lists and flatten
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [nibabel](https://github.com/nipy/nibabel) to permit the latest version.
- [Release notes](https://github.com/nipy/nibabel/releases)
- [Changelog](https://github.com/nipy/nibabel/blob/master/Changelog)
- [Commits](nipy/nibabel@brifti-0.1...5.3.0)

---
updated-dependencies:
- dependency-name: nibabel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added ignore-for-release PRs that shouldn't be included with release notes. maintenance Issues/PRs related to maintenance. Dependency versions, dependencies, etc. labels Oct 14, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.34%. Comparing base (d484c8e) to head (02b046a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #448   +/-   ##
=======================================
  Coverage   84.34%   84.34%           
=======================================
  Files          37       37           
  Lines        3986     3986           
=======================================
  Hits         3362     3362           
  Misses        624      624           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 21, 2024

Superseded by #450.

@dependabot dependabot bot closed this Oct 21, 2024
@dependabot dependabot bot deleted the dependabot/pip/nibabel-lte-5.3.0 branch October 21, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release PRs that shouldn't be included with release notes. maintenance Issues/PRs related to maintenance. Dependency versions, dependencies, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant