1
0
forked from pool/python-xarray

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
This commit is contained in:
Sebastian Wagner 2019-10-24 20:10:08 +00:00 committed by Git OBS Bridge
parent 4df9058ab5
commit 6d9a3949fe
4 changed files with 44 additions and 10 deletions

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Thu Oct 24 19:52:12 UTC 2019 - Todd R <toddrme2178@gmail.com>
- 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 <arun@gmx.de>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80e5746ffdebb96b997dba0430ff02d98028ef3828e6db6106cbbd6d62e32825
size 1821280

3
xarray-0.14.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8b93e1b0af27fa7de199a2d36933f1f5acc9854783646b0f1b37fed9b4da091
size 1831781