-
-
Notifications
You must be signed in to change notification settings - Fork 26k
MNT Do not update docs with deprecated decorator #24410
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
Going through the CI Logs for documentation build step, I see many warnings messages like
Are we sure that this is okay to be ignored. |
Yup those are safe to ignore for pull requests, because we do not run the examples to generate the images by default. Running all the examples on every PR will greatly increase the build time especially if the PR does not touch any of the examples. For PRs, we have code that catches warnings for files that were changed in the PR: scikit-learn/build_tools/github/build_doc.sh Line 230 in e04fb58
That file also has clever logic to make sure files that reference images in the examples will also run those examples. |
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.
LGTM
@thomasjpfan seems like you messed up you sync with main 😃 |
8f4dc68
to
402690d
Compare
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.
LGTM as well.
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.
LGTM. Thank you, @thomasjpfan.
I confirm that all the remaining |
Co-authored-by: Olivier Grisel <[email protected]>
Reference Issues/PRs
Fixes #24328
What does this implement/fix? Explain your changes.
This PR removes the
_update_doc
from thedeprecated
decorator. I did not update because they will be removed in 1.2: