Skip to content

Hotfix Skip non deterministic tests on PowerPC #13323

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

Merged
merged 3 commits into from
Feb 28, 2019

Conversation

rth
Copy link
Member

@rth rth commented Feb 28, 2019

An attempt to work around #13051 by extending the tests currently considered non determinisitic on 32 bit arch to PowerPC as well.

Closes #13051

The platform.machine settings can be seen e.g. here.

Ideally, it would be good to understand why these are non-deterministic (on 32 bit arch as well) but meanwhile since we are not officially supporting PowerPC this aims to avoid new bug reports from debian maintainers while packaging scikit-learn, for tests that we deem acceptable to skip on 32 bit arch.

@rth rth requested review from jnothman and ogrisel February 28, 2019 08:36
@rth
Copy link
Member Author

rth commented Feb 28, 2019

Because I have not managed to find a PowerPC machine, it's a bit difficult to test

@rth rth added this to the 0.20.3 milestone Feb 28, 2019
sklearn/base.py Outdated
class _UnstableOn32BitMixin(object):
"""Mark estimators that are non-determinstic on 32bit."""
class _UnstableArchMixin(object):
"""Mark estimators that are non-determinstic on 32bit and PowerPC"""
Copy link
Member

Choose a reason for hiding this comment

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

and -> or

@jnothman jnothman merged commit cdfca8c into scikit-learn:master Feb 28, 2019
@jnothman
Copy link
Member

Thanks @rth h

jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Feb 28, 2019
@rth rth deleted the skip-unstable-ppc branch February 28, 2019 12:26
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
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.

3 participants