BLD: run in numpy deprecation mode if indicated