From 3cd7acab456f1c17fdfa4c11736c2f9c3dae7784899a548443c651963e173e07 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 2 Nov 2021 20:27:46 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=20version=200.20.0:=20=20-=20Th?= =?UTF-8?q?is=20release=20brings=20improved=20support=20for=20pint=20array?= =?UTF-8?q?s,=20methods=20for=20weighted=20standard=20deviation,=20varianc?= =?UTF-8?q?e,:=20=20-=20and=20sum=20of=20squares,=20the=20option=20to=20di?= =?UTF-8?q?sable=20the=20use=20of=20the=20bottleneck=20library,=20signific?= =?UTF-8?q?antly=20improved=20performance=20of:=20=20-=20unstack,=20as=20w?= =?UTF-8?q?ell=20as=20many=20bugfixes=20and=20internal=20changes.:=20=20-?= =?UTF-8?q?=20Many=20thanks=20to=20the=2038=20contributors=20to=20this=20r?= =?UTF-8?q?elease!:=20=20-=20Aaron=20Spring,=20Akio=20Taniguchi,=20Alan=20?= =?UTF-8?q?D.=20Snow,=20arfy=20slowy,=20Benoit=20Bovy,=20Christian=20Jauvi?= =?UTF-8?q?n,=20crusaderky,=20Deepak=20Cherian,:=20=20-=20Giacomo=20Caria,?= =?UTF-8?q?=20Illviljan,=20James=20Bourbeau,=20Joe=20Hamman,=20Joseph=20K?= =?UTF-8?q?=20Aicher,=20Julien=20Herzen,=20Kai=20M=C3=BChlbauer,:=20=20-?= =?UTF-8?q?=20keewis,=20lusewell,=20Martin=20K.=20Scherer,=20Mathias=20Hau?= =?UTF-8?q?ser,=20Max=20Grover,=20Maxime=20Liquet,=20Maximilian=20Roos,=20?= =?UTF-8?q?Mike=20Taves,=20pmav99,:=20=20-=20Pushkar=20Kopparla,=20Ray=20B?= =?UTF-8?q?ell,=20Rio=20McMahon,=20Scott=20Staniewicz,=20Spencer=20Clark,?= =?UTF-8?q?=20Stefan=20Bender,=20Taher=20Chegini,=20Thomas=20Nicholas,:=20?= =?UTF-8?q?=20-=20Tomas=20Chor,=20Tom=20Augspurger,=20Victor=20Neg=C3=AErn?= =?UTF-8?q?eac,=20Zachary=20Moon,=20and=20Zeb=20Nicholls.:=20=20-=20New=20?= =?UTF-8?q?Features:=20=20=20-=20Add=20``std``,=20``var``,=20=20``sum=5Fof?= =?UTF-8?q?=5Fsquares``=20to=20:py:class:`~core.weighted.DatasetWeighted`?= =?UTF-8?q?=20and=20:py:class:`~core.weighted.DataArrayWeighted`.=20=20=20?= =?UTF-8?q?=20=20By=20`Christian=20Jauvin=20`?= =?UTF-8?q?=5F.=20=20=20-=20Added=20a=20:py:func:`get=5Foptions`=20method?= =?UTF-8?q?=20to=20xarray's=20root=20namespace=20(:issue:`5698`,=20:pull:`?= =?UTF-8?q?5716`)=20=20=20=20=20By=20`Pushkar=20Kopparla=20`=5F.=20=20=20-=20Xarray=20now=20does=20a=20bett?= =?UTF-8?q?er=20job=20rendering=20variable=20names=20that=20are=20long=20L?= =?UTF-8?q?aTeX=20sequences=20when=20plotting=20(:issue:`5681`,=20:pull:`5?= =?UTF-8?q?682`).=20=20=20=20=20By=20`Tomas=20Chor=20`=5F.=20=20=20-=20Add=20an=20option=20(``"use=5Fbottlene?= =?UTF-8?q?ck"``)=20to=20disable=20the=20use=20of=20``bottleneck``=20using?= =?UTF-8?q?=20:py:func:`set=5Foptions`=20(:pull:`5560`)=20=20=20=20=20By?= =?UTF-8?q?=20`Justus=20Magin=20`=5F.=20=20=20-?= =?UTF-8?q?=20Added=20``**kwargs``=20argument=20to=20:py:meth:`open=5Frast?= =?UTF-8?q?erio`=20to=20access=20overviews=20(:issue:`3269`).=20=20=20=20?= =?UTF-8?q?=20By=20`Pushkar=20Kopparla=20`?= =?UTF-8?q?=5F.=20=20=20-=20Added=20``storage=5Foptions``=20argument=20to?= =?UTF-8?q?=20:py:meth:`to=5Fzarr`=20(:issue:`5601`).=20=20=20=20=20By=20`?= =?UTF-8?q?Ray=20Bell=20`=5F,=20`Zachary?= =?UTF-8?q?=20Blackwood=20`=5F=20and=20=20=20?= =?UTF-8?q?=20=20`Nathan=20Lis=20`=5F.=20=20?= =?UTF-8?q?=20-=20Histogram=20plots=20are=20set=20with=20a=20title=20displ?= =?UTF-8?q?aying=20the=20scalar=20coords=20if=20any,=20similarly=20to=20th?= =?UTF-8?q?e=20other=20plots=20(:issue:`5791`,=20:pull:`5792`).=20=20=20?= =?UTF-8?q?=20=20By=20`Maxime=20Liquet=20`=5F.?= =?UTF-8?q?=20=20=20-=20Slice=20plots=20display=20the=20coords=20units=20i?= =?UTF-8?q?n=20the=20same=20way=20as=20x/y/colorbar=20labels=20(:pull:`584?= =?UTF-8?q?7`).=20=20=20=20=20By=20`Victor=20Neg=C3=AErneac=20`=5F.=20=20=20-=20Added=20a=20new=20:py:attr:?= =?UTF-8?q?`Dataset.chunksizes`,=20:py:attr:`DataArray.chunksizes`,=20and?= =?UTF-8?q?=20:py:attr:`Variable.chunksizes`=20=20=20=20=20property,=20whi?= =?UTF-8?q?ch=20will=20always=20return=20a=20mapping=20from=20dimension=20?= =?UTF-8?q?names=20to=20chunking=20pattern=20along=20that=20dimension,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=59 --- python-xarray.changes | 125 ++++++++++++++++++++++++++++++++++++++++++ python-xarray.spec | 25 +++++---- xarray-0.19.0.tar.gz | 3 - xarray-0.20.0.tar.gz | 3 + 4 files changed, 142 insertions(+), 14 deletions(-) delete mode 100644 xarray-0.19.0.tar.gz create mode 100644 xarray-0.20.0.tar.gz diff --git a/python-xarray.changes b/python-xarray.changes index ec347a4..28df41c 100644 --- a/python-xarray.changes +++ b/python-xarray.changes @@ -1,3 +1,128 @@ +------------------------------------------------------------------- +Tue Nov 2 19:44:34 UTC 2021 - Sebastian Wagner + +- update to version 0.20.0: + - This release brings improved support for pint arrays, methods for weighted standard deviation, variance,: + - and sum of squares, the option to disable the use of the bottleneck library, significantly improved performance of: + - unstack, as well as many bugfixes and internal changes.: + - Many thanks to the 38 contributors to this release!: + - Aaron Spring, Akio Taniguchi, Alan D. Snow, arfy slowy, Benoit Bovy, Christian Jauvin, crusaderky, Deepak Cherian,: + - Giacomo Caria, Illviljan, James Bourbeau, Joe Hamman, Joseph K Aicher, Julien Herzen, Kai Mühlbauer,: + - keewis, lusewell, Martin K. Scherer, Mathias Hauser, Max Grover, Maxime Liquet, Maximilian Roos, Mike Taves, pmav99,: + - Pushkar Kopparla, Ray Bell, Rio McMahon, Scott Staniewicz, Spencer Clark, Stefan Bender, Taher Chegini, Thomas Nicholas,: + - Tomas Chor, Tom Augspurger, Victor Negîrneac, Zachary Moon, and Zeb Nicholls.: + - New Features: + - Add ``std``, ``var``, ``sum_of_squares`` to :py:class:`~core.weighted.DatasetWeighted` and :py:class:`~core.weighted.DataArrayWeighted`. + By `Christian Jauvin `_. + - Added a :py:func:`get_options` method to xarray's root namespace (:issue:`5698`, :pull:`5716`) + By `Pushkar Kopparla `_. + - Xarray now does a better job rendering variable names that are long LaTeX sequences when plotting (:issue:`5681`, :pull:`5682`). + By `Tomas Chor `_. + - Add an option (``"use_bottleneck"``) to disable the use of ``bottleneck`` using :py:func:`set_options` (:pull:`5560`) + By `Justus Magin `_. + - Added ``**kwargs`` argument to :py:meth:`open_rasterio` to access overviews (:issue:`3269`). + By `Pushkar Kopparla `_. + - Added ``storage_options`` argument to :py:meth:`to_zarr` (:issue:`5601`). + By `Ray Bell `_, `Zachary Blackwood `_ and + `Nathan Lis `_. + - Histogram plots are set with a title displaying the scalar coords if any, similarly to the other plots (:issue:`5791`, :pull:`5792`). + By `Maxime Liquet `_. + - Slice plots display the coords units in the same way as x/y/colorbar labels (:pull:`5847`). + By `Victor Negîrneac `_. + - Added a new :py:attr:`Dataset.chunksizes`, :py:attr:`DataArray.chunksizes`, and :py:attr:`Variable.chunksizes` + property, which will always return a mapping from dimension names to chunking pattern along that dimension, + regardless of whether the object is a Dataset, DataArray, or Variable. (:issue:`5846`, :pull:`5900`) + By `Tom Nicholas `_. + - Breaking changes: + - The minimum versions of some dependencies were changed: + =============== ====== ==== + Package Old New + =============== ====== ==== + cftime 1.1 1.2 + dask 2.15 2.30 + distributed 2.15 2.30 + lxml 4.5 4.6 + matplotlib-base 3.2 3.3 + numba 0.49 0.51 + numpy 1.17 1.18 + pandas 1.0 1.1 + pint 0.15 0.16 + scipy 1.4 1.5 + seaborn 0.10 0.11 + sparse 0.8 0.11 + toolz 0.10 0.11 + zarr 2.4 2.5 + =============== ====== ==== + - The ``__repr__`` of a :py:class:`xarray.Dataset`'s ``coords`` and ``data_vars`` + ignore ``xarray.set_option(display_max_rows=...)`` and show the full output + when called directly as, e.g., ``ds.data_vars`` or ``print(ds.data_vars)`` + (:issue:`5545`, :pull:`5580`). + By `Stefan Bender `_. + - Deprecations: + - Deprecate :py:func:`open_rasterio` (:issue:`4697`, :pull:`5808`). + By `Alan Snow `_. + - Set the default argument for `roll_coords` to `False` for :py:meth:`DataArray.roll` + and :py:meth:`Dataset.roll`. (:pull:`5653`) + By `Tom Nicholas `_. + - :py:meth:`xarray.open_mfdataset` will now error instead of warn when a value for ``concat_dim`` is + passed alongside ``combine='by_coords'``. + By `Tom Nicholas `_. + - Bug fixes: + - Fix ZeroDivisionError from saving dask array with empty dimension (:issue: `5741`). + By `Joseph K Aicher `_. + - Fixed performance bug where ``cftime`` import attempted within various core operations if ``cftime`` not + installed (:pull:`5640`). + By `Luke Sewell `_ + - Fixed bug when combining named DataArrays using :py:func:`combine_by_coords`. (:pull:`5834`). + By `Tom Nicholas `_. + - When a custom engine was used in :py:func:`~xarray.open_dataset` the engine + wasn't initialized properly, causing missing argument errors or inconsistent + method signatures. (:pull:`5684`) + By `Jimmy Westling `_. + - Numbers are properly formatted in a plot's title (:issue:`5788`, :pull:`5789`). + By `Maxime Liquet `_. + - Faceted plots will no longer raise a `pint.UnitStrippedWarning` when a `pint.Quantity` array is plotted, + and will correctly display the units of the data in the colorbar (if there is one) (:pull:`5886`). + By `Tom Nicholas `_. + - With backends, check for path-like objects rather than ``pathlib.Path`` + type, use ``os.fspath`` (:pull:`5879`). + By `Mike Taves `_. + - ``open_mfdataset()`` now accepts a single ``pathlib.Path`` object (:issue: `5881`). + By `Panos Mavrogiorgos `_. + - Improved performance of :py:meth:`Dataset.unstack` (:pull:`5906`). By `Tom Augspurger `_. + - Documentation: + - Users are instructed to try ``use_cftime=True`` if a ``TypeError`` occurs when combining datasets and one of the types involved is a subclass of ``cftime.datetime`` (:pull:`5776`). + By `Zeb Nicholls `_. + - A clearer error is now raised if a user attempts to assign a Dataset to a single key of + another Dataset. (:pull:`5839`) + By `Tom Nicholas `_. + - Internal Changes: + - Explicit indexes refactor: avoid ``len(index)`` in ``map_blocks`` (:pull:`5670`). + By `Deepak Cherian `_. + - Explicit indexes refactor: decouple ``xarray.Index``` from ``xarray.Variable`` (:pull:`5636`). + By `Benoit Bovy `_. + - Fix ``Mapping`` argument typing to allow mypy to pass on ``str`` keys (:pull:`5690`). + By `Maximilian Roos `_. + - Annotate many of our tests, and fix some of the resulting typing errors. This will + also mean our typing annotations are tested as part of CI. (:pull:`5728`). + By `Maximilian Roos `_. + - Improve the performance of reprs for large datasets or dataarrays. (:pull:`5661`) + By `Jimmy Westling `_. + - Use isort's `float_to_top` config. (:pull:`5695`). + By `Maximilian Roos `_. + - Remove use of the deprecated ``kind`` argument in + :py:meth:`pandas.Index.get_slice_bound` inside :py:class:`xarray.CFTimeIndex` + tests (:pull:`5723`). By `Spencer Clark `_. + - Refactor `xarray.core.duck_array_ops` to no longer special-case dispatching to + dask versions of functions when acting on dask arrays, instead relying numpy + and dask's adherence to NEP-18 to dispatch automatically. (:pull:`5571`) + By `Tom Nicholas `_. + - Add an ASV benchmark CI and improve performance of the benchmarks (:pull:`5796`) + By `Jimmy Westling `_. + - Use ``importlib`` to replace functionality of ``pkg_resources`` such + as version setting and loading of resources. (:pull:`5845`). + By `Martin K. Scherer `_. + ------------------------------------------------------------------- Tue Sep 21 10:38:39 UTC 2021 - Ben Greiner diff --git a/python-xarray.spec b/python-xarray.spec index 7ff7b55..b5d239d 100644 --- a/python-xarray.spec +++ b/python-xarray.spec @@ -21,7 +21,7 @@ # NEP 29: Numpy 1.20 dropped support for Python 3.6, python36-numpy is removed from Tumbleweed. xarray will follow on next release %define skip_python36 1 Name: python-xarray -Version: 0.19.0 +Version: 0.20.0 Release: 0 Summary: N-D labeled arrays and datasets in Python License: Apache-2.0 @@ -33,9 +33,9 @@ Patch0: local_dataset.patch # PATCH-FIX-UPSTREAM scipy-interpolate.patch gh#pydata/xarray#5375 mcepl@suse.com # Add missing import scipy.interpolate Patch1: scipy-interpolate.patch -BuildRequires: %{python_module numpy >= 1.15} +BuildRequires: %{python_module numpy >= 1.18} BuildRequires: %{python_module numpy-devel >= 1.14} -BuildRequires: %{python_module pandas >= 0.25} +BuildRequires: %{python_module pandas >= 1.1} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -45,27 +45,30 @@ Requires: python-pandas >= 0.25 Provides: python-xray = %{version} Obsoletes: python-xray < %{version} BuildArch: noarch -Suggests: python-dask-all +Suggests: python-dask-all >= 2.30 # SECTION extras accel -Recommends: python-scipy >= 1.3 +Recommends: python-scipy >= 1.5 Recommends: python-bottleneck -Recommends: python-numbagg +Recommends: python-numbagg >= 0.51 # /SECTION # SECTION extras viz -Suggests: python-matplotlib -Suggests: python-seaborn +Suggests: python-matplotlib >= 3.3 +Suggests: python-seaborn >= 0.11 Suggests: python-nc-time-axis #/SECTION # SECTION extras io Suggests: python-netCDF4 Suggests: python-h5netcdf -Suggests: python-scipy Suggests: python-pydap -Suggests: python-zarr +Suggests: python-zarr >= 2.5 Suggests: python-fsspec -Suggests: python-cftime +Suggests: python-cftime >= 1.2 Suggests: python-rasterio Suggests: python-cfgrib +Suggests: python-distributed >= 2.30 +Suggests: python-pint >= 0.16 +Suggests: python-sparse >= 0.11 +Suggests: python-toolz >= 0.11 #/SECTION # SECTION tests BuildRequires: %{python_module dask-dataframe} diff --git a/xarray-0.19.0.tar.gz b/xarray-0.19.0.tar.gz deleted file mode 100644 index 1621fcb..0000000 --- a/xarray-0.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a365ce09127fc841ba88baa63f37ca61376ffe389a6c5e66d52f2c88c23a62b -size 2882403 diff --git a/xarray-0.20.0.tar.gz b/xarray-0.20.0.tar.gz new file mode 100644 index 0000000..9d4c0b1 --- /dev/null +++ b/xarray-0.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ea93274868f78c46332fc3b75f4628f6d99e59a0315e294a99397ad1eb777a5 +size 2896515