I was using warnings.warn(message, DeprecationWarning, stacklevel=2) in my api but I just learned that this would be ignore unless unless triggered by code in <
warnings.warn(message, DeprecationWarning, stacklevel=2)