-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
failed doctests when PIL is not available #333
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
Comments
Good catch. We need centralize the PIL related stuff somewhere and use it to disable tests on dependent methods. |
Was this fixed ? |
I don't think so, I completely forgot about it. I won't have time today. Maybe tomorrow, unless someone else does it first. |
I had to comment the doctest for the release, but this still should be fixed |
How about using PNG instead of jpeg and use pylab.imread? |
for the record: pylab is not an official requirement of sklearn, so no! |
as an afterthought: even if we sort out the pil issue, this will crash when pylab is unavailable.... @ogrisel: Where is pil used except in this file? Or do you mean to centralize for My suggestion would be to either add skiptests as I did in #526 or reference an example as @fabianp suggested. |
Yes this code is almost duplicated in |
What's weird is that I did install a build of scikit-learn in virtualenv with --no-site-packages some time ago and did not experience the issue when running make. Need to retry on a recent build to check. |
@fabianp I am +1 for SKIP (for both). What are the release plans btw? |
I hope to have fixes most of the issues by the end of the week, then we can think of branching and release. |
My priority right now is fixing the sklearn.test() failures. |
If I can help you, just let me know. The milestone 0.11 is due in 3 month. Is this already decided (just curious)? By the way, I would really like your opinion on the SVM restructuring. Are you very busy at the moment? |
I didn't think there where any left... do you mean the warnings or the inplace import? hmmm... I get some "AttributeError |
Hi Andreas, I'm OK with the SVM restructuring. I'd however postpone the merging of that for the next release instead of doing it in a rush. It's really helpful if you can look into the issues you mentioned. Please ask if it's not clear, I realize reading them now that some of them are rather cryptic. All of them are important but not blocking so I moved them to milestone 0.11. |
Taking time for the SVM restructuring seems sensible. |
Great. As for the milestone, I just set it for 0.10 + 3 months because that's what our release cycle has approximately been like, but there has been no formal discussion. |
"Fixed"" in dfc7c5c |
Thanks @fabianp. |
here is the backtrace:
The text was updated successfully, but these errors were encountered: