Xarray: upstream-dev CI fails on import of dask.array

Created on 5 Jun 2020  路  9Comments  路  Source: pydata/xarray

All 9 comments

It seems that's because we use python -OO -c "import xarray" to test importing, and the optimization (no asserts / __debug__ related stuff) makes import dask.array fail.

Working on a fix now. I think https://github.com/dask/dask/pull/6299 should do it.

Awesome. Thanks @jsignell

the fix by @jsignell is now on dask master so the upstream-dev CI should work, but our other CI will keep failing until dask=2.18.1 or dask=2.19.0 is released.

In the meantime, we could pin dask to dask!=2.18.0 or remove the -OO option in the CI. Does anyone know why we use that option?

or remove the -OO option in the CI. Does anyone know why we use that option?

Looks like @shoyer added that line initially. Lets try removing it?

I think dask is going to release today.

I would suggest pinning dask for now (or waiting until the new release).

dask==2.18.1 has been released so I'm closing this

Was this page helpful?
0 / 5 - 0 ratings