-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
MNT: Pin sphinx to avoid very slow doc build on RTD #11014
Conversation
@saimn , I don't see the timing. Is simply adding the extension not enough? Is there something else I need to do? The documentation is pretty bare. https://www.sphinx-doc.org/en/master/usage/extensions/duration.html |
Yes, you just need to add the extension, but it doesn't seem to work on RTD (I noticed the same thing in #10795). |
Also, having a look at the builds on RTD, I don't see what could have changed on Astropy side to explain the the build takes more than twice longer. 2 weeks ago sphinx-build was taking 500-600 seconds. |
This comment has been minimized.
This comment has been minimized.
c4335c5
to
9c12684
Compare
I have my suspects...
|
I think the culprit is Sphinx 3.3.0 (released 2020-11-02) but I don't know if this is Sphinx bug or our |
I wonder if I should open an issue over at Sphinx but I wouldn't know how to isolate the problem for them. Update: Reported to sphinx-doc/sphinx#8403 as Brigitta suggested. |
Hmm, even just reporting them this table and the logs might be useful enough for them. (I also wonder whether the mpl font building also has any effects, I recall it was an issue in the past?) |
@bsipocz , font building seems to add about 30-ish seconds but definitely was not the cause. |
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.
Sounds good, thanks @pllim for the investigation !
I guess we could merge this soon ?
Yes, please! |
MNT: Pin sphinx to avoid very slow doc build on RTD
Description
This pull request is to see what is causing RTD doc build to take so long.
Also see readthedocs/readthedocs.org#7648 #10807 #10998
Note: Cancelled CI on purpose as I don't think they are needed.