-
-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak deprecation messages. (#15027)
With the push of removing deprecated features, the wording for the deprecated features are slightly inaccurate when stating `"DEPRECATED: {entity} will be removed in version 2.12.0.dev0"`, when later pushed to `.dev1` and again to `.dev2`. Suggest to soften this to give the intent of removal, without the actual promise of removal. `"DEPRECATED: {entity} may be removed in version 2.12.0.dev0"` Considered dropping the pre release part, so it reads `"... will be removed in version 2.12.0"`, which I feel is a better user facing message, but I was reluctant to trim the actual `removal_version` presented. Also found a couple of mixups with the format strings for two deprecation error messages.
- Loading branch information
Showing
5 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters