Add a warning filter to make sure the deprecation warning is shown for
the IPython extension.