diff --git a/.mailmap b/.mailmap index feabaee74..80c46f385 100644 --- a/.mailmap +++ b/.mailmap @@ -30,6 +30,7 @@ Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Eric Larson Eric89GXL Eric Larson larsoner +Fabian Perez Fernando Pérez-García Fernando Félix C. Morency Felix C. Morency Félix C. Morency Félix C. Morency diff --git a/.zenodo.json b/.zenodo.json index 75dea73ee..a436bfd31 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -73,6 +73,10 @@ "name": "Lee, Gregory R.", "orcid": "0000-0001-8895-2740" }, + { + "name": "Baratz, Zvi", + "orcid": "0000-0001-7159-1387" + }, { "name": "Wang, Hao-Ting", "orcid": "0000-0003-4078-2038" @@ -125,10 +129,6 @@ "name": "Goncalves, Mathias", "orcid": "0000-0002-7252-7771" }, - { - "name": "Baratz, Zvi", - "orcid": "0000-0001-7159-1387" - }, { "affiliation": "Montreal Neurological Institute and Hospital", "name": "Markello, Ross", @@ -229,6 +229,9 @@ { "name": "Amirbekian, Bago" }, + { + "name": "Christian, Horea" + }, { "name": "Nimmo-Smith, Ian" }, @@ -274,6 +277,9 @@ { "name": "Fauber, Bennet" }, + { + "name": "Perez, Fabian" + }, { "name": "Roberts, Jacob" }, diff --git a/Changelog b/Changelog index 69e55d1a9..e5bbac91a 100644 --- a/Changelog +++ b/Changelog @@ -25,6 +25,48 @@ Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM). References like "pr/298" refer to github pull request numbers. +5.1.0 (Monday 3 April 2023) +=========================== + +New feature release in the 5.1.x series. + +Enhancements +------------ +* Make :mod:`nibabel.imagestats` available with ``import nibabel`` (pr/1208) + (Fabian Perez, reviewed by CM) +* Use symmetric threshold for identifying unit quaternions on qform + calculations (pr/1182) (CM, reviewed by MB) +* Type annotations for :mod:`~nibabel.loadsave` (pr/1213) and + :class:`~nibabel.spatialimages.SpatialImage` APIs (pr/1179), + :mod:`~nibabel.deprecated`, :mod:`~nibabel.deprecator`, + :mod:`~nibabel.onetime` and :mod:`~nibabel.optpkg` modules (pr/1188), + :mod:`~nibabel.volumeutils` (pr/1189), :mod:`~nibabel.filename_parser` and + :mod:`~nibabel.openers` (pr/1197) (CM, reviewed by Zvi Baratz) + +Bug fixes +--------- +* Require explicit overrides to write GIFTI files that contain data arrays + with data types not permitted by the GIFTI standard (pr/1199) (CM, reviewed + by Alexis Thual) + +Maintenance +----------- +* Move compression detection logic into a private ``nibabel._compression`` + module, resolving unexpected errors from pyzstd. (pr/1212) (CM) +* Improved consistency of docstring formatting (pr/1200) (Zvi Baratz, reviewed + by CM) +* Modernized README text (pr/1195) (Zvi Baratz, reviewed by CM) +* Updated README badges to include package distributions (pr/1192) (Horea + Christian, reviewed by CM) +* Removed all dependencies on distutils and setuptools (pr/1190) (CM, + reviewed by Zvi Baratz) +* Add a ``_version.pyi`` stub to allow mypy_ to run without building nibabel + (pr/1210) (CM) + + +.. _mypy: https://mypy.readthedocs.io/ + + 5.0.1 (Sunday 12 February 2023) =============================== diff --git a/doc/source/index.rst b/doc/source/index.rst index 701de0136..48db1d31a 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -123,6 +123,8 @@ contributed code and discussion (in rough order of appearance): * Andrew Van * Jérôme Dockès * Jacob Roberts +* Horea Christian +* Fabian Perez License reprise =============== diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 65a35ea33..b896d2dfc 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -86,7 +86,7 @@ Requirements * Python_ 3.8 or greater * NumPy_ 1.19 or greater * Packaging_ 17.0 or greater -* Setuptools_ +* importlib-resources_ 1.3 or greater (or Python 3.9+) * SciPy_ (optional, for full SPM-ANALYZE support) * h5py_ (optional, for MINC2 support) * PyDICOM_ 1.0.0 or greater (optional, for DICOM support) diff --git a/doc/source/links_names.txt b/doc/source/links_names.txt index 7fbb27b12..1ab1242c0 100644 --- a/doc/source/links_names.txt +++ b/doc/source/links_names.txt @@ -114,6 +114,7 @@ .. _python imaging library: https://pypi.python.org/pypi/Pillow .. _h5py: https://www.h5py.org/ .. _packaging: https://packaging.pypa.io +.. _importlib-resources: https://importlib-resources.readthedocs.io/ .. Python imaging projects .. _PyMVPA: http://www.pymvpa.org diff --git a/min-requirements.txt b/min-requirements.txt index 305f16dcb..e30bc40a2 100644 --- a/min-requirements.txt +++ b/min-requirements.txt @@ -1,4 +1,4 @@ # Auto-generated by tools/update_requirements.py numpy ==1.19 packaging ==17 -setuptools +importlib_resources ==1.3; python_version < '3.9' diff --git a/pyproject.toml b/pyproject.toml index f944f8e68..1dbc13b43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ requires-python = ">=3.8" dependencies = [ "numpy >=1.19", "packaging >=17", - "importlib_resources; python_version < '3.9'", + "importlib_resources >=1.3; python_version < '3.9'", ] classifiers = [ "Development Status :: 5 - Production/Stable", diff --git a/requirements.txt b/requirements.txt index 1d1e43460..a74639cf8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ # Auto-generated by tools/update_requirements.py numpy >=1.19 packaging >=17 -setuptools +importlib_resources >=1.3; python_version < '3.9'