From 6d9a3949feec8eac2f56e4c154e6250480f301bfadaa4bd5bbdf7bb9e3dbf964 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Thu, 24 Oct 2019 20:10:08 +0000 Subject: [PATCH] Accepting request 742733 from home:TheBlackCat:branches:devel:languages:python:numeric update to version 0.14.0 OBS-URL: https://build.opensuse.org/request/show/742733 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=27 --- python-xarray.changes | 33 +++++++++++++++++++++++++++++++++ python-xarray.spec | 15 ++++++++------- xarray-0.13.0.tar.gz | 3 --- xarray-0.14.0.tar.gz | 3 +++ 4 files changed, 44 insertions(+), 10 deletions(-) delete mode 100644 xarray-0.13.0.tar.gz create mode 100644 xarray-0.14.0.tar.gz diff --git a/python-xarray.changes b/python-xarray.changes index a66d79b..c19e61e 100644 --- a/python-xarray.changes +++ b/python-xarray.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Thu Oct 24 19:52:12 UTC 2019 - Todd R + +- update to version 0.14.0 + + Breaking changes + * Dropped the `drop=False` optional parameter from Variable.isel. + It was unused and doesn't make sense for a Variable. + + New functions/methods + * Added xarray.map_blocks, modeled after dask.array.map_blocks. + Also added Dataset.unify_chunks, DataArray.unify_chunks and + testing.assert_chunks_equal + + Enhancements + * xarray.core.GroupBy enhancements. + > Added a repr + > Added a ``GroupBy.dims`` property that mirrors the dimensions + of each group. + * Speed up Dataset.isel up to 33% and DataArray.isel up to 25% for small + arrays + + Bug fixes + * Reintroduce support for weakref (broken in v0.13.0). Support has been + reinstated for DataArray and Dataset objects only. Internal xarray + objects remain unaddressable by weakref in order to save memory + * Line plots with the x or y argument set to a 1D non-dimensional coord + now plot the correct data for 2D DataArrays + * Make xarray.concat more robust when merging variables present in some datasets but + not others. + * The default behaviour of reducing across all dimensions for + xarray.core.groupby.DataArrayGroupBy objects has now been properly removed + as was done for xarray.core.groupby.DatasetGroupBy in 0.13.0. + Use xarray.ALL_DIMS if you need to replicate previous behaviour. + Also raise nicer error message when no groups are created. + * Fix error in concatenating unlabeled dimensions. + ------------------------------------------------------------------- Sat Sep 21 19:53:35 UTC 2019 - Arun Persaud diff --git a/python-xarray.spec b/python-xarray.spec index dbce299..5a98166 100644 --- a/python-xarray.spec +++ b/python-xarray.spec @@ -17,22 +17,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%define skip_python2 1 Name: python-xarray -Version: 0.13.0 +Version: 0.14.0 Release: 0 Summary: N-D labeled arrays and datasets in Python License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/pydata/xarray Source: https://files.pythonhosted.org/packages/source/x/xarray/xarray-%{version}.tar.gz -BuildRequires: %{python_module numpy-devel >= 1.12} -BuildRequires: %{python_module pandas >= 0.19.2} +BuildRequires: %{python_module numpy-devel >= 1.14} +BuildRequires: %{python_module numpy >= 1.14} +BuildRequires: %{python_module pandas >= 0.24} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-numpy >= 1.12 -Requires: python-pandas >= 0.19.2 +Requires: python-numpy >= 1.14 +Requires: python-pandas >= 0.24 Recommends: python-scipy Provides: python-xray = %{version} Obsoletes: python-xray < %{version} @@ -67,7 +68,7 @@ The dataset is an in-memory representation of a netCDF file. %check # Tests are xfail on aarch64: gh#pydata/xarray#2334 -%pytest -k "not test_datetime_reduce and not test_roundtrip_numpy_datetime_data and not test_download_from_github" +%pytest -k "not test_datetime_reduce and not test_roundtrip_numpy_datetime_data and not test_download_from_github" xarray %files %{python_files} %doc README.rst diff --git a/xarray-0.13.0.tar.gz b/xarray-0.13.0.tar.gz deleted file mode 100644 index 685b2ed..0000000 --- a/xarray-0.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80e5746ffdebb96b997dba0430ff02d98028ef3828e6db6106cbbd6d62e32825 -size 1821280 diff --git a/xarray-0.14.0.tar.gz b/xarray-0.14.0.tar.gz new file mode 100644 index 0000000..47f8093 --- /dev/null +++ b/xarray-0.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8b93e1b0af27fa7de199a2d36933f1f5acc9854783646b0f1b37fed9b4da091 +size 1831781