-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CI: silence numpy-dev failures #32025
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
CI: silence numpy-dev failures #32025
Conversation
@@ -7,6 +7,9 @@ | |||
""" | |||
|
|||
import numpy as np | |||
import pytest | |||
|
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.
can use the _test_decorator version of this
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.
are you referring to pandas/util/_test_decorators.py?
we have nothing for np-dev there (just skip_if_np_lt) . also those are skips and don't we want an xfail?
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.
ok instead of importing from here (this is not meant for this)
import from pd. where all of the lives (you will to add the import in pandas/init.py
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.
sure. we currently have a mixture of imports for _np_version_under1p* and wasn't sure which was the preferred.
@@ -7,6 +7,9 @@ | |||
""" | |||
|
|||
import numpy as np | |||
import pytest | |||
|
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.
ok instead of importing from here (this is not meant for this)
import from pd. where all of the lives (you will to add the import in pandas/init.py
ok. this is starting to look promising. not marking the issue as closed since only silencing here (hence using xfails instead of skips). so fixing the issue is outstanding. was not able to reproduce the failures locally so didn't attempt to fix. will flag as 1.0.2 and backport in order to keep CI there green too. |
@jreback ping green |
i'll merge in about 10mins if no objections. can always revert or follow-on if issues. |
looks like these tests are flakey. will need to skip instead if xfail. |
xfail is ok but add strict=False much better than skips |
sounds good. |
xref #31992