-
Notifications
You must be signed in to change notification settings - Fork 18
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
xarray dependency adjusted in pyproject.toml #1099
Conversation
CI fails due to other tests, which are not related to this PR. |
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.
Looks good, except that you need to update the minimum xarray dependency version (see comment). But approving since I don't need to review again.
pyproject.toml
Outdated
@@ -55,7 +55,7 @@ dependencies = [ | |||
"tabulate>=0.9", | |||
"tornado>=6.0", | |||
"urllib3>=1.26", | |||
"xarray>=2022.6,<=2024.6", | |||
"xarray>=2022.6", |
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.
"xarray>=2022.6", | |
"xarray>=2024.7", |
The updated test will of course fail for any xarray version under 2024.7, so we need to update the minimum version. Alternatively we could have the test change its behaviour depending on the xarray version, but I think there's no harm in bumping the dependency specification.
(And the same goes for the xarray
specification in environment.yml
.)
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.
Changes applied in pyproject.toml
and environement.yml
.
Fixes #1094 |
32bbb1d
to
8ad5f0a
Compare
Fixes #1094
In #1068 xcube has been adjusted so that it is complient to
xarray >=2024.6
. However, I forgot to adjustpyproject.toml
.Note that
xarray.core.resample.DataArrayResample.quantile
now allows dask arrays. Therefore, the test inresample_in_time
was adjusted. This is related to the new feature in xarray 2024.7 (https://docs.xarray.dev/en/stable/whats-new.html#id40) and the PR pydata/xarray#9109.Checklist:
Add docstrings and API docs for any new/modified user-facing classes and functionsNew/modified features documented indocs/source/*
Changes documented inCHANGES.md