Improve deprecation messages
See original GitHub issue🚀 Feature
House keeping request to improve the codebase. The idea is to 1) improve deprecation messages inspired from scikit-image: https://github.com/scikit-image/scikit-image/blob/87a8806cca7fb5366b6e5ddbe5e46364b44f90fe/skimage/_shared/utils.py#L15-L214
f"{self.arg_name} argument is deprecated and will be removed "
f"in version {self.changed_version}. To avoid this warning, "
f"please do not use the {self.arg_name} argument. Please "
f"see {func.__name__} documentation for more details.")
and 2) introduce similar decorators in our codebase in a minimalistic way.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Adding deprecation messages - GitLab Docs
Adding deprecation messages. We store a list of deprecations associated with it in the list method of Gitlab::Deprecations class If a configuration has...
Read more >The Complete Guide for Deprecation Warnings in Rails
In this guide we'll show you what the workflow is that we use at FastRuby.io to address deprecation warnings when we upgrade Rails ......
Read more >Python deprecation - DEV Community
Deprecation messages make most sense, when they also provide information, when a particular deprecation is intended to become active. Depending ...
Read more >How to deprecate software features without bothering users
Use every reasonable means to notify customers when you deprecate software features. These methods can include roadmap and deprecation notices ...
Read more >Fix deprecation messages related to deprecated comment ...
Deprecation messages should be moved from skipped to expected for ... whether it was better to handle at abstract or concrete layer so...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure sounds great, and thank you for the opportunity! I’ll get right to it. I will first find the current deprecation messages and understand the codebase a little, and will send a draft PR soon!
@Afzal-Ind we just dropped the support of python 3.5 today.