-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vendor zarr imports #285
Vendor zarr imports #285
Conversation
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
…matt/protect-zarr-imports
@@ -49,9 +49,9 @@ def test_invalid_encoding_chunks_with_dask_raise(): | |||
data = dask.array.zeros((10, 20, 30), chunks=expected) | |||
ds = xr.Dataset({'foo': (['x', 'y', 'z'], data)}) | |||
ds['foo'].encoding['chunks'] = [8, 5, 1] | |||
with pytest.raises(ValueError) as excinfo: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running against the latest xarray, this throws an TypeError
because region
in the xarray dask check is None
so it cant even compute the check
Dear @abkfenris |
Hi @mo-dkrz , I think @mpiannucci had something else that they wanted to land/let things settle with external libraries before cutting a new release. |
I think this is fine now that zarr 3 is out. We should add a CI test for it though to make sure |
Thanks for explanation |
Xpublish should be zarr python version agnostic, this is the first step in getting xpublish running with zarr python 3