Deprecating means to preserve the current function, but raise a warning.

You can use the skimage._shared_.deprecated decorator. There are a number of examples, how to use it.