commit python-xarray for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-xarray for openSUSE:Factory checked in at 2019-07-08 15:11:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xarray (Old) and /work/SRC/openSUSE:Factory/.python-xarray.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-xarray" Mon Jul 8 15:11:35 2019 rev:12 rq:713835 version:0.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xarray/python-xarray.changes 2019-06-01 09:46:41.179381917 +0200 +++ /work/SRC/openSUSE:Factory/.python-xarray.new.4615/python-xarray.changes 2019-07-08 15:11:36.507378676 +0200 @@ -1,0 +2,136 @@ +Sun Jun 30 09:29:36 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at> + +- update to version 0.12.2: + - New functions/methods: + - Two new functions, :py:func:`~xarray.combine_nested` and + :py:func:`~xarray.combine_by_coords`, allow for combining datasets along any + number of dimensions, instead of the one-dimensional list of datasets + supported by :py:func:`~xarray.concat`. + The new ``combine_nested`` will accept the datasets as a nested + list-of-lists, and combine by applying a series of concat and merge + operations. The new ``combine_by_coords`` instead uses the dimension + coordinates of datasets to order them. + :py:func:`~xarray.open_mfdataset` can use either ``combine_nested`` or + ``combine_by_coords`` to combine datasets along multiple dimensions, by + specifying the argument ``combine='nested'`` or ``combine='by_coords'``. + The older function :py:func:`~xarray.auto_combine` has been deprecated, + because its functionality has been subsumed by the new functions. + To avoid FutureWarnings switch to using ``combine_nested`` or + ``combine_by_coords``, (or set the ``combine`` argument in + ``open_mfdataset``). (:issue:`2159`) + By `Tom Nicholas <http://github.com/TomNicholas>`_. + - :py:meth:`~xarray.DataArray.rolling_exp` and + :py:meth:`~xarray.Dataset.rolling_exp` added, similar to pandas' + ``pd.DataFrame.ewm`` method. Calling ``.mean`` on the resulting object + will return an exponentially weighted moving average. + By `Maximilian Roos <https://github.com/max-sixty>`_. + - New :py:func:`DataArray.str <core.accessor_str.StringAccessor>` for string + related manipulations, based on ``pandas.Series.str``. + By `0x0L <https://github.com/0x0L>`_. + - Added ``strftime`` method to ``.dt`` accessor, making it simpler to hand a + datetime ``DataArray`` to other code expecting formatted dates and times. + (:issue:`2090`). :py:meth:`~xarray.CFTimeIndex.strftime` is also now + available on :py:class:`CFTimeIndex`. + By `Alan Brammer <https://github.com/abrammer>`_ and + `Ryan May <https://github.com/dopplershift>`_. + - :py:meth:`~xarray.core.GroupBy.quantile` is now a method of ``GroupBy`` + objects (:issue:`3018`). + By `David Huard <https://github.com/huard>`_. + - Argument and return types are added to most methods on ``DataArray`` and + ``Dataset``, allowing static type checking both within xarray and external + libraries. Type checking with `mypy <http://mypy-lang.org/>`_ is enabled in + CI (though not required yet). + By `Guido Imperiale <https://github.com/crusaderky>`_ + and `Maximilian Roos <https://github.com/max-sixty>`_. + - Enhancements to existing functionality: + - Add ``keepdims`` argument for reduce operations (:issue:`2170`) + By `Scott Wales <https://github.com/ScottWales>`_. + - Enable ``@`` operator for DataArray. This is equivalent to :py:meth:`DataArray.dot` + By `Maximilian Roos <https://github.com/max-sixty>`_. + - Add ``fill_value`` argument for reindex, align, and merge operations + to enable custom fill values. (:issue:`2876`) + By `Zach Griffith <https://github.com/zdgriffith>`_. + - :py:meth:`DataArray.transpose` now accepts a keyword argument + ``transpose_coords`` which enables transposition of coordinates in the + same way as :py:meth:`Dataset.transpose`. :py:meth:`DataArray.groupby` + :py:meth:`DataArray.groupby_bins`, and :py:meth:`DataArray.resample` now + accept a keyword argument ``restore_coord_dims`` which keeps the order + of the dimensions of multi-dimensional coordinates intact (:issue:`1856`). + By `Peter Hausamann <http://github.com/phausamann>`_. + - Better warning message when supplying invalid objects to ``xr.merge`` + (:issue:`2948`). By `Mathias Hauser <https://github.com/mathause>`_. + - Add ``errors`` keyword argument to :py:meth:`Dataset.drop` and :py:meth:`Dataset.drop_dims` + that allows ignoring errors if a passed label or dimension is not in the dataset + (:issue:`2994`). + By `Andrew Ross <https://github.com/andrew-c-ross>`_. + - IO related enhancements: + - Implement :py:func:`~xarray.load_dataset` and + :py:func:`~xarray.load_dataarray` as alternatives to + :py:func:`~xarray.open_dataset` and :py:func:`~xarray.open_dataarray` to + open, load into memory, and close files, returning the Dataset or DataArray. + These functions are helpful for avoiding file-lock errors when trying to + write to files opened using ``open_dataset()`` or ``open_dataarray()``. + (:issue:`2887`) + By `Dan Nowacki <https://github.com/dnowacki-usgs>`_. + - It is now possible to extend existing :ref:`io.zarr` datasets, by using + ``mode='a'`` and the new ``append_dim`` argument in + :py:meth:`~xarray.Dataset.to_zarr`. + By `Jendrik Jördening <https://github.com/jendrikjoe>`_, + `David Brochart <https://github.com/davidbrochart>`_, + `Ryan Abernathey <https://github.com/rabernat>`_ and + `Shikhar Goenka <https://github.com/shikharsg>`_. + - ``xr.open_zarr`` now accepts manually specified chunks with the ``chunks=`` + parameter. ``auto_chunk=True`` is equivalent to ``chunks='auto'`` for + backwards compatibility. The ``overwrite_encoded_chunks`` parameter is + added to remove the original zarr chunk encoding. + By `Lily Wang <https://github.com/lilyminium>`_. + - netCDF chunksizes are now only dropped when original_shape is different, + not when it isn't found. (:issue:`2207`) + By `Karel van de Plassche <https://github.com/Karel-van-de-Plassche>`_. + - Character arrays' character dimension name decoding and encoding handled by + ``var.encoding['char_dim_name']`` (:issue:`2895`) + By `James McCreight <https://github.com/jmccreight>`_. + - open_rasterio() now supports rasterio.vrt.WarpedVRT with custom transform, + width and height (:issue:`2864`). + By `Julien Michel <https://github.com/jmichel-otb>`_. + - Bug fixes: + - Rolling operations on xarray objects containing dask arrays could silently + compute the incorrect result or use large amounts of memory (:issue:`2940`). + By `Stephan Hoyer <https://github.com/shoyer>`_. + - Don't set encoding attributes on bounds variables when writing to netCDF. + (:issue:`2921`) + By `Deepak Cherian <https://github.com/dcherian>`_. + - NetCDF4 output: variables with unlimited dimensions must be chunked (not + contiguous) on output. (:issue:`1849`) + By `James McCreight <https://github.com/jmccreight>`_. + - indexing with an empty list creates an object with zero-length axis (:issue:`2882`) + By `Mayeul d'Avezac <https://github.com/mdavezac>`_. + - Return correct count for scalar datetime64 arrays (:issue:`2770`) + By `Dan Nowacki <https://github.com/dnowacki-usgs>`_. + - Fixed max, min exception when applied to a multiIndex (:issue:`2923`) + By `Ian Castleden <https://github.com/arabidopsis>`_ + - A deep copy deep-copies the coords (:issue:`1463`) + By `Martin Pletcher <https://github.com/pletchm>`_. + - Increased support for `missing_value` (:issue:`2871`) + By `Deepak Cherian <https://github.com/dcherian>`_. + - Removed usages of `pytest.config`, which is deprecated (:issue:`2988`) + By `Maximilian Roos <https://github.com/max-sixty>`_. + - Fixed performance issues with cftime installed (:issue:`3000`) + By `0x0L <https://github.com/0x0L>`_. + - Test suite fixes for newer versions of pytest (:issue:`3011`, :issue:`3032`). + By `Maximilian Roos <https://github.com/max-sixty>`_ + and `Stephan Hoyer <https://github.com/shoyer>`_. + - update to version 0.12.1: + - Enhancements: + - Allow ``expand_dims`` method to support inserting/broadcasting dimensions + with size > 1. (:issue:`2710`) + By `Martin Pletcher <https://github.com/pletchm>`_. + - Bug fixes: + - Dataset.copy(deep=True) now creates a deep copy of the attrs (:issue:`2835`). + By `Andras Gefferth <https://github.com/kefirbandi>`_. + - Fix incorrect ``indexes`` resulting from various ``Dataset`` operations + (e.g., ``swap_dims``, ``isel``, ``reindex``, ``[]``) (:issue:`2842`, + :issue:`2856`). + By `Stephan Hoyer <https://github.com/shoyer>`_. + +------------------------------------------------------------------- Old: ---- xarray-0.12.1.tar.gz New: ---- xarray-0.12.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xarray.spec ++++++ --- /var/tmp/diff_new_pack.w2gt5t/_old 2019-07-08 15:11:37.691379812 +0200 +++ /var/tmp/diff_new_pack.w2gt5t/_new 2019-07-08 15:11:37.691379812 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-xarray -Version: 0.12.1 +Version: 0.12.2 Release: 0 Summary: N-D labeled arrays and datasets in Python License: Apache-2.0 @@ -66,7 +66,7 @@ %check # Tests are xfail on aarch64: gh#pydata/xarray#2334 -%pytest -k "not test_datetime_reduce and not test_roundtrip_numpy_datetime_data" +%pytest -k "not test_datetime_reduce and not test_roundtrip_numpy_datetime_data and not test_download_from_github" %files %{python_files} %doc README.rst ++++++ xarray-0.12.1.tar.gz -> xarray-0.12.2.tar.gz ++++++ ++++ 17514 lines of diff (skipped)
participants (1)
-
root