-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix deprecated option in sphinx that causes warning treated as error in travis #2395
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
soupault
left a comment
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.
Thanks!
|
Looks like there is several evolutions in sphinx. Right now, I have this message It deserves some investigations... ping @sphinx-gallery (not sure if this is relevant: sphinx-gallery/sphinx-gallery#58) |
|
Sphinx broke this in version 1.5, their logic for warning checking has (had) a typo. I reported it here and it's now fixed in master: sphinx-doc/sphinx#3204 The workaround is either to use Sphinx from master until they release a version with the fix, or allow Travis to pass with Sphinx errors in the interim. |
|
Thanks @JDWarner for your comment but actually, I already went through that one, no? (And i didn't noticed the typo). My problem is more with sphinx-gallery now. |
|
I updated sphinx-gallery, a bug fix release for sphinx 1.5. |
fbaeb4e to
dbc8171
Compare
|
Thanks @sciunto ! For the sphinx-gallery files, did you copy them from the latest sphinx-gallery release (or from master), or is there some divergence between the files in scikit-image and the ones in sphinx-gallery ? |
|
@emmanuelle I copied them, and I didn't modify any of them. |
|
OK, great. At some point we can consider adding sphinx-gallery as a dependency, but there's no hurry to do it. Two questions:
|
|
@emmanuelle Did you read the ticket I opened upstream? Before going into more investigations, we were wondering if there was modifications that you brought in our copy of sphinx gallery that were not included upstream? I guess you would never have done that, except perhaps by mistake... |
|
PS: the problem also exists on my desktop. Nevertheless, the gallery looks good as it happens at the very end for the generation of hyperlinks. |
|
@sciunto is it sphinx-gallery/sphinx-gallery#184? When I ported the gallery to sphinx-gallery (#2078) I had to modify at least one file but I back-ported it to sphinx-gallery (sphinx-gallery/sphinx-gallery#119, which has been merged). |
|
As suggested by @JDWarner should we allow Travis to pass with sphinx warnings until the problem is solved? It's blocking a number of PRs in the meantime... |
|
Thanks for the clarifications @emmanuelle We can do that. I don't know where is this option to do not treat warning as errors. If you give me a hint, I can do it in this PR. At least, this PR solves problems related to our configuration and the latest sphinx evolutions. It could be merged imho. For the rest, upstream is currently looking at it. I can open another ticket to follow the progress. |
|
A patch is in the pipes... |
eac6f6a to
82b2fc3
Compare
|
@emmanuelle @soupault The build goes fine on my side. Ready to go! |
Current coverage is 90.64% (diff: 100%)
|
|
it seems ready to merge, right? :) |
|
Let's ping @scikit-image/core to see if someone can press the green button :) |
| """ | ||
| import os | ||
| __version__ = '0.1.2' | ||
| __version__ = '0.1.7' |
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.
If I understood correctly, the update in this PR contains sphinx-gallery 0.1.7+sphinx-gallery/sphinx-gallery#190 .
If it is indeed so, I'd suggest either to wait for that patch being merged, or to note somewhere the details regarding the version used.
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 think it's more urgent to have Travis passing again.
|
@soupault My plan is to re-update sphinx-gallery before the release... I open a ticket for that, assigned to myself. |
|
The idea is to be get travis back to work for other PRs. |
|
@sciunto in addition to the open ticket, can you add a line in TODO.txt as well? |
|
Oki, it's done :) |
emmanuelle
left a comment
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!
|
Merging, thanks! |
|
LGTM as well. |
See #2371
Closes #2401
Ref: