Skip to content

Support Numpy 1.17 in tests#5192

Merged
mrocklin merged 3 commits intodask:masterfrom
mrocklin:numpy-1.17-support
Jul 31, 2019
Merged

Support Numpy 1.17 in tests#5192
mrocklin merged 3 commits intodask:masterfrom
mrocklin:numpy-1.17-support

Conversation

@mrocklin
Copy link
Copy Markdown
Member

  • Tests added / passed
  • Passes black dask / flake8 dask

mrocklin added 3 commits July 31, 2019 12:44
Some tests fail otherwise.  I haven't bothered to track down why, but
this should be safe enough.

# Drop empty arrays
seq = [a for a in seq if a.size]
seq2 = [a for a in seq if a.size]
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.

Why was it necessary to have a new name seq2 here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The line just afterwards reverts to seq if seq2 is empty.

@pentschev
Copy link
Copy Markdown
Member

LGTM.

@mrocklin mrocklin merged commit 265f529 into dask:master Jul 31, 2019
@mrocklin mrocklin deleted the numpy-1.17-support branch July 31, 2019 22:05
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.

2 participants