You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Iris Gallery includes (or has included!) code to convert warnings to failures/errors.
Ideas
Suppress warnings we know are not a problem, so only those that matter are left. Then set a test run to exit non-0 if any warnings are raised. Would likely need to address quite a few warnings before this could start working!
A custom routine that causes a failure if it detects warnings of known categories (might only be DeprecationWarning?).
From discussion
Cost-benefit is difficult. Focussing on DeprecationWarning would be fairly easy, but is it offering much. Covering all warnings may need a lot of leg work to adapt the tests.
Should start by seeing how many tests fail if warnings are 'promoted', and see how this informs further discussions.
The content you are editing has changed. Please copy your edits and refresh the page.
Story
Iris developer
Warnings that are a problem for Iris to result in CI failure (e.g. a
DeprecationWarning
)I can address problems introduced by new commits proactively and immediately (rather than reactively when issues are discovered downstream)
Notes
#4384
Iris Gallery includes (or has included!) code to convert warnings to failures/errors.
Ideas
0
if any warnings are raised. Would likely need to address quite a few warnings before this could start working!DeprecationWarning
?).From discussion
DeprecationWarning
would be fairly easy, but is it offering much. Covering all warnings may need a lot of leg work to adapt the tests.Tasks
IrisUserWarnings
#5889The text was updated successfully, but these errors were encountered: