Skip to content

DEP: ufunc out argument must be a tuple for multiple outputs - #14682

Merged
mattip merged 1 commit into
numpy:masterfrom
seberg:finish-out-kwarg-deprecations
Oct 14, 2019
Merged

mattip merged 1 commit into
numpy:masterfrom
seberg:finish-out-kwarg-deprecations

Conversation

@seberg

@seberg seberg commented Oct 11, 2019

Copy link
Copy Markdown
Member

This finishes a deprecation started in NumPy 1.10. when the support
for providing multiple output arguments was added.

This finishes a deprecation started in NumPy 1.10. when the support
for providing multiple output arguments was added.
@mattip
mattip merged commit 1116054 into numpy:master Oct 14, 2019
@seberg
seberg deleted the finish-out-kwarg-deprecations branch October 14, 2019 19:32
@charris

charris commented Oct 15, 2019

Copy link
Copy Markdown
Member

This broke the wheels builds: https://travis-ci.org/MacPython/numpy-wheels/builds/597871094, not sure why it worked here. I suspect the test need fixing.

@charris

charris commented Oct 15, 2019

Copy link
Copy Markdown
Member

Might be the pytest version, pytest-5.2.1

@seberg

seberg commented Oct 15, 2019

Copy link
Copy Markdown
Member Author

Hmmm, looks like its this one, will have a look at it tomorrow.

@seberg

seberg commented Oct 15, 2019

Copy link
Copy Markdown
Member Author

OK, I missed that the same deprecation warning existed in the ufunc overrides for __array_ufunc__... Not sure why the test is a bit random, but easy enough to fix.

seberg added a commit to seberg/numpy that referenced this pull request Oct 15, 2019
This was started in numpygh-14682 but I missed the path in the override.c
(since we parse these things multiple times currently).

I am not clear why the test seems to be flaky to be honest...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants