Open
Description
There should be a way to create deprecation warnings so that If I use a package that has those deprecated calls, I don't get a warning but if I write code that uses those calls (script, repl, or ]dev
ing a package) I do get a warning.
Originally posted by @oxinabox in #47150 (comment)