Skip to content
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

MAINT run latest CI on Python 3.8 #15637

Merged
merged 9 commits into from
Nov 19, 2019
Merged

MAINT run latest CI on Python 3.8 #15637

merged 9 commits into from
Nov 19, 2019

Conversation

amueller
Copy link
Member

Fixes #15618

@rth
Copy link
Member

rth commented Nov 15, 2019

Yes, that should do it, thanks!

There are a few test failures due to warnings,

DeprecationWarning: In future, it will be an error for 'np.bool_' scalars to be interpreted as an index

some in neighbours and some in matplotlib.

@amueller
Copy link
Member Author

gimme a sec :)

@amueller
Copy link
Member Author

Seems like a bug in numpy?

import numpy as np
np.ones(3).astype(np.float, copy=np.zeros(3).max() > 0)

gives a warning.

@amueller
Copy link
Member Author

amueller commented Nov 15, 2019

numpy/numpy#14397 https://bugs.python.org/issue37980

Should we work around it?

seed = 45
# going to Python3.8 this fails even worse! Changing seed as temporary
# work-around
seed = 41
Copy link
Member

@rth rth Nov 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this test seems unstable. Earlier today I got a failure in a clean environment with py37 for it as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it's the specific scipy release? I used 1.3.2

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we xfail that test?
I'm gonna be mostly offline after this message for about a week so feel free to hack around ;)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this has been reported in #15420

@amueller
Copy link
Member Author

Leaning towards xfail if someone wants to do that.

@thomasjpfan
Copy link
Member

On the call, I was speaking of MacPython/scikit-learn-wheels#35 which is having issues with test_scale_and_stability on windows.

@thomasjpfan
Copy link
Member

This is ready to merge. For now, the warnings from matplotlib are explicitly ignored in the plotting tests.

@thomasjpfan
Copy link
Member

I am working on the windows test_scale_and_stability bug and will have another PR addressing that issue.

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

@rth rth changed the title run latest CI on 3.8 MAINT run latest CI on Python 3.8 Nov 19, 2019
@rth rth merged commit e254b30 into scikit-learn:master Nov 19, 2019
adrinjalali pushed a commit to adrinjalali/scikit-learn that referenced this pull request Nov 25, 2019
jnothman pushed a commit that referenced this pull request Nov 28, 2019
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Python 3.8 CI
5 participants