-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Address warnings #10372
Address warnings #10372
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.
LGTM with nits.
@tk0miya thanks for the review, updated. A |
Oops. conflicted. Could you update this, please? Then I'll merge this soon. |
# Conflicts: # tests/test_search.py
@tk0miya merged A |
{ | ||
'__version_info__': docutils.__version_info__, | ||
}, | ||
RemovedInSphinx60Warning, |
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.
We're not in hurry. So I'll remove this in 7.0. I'll change this after merging.
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.
Oops, I meant to change that, sorry.
A
Thank you for your great work! Merging. |
As noted in #9777 (comment), there are some new warnings from Docutils.
This PR resolves warnings in
docutils.frontend.OptionParser
,docutils.frontend.Option
,docutils.nodes.Text
, andsphinx.util.i18n.format_date
.It switches to
image_loading
with a fallback for Docutils 0.17 and earlier, and updates a few remaining cases ofNode.traverse
->Node.findall
.We also resolve all the EncodingWarnings from Sphinx directly (ones from Pytest or Docutils are not covered).
A
Feature or Bugfix