-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG] BUG Fixes test_scale_and_stability in windows #15661
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
[MRG] BUG Fixes test_scale_and_stability in windows #15661
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.
This should be noted in what's new for users of recent scipy with scikit-learn 0.21
Thanks!
OK, but don't we still want to run tests with conda dependencies on Windows? What's the point of reproducing the CI for building wheels, if that is going to be tested when building wheels anyway? |
I had to get the CI to use wheels to reproduce the error here. I’ll revert the back CI back to conda. |
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.
This looks good to me as well. @thomasjpfan have you tracked the PR in scipy that changed this behavior? What is the reason for this change?
@jnothman Whats new in for 0.22.0 or 0.21.4? @adrinjalali Can this be in the RC to get the windows wheel to build? |
@ogrisel Here is the PR that made the change: scipy/scipy#10067 |
I'll include it in RC3. Interesting, then why is only windows which fails the test? It seems like here we're reverting the behavior to something which is not the desired solution, to pass the test. According the PR in scipy, the new bounds are a better choice. Therefore we should be using them, shouldn't we? |
In principle this would be good to do in another PR. We would need to update
This test has a history of failing on windows:
Related:
|
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.
Awesome, thanks @thomasjpfan . Feel free to merge once CI is green.
Also, since you know the details now, could you please also open an issue as you mentioned?
Added to whats_new to 0.22. |
I suppose we could consider this for a 0.21.4... We want to release 0.21 for CPython 3.8 and maybe it's easiest if it also supports scipy 1.3. |
Thanks @thomasjpfan, I merged with your targeted whats new at 0.22. @adrinjalali please add this to your to-backport list for 0.22.X and optionally 0.21.X if you feel like making a companion 0.21.4 release to add support for Python 3.8 as suggested by @jnothman. |
Resolves error in
test_scale_and_stability
by usingcond
that was used in scipy <= 1.2 forpinv2
.The
install.cmd
was adjusted to match the pip installed packages in building the wheels.With this merged, we should be able to get MacPython/scikit-learn-wheels#35 to work and build wheels for 3.8
It is a little strange that the error did not always appear with scipy installed from conda.