-
Notifications
You must be signed in to change notification settings - Fork 228
Drop support for python 2 and python 3.5 #291
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.
Finally!
The Travis failures are due to an inconsistency in the way scikit-learn prints the Maybe this is a sign that we should drop py3.5 in this PR as well? @bellet any thoughts? |
sklearn stopped supporting Python 3.5, and this is also the case for our optional dependency skggm, see #166 If we go for this we should probably update the travis builds to include one without skggm, to make sure the code is tested in this setup We should also simplify the skggm-related instructions in the builds and the README/doc as we should be able to just use the last version instead of a specific commit, am I right @wdevazelhes ? |
I agree that it makes sense to drop py35
I think there was some undeterministicness problems still present in the current release of skggm (see #272), which fix (skggm/skggm@a0ed406) hasn't been released yet... However skggm doesn't seem very active... Also, @bellet since you fixed scikit-learn's issues with graphical lasso (scikit-learn/scikit-learn#13276), maybe now the cases where skggm is actually useful are very rare? (or inexistant ? I don't remember exactly but I think the cases to look at are the non SPD ones: cf. metric-learn/metric_learn/sdml.py Line 116 in 2d5a942
|
Nope, I don't think my fix changed much about this because the problem was only occurring in 2D. So let's keep things the same regarding |
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
Fixes gh-166, and resolves some errors related to newer versions of scikit-learn.