-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2021 remove deprecation errors #2022
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2022 +/- ##
===========================================
- Coverage 99.35% 99.35% -0.01%
===========================================
Files 346 346
Lines 18972 18939 -33
===========================================
- Hits 18849 18816 -33
Misses 123 123
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good. We could start using https://pypi.org/project/deprecation/#description, which specifies by which version a warning should be removed and fails tests if not removed by then
Shall I replace some of the remaining deprecation errors using the package or should I merge the PR now? |
Merge the PR and open an issue |
Description
Removed all the deprecation errors that I could find that were one year or older. Not sure what's the best way to automate removing deprecation errors in the future. Maybe we can just add a comment when we introduce one of the errors with the key work "deprecation" (or anything starting with deprec) and the date, so it is easy to search them and check how old they are.
Fixes #2021
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: