Skip to content

Hotfix Skip non deterministic tests on PowerPC - #13323

Merged
jnothman merged 3 commits into
scikit-learn:masterfrom
rth:skip-unstable-ppc
Feb 28, 2019
Merged

jnothman merged 3 commits into
scikit-learn:masterfrom
rth:skip-unstable-ppc

Conversation

@rth

@rth rth commented Feb 28, 2019 •

Copy link
Copy Markdown
Member

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

rth commented Feb 28, 2019

Copy link
Copy Markdown
Member Author

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
Comment thread 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
Copy Markdown
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
Copy Markdown
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