question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Devanshu24commented, Jan 21, 2021

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!

2reactions
vfdev-5commented, Dec 15, 2020

Hi, do you still provide support for python 3.5? Thanks.

@Afzal-Ind we just dropped the support of python 3.5 today.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found