Add necessary version for xarray dependency #145
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since commit c6ea042 (merged in #143), UnitsAwareDataArray depends on
xarray.DataArray.array_ufunc (which in turn depends on numpy 1.13 or
newer). This was merged into xarray in
pydata/xarray#1962 and added to release 0.10.2.
The old UnitsAwareDataArray does not work with xarray>=0.10.2 and the new
one does not work with xarray<=0.10.1. Therefore, typhon now depends on
xarray>=0.10.2 and numpy>=1.13.
Can @lkluft and @olemke please confirm if they are happy with such recent
dependencies? numpy 1.13 was released 2017-07-06 and xarray 0.10.2 was
released 2018-03-13. Both versions are currently available in core conda and
pypi so pip or conda users should not have a practical problem with this, unless
they otherwise have code breakages due to recent numpy or xarray upgrades.