-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG] Adding min. req. for numpy and scipy to circleci #10557
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
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.
Maybe add a comment on the python2 line saying "Test examples run with minimal dependencies."
Merging, thanks a lot! |
ping @jnothman @lesteve @jotasi
|
ahh right ... revert and fix?
|
I'm very sorry for breaking. I wasn't aware that the examples aren't build in PR-tests and thus did not test whether all examples still worked. I traced the reason for the error and it turns out to be due to a bug in The problem arises here: scikit-learn/sklearn/gaussian_process/gpc.py Lines 391 to 417 in c5ef50a
when one element of So I guess for this example to properly run, the minimum SciPy version is |
Sorry I should have checked the generated documentation. The doc only gets build in PRs if you modify one of the examples or if you have Unless there is a straightfoward fix, I would be in favour of reverting the commit until we figure out what to do about it. |
Oh, good to know. I'll remember that next time! I don't really see a straightforward fix, except for bumping the SciPy version up to |
ping @lesteve Seems that you commit in a separate branch, not in master? |
Should be reverted in 84488b5. |
Reference Issues/PRs
See discussion in #10527
What does this implement/fix? Explain your changes.
As suggested by @lesteve in his comment in the discussion about #10527, this PR specifies the numpy and scipy versions installed in the python 2 build of circleCI. They are set to the minimum requirements (numpy>=1.8.2, scipy>=0.13.3) to verify that the examples all run with those minimum requirements as well.