-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
add a CI that tests xarray with all optional dependencies but dask #3919
Conversation
Doesn't |
yes, exactly. There were a few issues we did not detect because there are code paths that are only chosen if |
seems I also renamed the CI to |
Ha, the naming is good! |
This may be related: #1923 |
it is related, but this PR has a different set of failures: there are a lot of |
the non-serializable lock from the failing xarray/xarray/backends/locks.py Lines 6 to 10 in 280a14f
which means the assumption that if we don't use dask we don't need to worry about serialization is incorrect (or the rasterio code uses the serializable lock in unintended ways)?
Also, the |
a bit more progress: xarray/xarray/backends/zarr.py Lines 58 to 60 in fa37ee6
_arrayize_vectorized_indexer accepts an indexer, so we should pass key directly.
This exposes a different error: plain |
it seems the slices get transformed differently depending on the data: for numpy arrays, I'd xfail these tests since I think they're bugs and open issues for them. |
I don't think I can figure out how to fix the remaining three tests. Is it okay to have the fixes for If it is, this should be ready for review & merge. |
Perfect, LGTM! Thank you @keewis |
Thanks @keewis. Clearly this is a useful test config to add! |
* master: Use divergent colormap if lowest and highest level span 0 (pydata#3913) Bugfix for plotting transposed 2d coords (pydata#3934) Allow plotting bool data (pydata#3766) facetgrid: fix case when vmin == vmax (pydata#3916) add a CI that tests xarray with all optional dependencies but dask (pydata#3919) Add missing_dims argument allowing isel() to ignore missing dimensions (pydata#3923) Only fail if a specific warning occurs (pydata#3930) Fix minor code quality issues (pydata#3626) Fix for stack+groupby+apply w/ non-increasing coord (pydata#3906) reactivate the macos CI (pydata#3920) add pint to the output of show_versions() (pydata#3918)
Was using the
py38
environment the correct choice? I'm also not sure if adding a new CI was as simple as adding two lines, but that's something I will see once the CI runs 😁Edit:
dask
,dask-core
anddistributed
get pulled in by other packages, so it seems there is a bit more investigation necessary.isort -rc . && black . && mypy . && flake8
whats-new.rst
for all changes andapi.rst
for new API