-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
MAINT: revert __skip_array_function__ from NEP-18 #13627
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
xref numpyGH-13624, numpyGH-12028 TODO: update tests/CI for NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0
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.
This also looks good. I wondered a bit about even defining _implementation
when things are not enabled, but in the end it is probably best to have minimal differences.
I think we will need this for a few functions that access the implementation internally... we'll see when I run tests with |
This actually doesn't work if the function is written in C, so I've removed it (that's why you write tests, I suppose!) |
@@ -64,6 +64,8 @@ matrix: | |||
env: NPY_RELAXED_STRIDES_CHECKING=0 | |||
- python: 3.6 | |||
env: USE_WHEEL=1 NPY_RELAXED_STRIDES_DEBUG=1 | |||
- python: 3.6 | |||
env: NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0 |
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.
Should we consolidate this CI run into one of the others?
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.
We get 5 parallel runs and we are already over 10, so as long as there are fewer than 15 test runs it shouldn't make much difference. The runs vary in time, so it isn't possible to predict exactly what will happen, but close enough.
OK, tests with array function disabled are passing now. |
xref GH-13624, GH-12028
TODO: update tests/CI for NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0