Uh oh!
There was an error while loading. Please reload this page.
Pin to Dask 2021.02.0 while incompatibility with later versions is investigated - #483
Conversation
tomwhite
commented
Mar 8, 2021
This will fix the main build and the documentation build (see #482). |
jeromekelleher
left a comment
There was a problem hiding this comment.
Are we sure we want to pin in setup.cfg? This does more than just fix the CI builds, doesn't it?
tomwhite
commented
Mar 8, 2021
You're right. I was hoping this pin would be short-lived, and certainly wouldn't get released. I can just change the requirements file though for CI. |
jeromekelleher
commented
Mar 8, 2021
Pins have a habit of persisting, I'd rather keep it to a minimum, but it's up to you really. |
jrbourbeau
commented
Mar 8, 2021
I'd be curious to know what changes in the Dask 2021.03.0 release impacted |
tomwhite
commented
Mar 9, 2021
It was this Dask PR: dask/dask#6738. I see the problem described in #482 with that commit, but not with the one before it. More concretely, the following prints importnumpyasnpimportxarrayasxrimportdask.arrayasdaxr.DataArray.__module__="xarray"# simulate sphinx workaround, which has the effect of Dask not recognising it as xarraydata=np.arange(4)
da.asarray(xr.DataArray(data)).max().compute() |
jrbourbeau
commented
Mar 9, 2021
Gotcha, thanks for the upstream PR in Dask! |
No description provided.