Actually show deprecation warnings and their line level [2/2]#8002
Merged
Actually show deprecation warnings and their line level [2/2]#8002
Conversation
…n sterr." This reverts commit 5814213.
Codecov Report
@@ Coverage Diff @@
## master #8002 +/- ##
=======================================
- Coverage 92% 87% -5%
=======================================
Files 207 210 +3
Lines 13497 13590 +93
=======================================
- Hits 12367 11821 -546
- Misses 1130 1769 +639 |
6 tasks
awaelchli
reviewed
Jun 21, 2021
awaelchli
approved these changes
Jun 21, 2021
Contributor
awaelchli
left a comment
There was a problem hiding this comment.
not fully convinced about splitting up the the rank_zero functions but if circular imports are trouble, ok sounds fair :)
carmocca
commented
Jun 21, 2021
carmocca
commented
Jun 21, 2021
Borda
approved these changes
Jun 21, 2021
awaelchli
added a commit
that referenced
this pull request
Jun 22, 2021
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
lexierule
pushed a commit
that referenced
this pull request
Jun 22, 2021
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Issue
DeprecationWarnings weren't being shown for two reasons:
Solution
LightningDeprecationWarningand enable itwarnings.pyTo decide
Since
DeprecationWarnings haven't been shown, we need to decide if we should delay their removal versions.Option 👀 : do nothing - an argument is that we already mention what's been deprecated in the release notes
Option 🚀 : Only delay the removal version of warnings set to be removed in 1.4
Option ❤️ : Do it for all
Before submitting
PR review