github nipy/nibabel 5.4.0

6 hours ago

Release notes

New feature release in the 5.4.x series.

This release requires a minimum Python of 3.10 and NumPy 1.25, and has been tested up to Python 3.14 and NumPy 2.4.

New features

Enhancements

  • Label image axes consistently in cases of extreme obliquity (#1450) (Leonardo Ayala, reviewed by CM)
  • Use compressionzstd or backports.zstd in preference to pyzstd (#1444) (PM, reviewed by CM)
  • Support PAR/REC files generated by Philips R11 consoles (#1430) (Alex Daniel, reviewed by CM)
  • Add stub file for top-level nibabel module, improving support in code analyzers (#1436) (Jon Cluce, reviewed by CM)
  • Use informative error message for missing file attribute in TCKFile header (#1422) (Jon Haitz Legarreta Gorroño, reviewed by CM)
  • Support ushort datatypes in MGH/MGZ files (#1415) (Benjamin Thyreau, reviewed by CM)
  • Simplify nibabel.cmdline.utils.table2string implementation (#1403) (CM)

Bug fixes

  • Fix type-checking errors in nibabel.volumeutils.rec2dict (#1424) (Jon Haitz Legarreta Gorroño, reviewed by CM)
  • Adapt to functools.partial becoming a method descriptor in Python 3.14 (#1391) (Benjamin Beasley, reviewed by CM)

Maintenance

  • Split pre-release tests into cron job (#1466) (CM, reviewed by Remi Gau)
  • Adapt to numpy 2.5 deprecation of setting shape attributes (#1452) (CM)
  • Document and test support for osPathLike objects in streamlines APIs (#1435) (Jon Haitz Legarreta Gorroño, reviewed by CM)
  • Drop CI tests on Intel Macs (#1439) (Dimitri Papadopoulos, reviewed by CM)
  • Update license metadata using SPDX expression (#1425) (Dimitri Papadopoulos, reviewed by CM)
  • Test on Python 3.14, us locking tox runners (#1431, #1447) (CM)
  • Update style checker (ruff) and address new complaints (#1405, #1406, #1433) (CM, Dimitri Papadopoulos)
  • Add broad testing for Python 3.13 (#1381) (CM)
  • Build docs on PRs with ReadTheDocs to permit quick inspection. (#1398) (CM)

API changes and deprecations

  • Drop support for Python 3.9, Numpy < 1.25 (#1448) (CM)

New Contributors

Full Changelog: 5.3.3...5.4.0

Don't miss a new nibabel release

NewReleases is sending notifications on new releases.