From 290e34a1ef44ac2dd2b1d4c71fb3e0b8f68b0b29 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 3 Jan 2023 01:23:05 -0500 Subject: [PATCH] MNT: Officially deprecate nisext --- nisext/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nisext/__init__.py b/nisext/__init__.py index b556c66d13..6b19d7eb8e 100644 --- a/nisext/__init__.py +++ b/nisext/__init__.py @@ -4,3 +4,10 @@ nibabel uses these routines, and houses them, and installs them. nipy-proper and dipy use them. """ + +import warnings + +warnings.warn( + """The nisext package is deprecated as of NiBabel 5.0 and will be fully +removed in NiBabel 6.0""" +)