Skip to content

Remove support for numpy < 1.11.0 - #3429

Merged
mrocklin merged 2 commits into
dask:masterfrom
jcrist:np1110
Apr 23, 2018
Merged

mrocklin merged 2 commits into
dask:masterfrom
jcrist:np1110

Conversation

@jcrist

@jcrist jcrist commented Apr 20, 2018

Copy link
Copy Markdown
Member

Downstream libraries have bumped the minimum numpy version they support, and we should too.

Fixes #3427.

Downstream libraries have bumped the minimum numpy version they support,
and we should too.
@jcrist jcrist mentioned this pull request Apr 20, 2018
Comment thread dask/array/ma.py
if LooseVersion(np.__version__) < '1.11.0':
raise ImportError("dask.array.ma requires numpy >= 1.11.0")
if LooseVersion(np.__version__) < '1.11.2':
raise ImportError("dask.array.ma requires numpy >= 1.11.2")

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.

There was something that got fixed between 1.11.1 and 1.11.2 that allows the sparse/masked chunks to work. I didn't bother diagnosing it as 1.11.2 is also several versions back, just changed the version requirement.

@mrocklin

mrocklin commented Apr 20, 2018 via email

Copy link
Copy Markdown
Member

Numpy `out` parameter with dask dataframes requires numpy >= 1.13
@jcrist

jcrist commented Apr 20, 2018

Copy link
Copy Markdown
Member Author

Seeing a failure due to a test added in #3370. Added a case around it checking if the numpy __array_ufunc__ protocol is supported, but there may be other spots where this is needed (none that show up in tests).

@jcrist

jcrist commented Apr 23, 2018

Copy link
Copy Markdown
Member Author

Merging later today if no comment.

@mrocklin
mrocklin merged commit 196c9b0 into dask:master Apr 23, 2018
@jakirkham

Copy link
Copy Markdown
Member

Thanks @jcrist. :)

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