-
Notifications
You must be signed in to change notification settings - Fork 207
DOC Improve doc about joblib warnings #1367
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
Conversation
doc/configuration.rst
Outdated
Python warnings emitted by :mod:`joblib` during gallery generation (e.g., the | ||
``UserWarning`` about a | ||
`worker restarting <https://github.com/joblib/joblib/issues/883>`_), | ||
will be captured by Sphinx-Gallery. These can be filtered out with |
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.
Also not sure if these warnings are included in code execution output, so I've left at a vague 'capture'...?
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.
Actually thinking again, it may be to do with when the warning is emitted, at the time of gallery generation/example execution which is why it causes examples to fail (when warnings are error)
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.
I've amended the doc, hopefully it is right and makes sense
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.
Nice, thanks @lucyleeow !
Follow on from #1362