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:
parent
4df9058ab5
commit
6d9a3949fe
@ -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>
|
Sat Sep 21 19:53:35 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -19,20 +19,21 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-xarray
|
Name: python-xarray
|
||||||
Version: 0.13.0
|
Version: 0.14.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: N-D labeled arrays and datasets in Python
|
Summary: N-D labeled arrays and datasets in Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/pydata/xarray
|
URL: https://github.com/pydata/xarray
|
||||||
Source: https://files.pythonhosted.org/packages/source/x/xarray/xarray-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/x/xarray/xarray-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.12}
|
BuildRequires: %{python_module numpy-devel >= 1.14}
|
||||||
BuildRequires: %{python_module pandas >= 0.19.2}
|
BuildRequires: %{python_module numpy >= 1.14}
|
||||||
|
BuildRequires: %{python_module pandas >= 0.24}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-numpy >= 1.12
|
Requires: python-numpy >= 1.14
|
||||||
Requires: python-pandas >= 0.19.2
|
Requires: python-pandas >= 0.24
|
||||||
Recommends: python-scipy
|
Recommends: python-scipy
|
||||||
Provides: python-xray = %{version}
|
Provides: python-xray = %{version}
|
||||||
Obsoletes: python-xray < %{version}
|
Obsoletes: python-xray < %{version}
|
||||||
@ -67,7 +68,7 @@ The dataset is an in-memory representation of a netCDF file.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# Tests are xfail on aarch64: gh#pydata/xarray#2334
|
# 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}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
@ -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
3
xarray-0.14.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a8b93e1b0af27fa7de199a2d36933f1f5acc9854783646b0f1b37fed9b4da091
|
||||||
|
size 1831781
|
Loading…
x
Reference in New Issue
Block a user