-
Notifications
You must be signed in to change notification settings - Fork 300
Deprecate abf and dot #4515
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
Deprecate abf and dot #4515
Conversation
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.
Looking good, but I agree we need to avoid the message when "just" importing iris.fileformats.
As with the other deprecations, I'd also like to be sure @lbdreyer had a chance to OK this.
That warning on any use of iris.fileformats happens because Iris imports abf to populate its file format handler structures.
I think it still makes sense to issue the warning whenever abf is imported, so I think the
nice way is to use a deferred import within a wrapper function.
I think I will propose something similar as a PR to your branch...
See wjbenfold#2 |
I love the elegance of this solution |
I'm fine with this. If we are happy to reverse the decision (or perhaps come up with an alternative!) should someone say they are still using it then that is fine. |
88b065a to
0942757
Compare
|
hi @wjbenfold I think that's also why you are getting the docs-build fail : So the examples hit a deprecation warning when importing iris.fileformats, and that --> error in the docs build |
|
Ah, didn't pull before the rebase, will do that |
0942757 to
3389037
Compare
|
I believe that this is ready now @pp-mo |
pp-mo
left a comment
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.
Ok now!
🚀 Pull Request
Description
See #4394
To do:
Consult Iris pull request check list