From 548007d0243c082ce87871d54124092e42eee8f7b85096375a1d8f30ecfd74b4 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 13 Dec 2023 18:22:40 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=20version=202023.12.0:=20=20-?= =?UTF-8?q?=20This=20release=20brings=20new=20`hypothesis=20`=5F=20strategies=20for=20testing,=20significantly?= =?UTF-8?q?=20faster=20rolling=20aggregations=20as=20well=20as:=20``ffill`?= =?UTF-8?q?`=20and=20``bfill``=20with=20``numbagg``,=20a=20new=20:py:meth:?= =?UTF-8?q?`Dataset.eval`=20method,=20and=20improvements=20to=20=20-=20rea?= =?UTF-8?q?ding=20and=20writing=20Zarr=20arrays=20(including=20a=20new=20`?= =?UTF-8?q?`"a-"``=20mode).:=20=20-=20Thanks=20to=20our=2016=20contributor?= =?UTF-8?q?s:=20=20-=20Anderson=20Banihirwe,=20Ben=20Mares,=20Carl=20Ander?= =?UTF-8?q?sson,=20Deepak=20Cherian,=20Doug=20Latornell,=20Gregorio=20L.?= =?UTF-8?q?=20Trevisan,=20Illviljan,=20Jens=20Hedegaard=20Nielsen,=20Justu?= =?UTF-8?q?s=20Magin,=20Mathias=20Hauser,=20Max=20Jones,=20Maximilian=20Ro?= =?UTF-8?q?os,=20Michael=20Niklas,=20Patrick=20Hoefler,=20Ryan=20Abernathe?= =?UTF-8?q?y,=20Tom=20Nicholas:=20=20-=20New=20Features:=20=20=20-=20Added?= =?UTF-8?q?=20hypothesis=20strategies=20for=20generating=20:py:class:`xarr?= =?UTF-8?q?ay.Variable`=20objects=20containing=20arbitrary=20data,=20usefu?= =?UTF-8?q?l=20for=20parametrizing=20downstream=20tests.=20=20=20=20=20Acc?= =?UTF-8?q?essible=20under=20:py:mod:`testing.strategies`,=20and=20documen?= =?UTF-8?q?ted=20in=20a=20new=20page=20on=20testing=20in=20the=20User=20Gu?= =?UTF-8?q?ide.=20=20=20=20=20(:issue:`6911`,=20:pull:`8404`)=20=20=20=20?= =?UTF-8?q?=20By=20`Tom=20Nicholas=20`=5F.?= =?UTF-8?q?=20=20=20-=20:py:meth:`rolling`=20uses=20`numbagg=20`=5F=20for=20=20=20=20=20most=20of=20i?= =?UTF-8?q?ts=20computations=20by=20default.=20Numbagg=20is=20up=20to=205x?= =?UTF-8?q?=20faster=20than=20bottleneck=20=20=20=20=20where=20paralleliza?= =?UTF-8?q?tion=20is=20possible.=20Where=20parallelization=20isn't=20possi?= =?UTF-8?q?ble=20=E2=80=94=20for=20=20=20=20=20example=20a=201D=20array=20?= =?UTF-8?q?=E2=80=94=20it's=20about=20the=20same=20speed=20as=20bottleneck?= =?UTF-8?q?,=20and=202-5x=20faster=20=20=20=20=20than=20pandas'=20default?= =?UTF-8?q?=20functions.=20(:pull:`8493`).=20numbagg=20is=20an=20optional?= =?UTF-8?q?=20=20=20=20=20dependency,=20so=20requires=20installing=20separ?= =?UTF-8?q?ately.=20=20=20=20=20By=20`Maximilian=20Roos=20`=5F.=20=20=20-=20Use=20a=20concise=20format=20wh?= =?UTF-8?q?en=20plotting=20datetime=20arrays.=20(:pull:`8449`).=20=20=20?= =?UTF-8?q?=20=20By=20`Jimmy=20Westling=20`?= =?UTF-8?q?=5F.=20=20=20-=20Avoid=20overwriting=20unchanged=20existing=20c?= =?UTF-8?q?oordinate=20variables=20when=20appending=20with=20:py:meth:`Dat?= =?UTF-8?q?aset.to=5Fzarr`=20by=20setting=20``mode=3D'a-'``.=20=20=20=20?= =?UTF-8?q?=20By=20`Ryan=20Abernathey=20`=5F?= =?UTF-8?q?=20and=20`Deepak=20Cherian=20`=5F.?= =?UTF-8?q?=20=20=20-=20:py:meth:`~xarray.DataArray.rank`=20now=20operates?= =?UTF-8?q?=20on=20dask-backed=20arrays,=20assuming=20=20=20=20=20the=20co?= =?UTF-8?q?re=20dim=20has=20exactly=20one=20chunk.=20(:pull:`8475`).=20=20?= =?UTF-8?q?=20=20=20By=20`Maximilian=20Roos=20`=5F.=20=20=20-=20Add=20a=20:py:meth:`Dataset.eval`=20method,?= =?UTF-8?q?=20similar=20to=20the=20pandas'=20method=20of=20the=20=20=20=20?= =?UTF-8?q?=20same=20name.=20(:pull:`7163`).=20This=20is=20currently=20mar?= =?UTF-8?q?ked=20as=20experimental=20and=20=20=20=20=20doesn't=20yet=20sup?= =?UTF-8?q?port=20the=20``numexpr``=20engine.=20=20=20-=20:py:meth:`Datase?= =?UTF-8?q?t.drop=5Fvars`=20&=20:py:meth:`DataArray.drop=5Fvars`=20allow?= =?UTF-8?q?=20passing=20a=20=20=20=20=20callable,=20similar=20to=20:py:met?= =?UTF-8?q?h:`Dataset.where`=20&=20:py:meth:`Dataset.sortby`=20&=20others.?= 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=84 --- python-xarray.changes | 332 +++++++++++++++++++++++++++++++++++++++- python-xarray.spec | 8 +- xarray-2023.12.0.tar.gz | 3 + xarray-2023.8.0.tar.gz | 3 - 4 files changed, 338 insertions(+), 8 deletions(-) create mode 100644 xarray-2023.12.0.tar.gz delete mode 100644 xarray-2023.8.0.tar.gz diff --git a/python-xarray.changes b/python-xarray.changes index 201494f..f93d219 100644 --- a/python-xarray.changes +++ b/python-xarray.changes @@ -1,3 +1,334 @@ +------------------------------------------------------------------- +Wed Dec 13 17:02:28 UTC 2023 - Sebastian Wagner + +- update to version 2023.12.0: + - This release brings new `hypothesis `_ strategies for testing, significantly faster rolling aggregations as well as: +``ffill`` and ``bfill`` with ``numbagg``, a new :py:meth:`Dataset.eval` method, and improvements to + - reading and writing Zarr arrays (including a new ``"a-"`` mode).: + - Thanks to our 16 contributors: + - Anderson Banihirwe, Ben Mares, Carl Andersson, Deepak Cherian, Doug Latornell, Gregorio L. Trevisan, Illviljan, Jens Hedegaard Nielsen, Justus Magin, Mathias Hauser, Max Jones, Maximilian Roos, Michael Niklas, Patrick Hoefler, Ryan Abernathey, Tom Nicholas: + - New Features: + - Added hypothesis strategies for generating :py:class:`xarray.Variable` objects containing arbitrary data, useful for parametrizing downstream tests. + Accessible under :py:mod:`testing.strategies`, and documented in a new page on testing in the User Guide. + (:issue:`6911`, :pull:`8404`) + By `Tom Nicholas `_. + - :py:meth:`rolling` uses `numbagg `_ for + most of its computations by default. Numbagg is up to 5x faster than bottleneck + where parallelization is possible. Where parallelization isn't possible — for + example a 1D array — it's about the same speed as bottleneck, and 2-5x faster + than pandas' default functions. (:pull:`8493`). numbagg is an optional + dependency, so requires installing separately. + By `Maximilian Roos `_. + - Use a concise format when plotting datetime arrays. (:pull:`8449`). + By `Jimmy Westling `_. + - Avoid overwriting unchanged existing coordinate variables when appending with :py:meth:`Dataset.to_zarr` by setting ``mode='a-'``. + By `Ryan Abernathey `_ and `Deepak Cherian `_. + - :py:meth:`~xarray.DataArray.rank` now operates on dask-backed arrays, assuming + the core dim has exactly one chunk. (:pull:`8475`). + By `Maximilian Roos `_. + - Add a :py:meth:`Dataset.eval` method, similar to the pandas' method of the + same name. (:pull:`7163`). This is currently marked as experimental and + doesn't yet support the ``numexpr`` engine. + - :py:meth:`Dataset.drop_vars` & :py:meth:`DataArray.drop_vars` allow passing a + callable, similar to :py:meth:`Dataset.where` & :py:meth:`Dataset.sortby` & others. + (:pull:`8511`). + By `Maximilian Roos `_. + - Breaking changes: + - Explicitly warn when creating xarray objects with repeated dimension names. + Such objects will also now raise when :py:meth:`DataArray.get_axis_num` is called, + which means many functions will raise. + This latter change is technically a breaking change, but whilst allowed, + this behaviour was never actually supported! (:issue:`3731`, :pull:`8491`) + By `Tom Nicholas `_. + - Deprecations: + - As part of an effort to standardize the API, we're renaming the ``dims`` + keyword arg to ``dim`` for the minority of functions which current use + ``dims``. This started with :py:func:`xarray.dot` & :py:meth:`DataArray.dot` + and we'll gradually roll this out across all functions. The warnings are + currently ``PendingDeprecationWarning``, which are silenced by default. We'll + convert these to ``DeprecationWarning`` in a future release. + By `Maximilian Roos `_. + - Raise a ``FutureWarning`` warning that the type of :py:meth:`Dataset.dims` will be changed + from a mapping of dimension names to lengths to a set of dimension names. + This is to increase consistency with :py:meth:`DataArray.dims`. + To access a mapping of dimension names to lengths please use :py:meth:`Dataset.sizes`. + The same change also applies to `DatasetGroupBy.dims`. + (:issue:`8496`, :pull:`8500`) + By `Tom Nicholas `_. + - :py:meth:`Dataset.drop` & :py:meth:`DataArray.drop` are now deprecated, since pending deprecation for + several years. :py:meth:`DataArray.drop_sel` & :py:meth:`DataArray.drop_var` + replace them for labels & variables respectively. (:pull:`8497`) + By `Maximilian Roos `_. + - Bug fixes: + - Fix dtype inference for ``pd.CategoricalIndex`` when categories are backed by a ``pd.ExtensionDtype`` (:pull:`8481`) + - Fix writing a variable that requires transposing when not writing to a region (:pull:`8484`) + By `Maximilian Roos `_. + - Static typing of ``p0`` and ``bounds`` arguments of :py:func:`xarray.DataArray.curvefit` and :py:func:`xarray.Dataset.curvefit` + was changed to ``Mapping`` (:pull:`8502`). + By `Michael Niklas `_. + - Fix typing of :py:func:`xarray.DataArray.to_netcdf` and :py:func:`xarray.Dataset.to_netcdf` + when ``compute`` is evaluated to bool instead of a Literal (:pull:`8268`). + By `Jens Hedegaard Nielsen `_. + - Documentation: + - Added illustration of updating the time coordinate values of a resampled dataset using + time offset arithmetic. + This is the recommended technique to replace the use of the deprecated ``loffset`` parameter + in ``resample`` (:pull:`8479`). + By `Doug Latornell `_. + - Improved error message when attempting to get a variable which doesn't exist from a Dataset. + (:pull:`8474`) + By `Maximilian Roos `_. + - Fix default value of ``combine_attrs`` in :py:func:`xarray.combine_by_coords` (:pull:`8471`) + By `Gregorio L. Trevisan `_. + - Internal Changes: + - :py:meth:`DataArray.bfill` & :py:meth:`DataArray.ffill` now use numbagg `_ by + default, which is up to 5x faster where parallelization is possible. (:pull:`8339`) + By `Maximilian Roos `_. + - Update mypy version to 1.7 (:issue:`8448`, :pull:`8501`). + By `Michael Niklas `_. +- update to version 2023.11.0: + `This is our 10th year anniversary release! `_ Thank you for your love and support. + - This release brings the ability to use ``opt_einsum`` for :py:func:`xarray.dot` by default,: + - support for auto-detecting ``region`` when writing partial datasets to Zarr, and the use of h5py: + - drivers with ``h5netcdf``.: + - Thanks to the 19 contributors to this release: + - Aman Bagrecha, Anderson Banihirwe, Ben Mares, Deepak Cherian, Dimitri Papadopoulos Orfanos, Ezequiel Cimadevilla Alvarez,: + - Illviljan, Justus Magin, Katelyn FitzGerald, Kai Muehlbauer, Martin Durant, Maximilian Roos, Metamess, Sam Levang, Spencer Clark, Tom Nicholas, mgunyho, templiert: + - New Features: + - Use `opt_einsum `_ for :py:func:`xarray.dot` by default if installed. + By `Deepak Cherian `_. (:issue:`7764`, :pull:`8373`). + - Add ``DataArray.dt.total_seconds()`` method to match the Pandas API. (:pull:`8435`). + By `Ben Mares `_. + - Allow passing ``region="auto"`` in :py:meth:`Dataset.to_zarr` to automatically infer the + region to write in the original store. Also implement automatic transpose when dimension + order does not match the original store. (:issue:`7702`, :issue:`8421`, :pull:`8434`). + By `Sam Levang `_. + - Allow the usage of h5py drivers (eg: ros3) via h5netcdf (:pull:`8360`). + By `Ezequiel Cimadevilla `_. + - Enable VLEN string fill_values, preserve VLEN string dtypes (:issue:`1647`, :issue:`7652`, :issue:`7868`, :pull:`7869`). + By `Kai Mühlbauer `_. + - Breaking changes: + - drop support for `cdms2 `_. Please use + `xcdat `_ instead (:pull:`8441`). + By `Justus Magin `_. + - Following pandas, :py:meth:`infer_freq` will return ``"Y"``, ``"YS"``, + ``"QE"``, ``"ME"``, ``"h"``, ``"min"``, ``"s"``, ``"ms"``, ``"us"``, or + ``"ns"`` instead of ``"A"``, ``"AS"``, ``"Q"``, ``"M"``, ``"H"``, ``"T"``, + ``"S"``, ``"L"``, ``"U"``, or ``"N"``. This is to be consistent with the + deprecation of the latter frequency strings (:issue:`8394`, :pull:`8415`). By + `Spencer Clark `_. + - Bump minimum tested pint version to ``>=0.22``. By `Deepak Cherian `_. + - Minimum supported versions for the following packages have changed: ``h5py >=3.7``, ``h5netcdf>=1.1``. + By `Kai Mühlbauer `_. + - Deprecations: + - The PseudoNetCDF backend has been removed. By `Deepak Cherian `_. + - Supplying dimension-ordered sequences to :py:meth:`DataArray.chunk` & + :py:meth:`Dataset.chunk` is deprecated in favor of supplying a dictionary of + dimensions, or a single ``int`` or ``"auto"`` argument covering all + dimensions. Xarray favors using dimensions names rather than positions, and + this was one place in the API where dimension positions were used. + (:pull:`8341`) + By `Maximilian Roos `_. + - Following pandas, the frequency strings ``"A"``, ``"AS"``, ``"Q"``, ``"M"``, + ``"H"``, ``"T"``, ``"S"``, ``"L"``, ``"U"``, and ``"N"`` are deprecated in + favor of ``"Y"``, ``"YS"``, ``"QE"``, ``"ME"``, ``"h"``, ``"min"``, ``"s"``, + ``"ms"``, ``"us"``, and ``"ns"``, respectively. These strings are used, for + example, in :py:func:`date_range`, :py:func:`cftime_range`, + :py:meth:`DataArray.resample`, and :py:meth:`Dataset.resample` among others + (:issue:`8394`, :pull:`8415`). By `Spencer Clark + `_. + - Rename :py:meth:`Dataset.to_array` to :py:meth:`Dataset.to_dataarray` for + consistency with :py:meth:`DataArray.to_dataset` & + :py:func:`open_dataarray` functions. This is a "soft" deprecation — the + existing methods work and don't raise any warnings, given the relatively small + benefits of the change. + By `Maximilian Roos `_. + - Finally remove ``keep_attrs`` kwarg from :py:meth:`DataArray.resample` and + :py:meth:`Dataset.resample`. These were deprecated a long time ago. + By `Deepak Cherian `_. + - Bug fixes: + - Port `bug fix from pandas `_ + to eliminate the adjustment of resample bin edges in the case that the + resampling frequency has units of days and is greater than one day + (e.g. ``"2D"``, ``"3D"`` etc.) and the ``closed`` argument is set to + ``"right"`` to xarray's implementation of resample for data indexed by a + :py:class:`CFTimeIndex` (:pull:`8393`). + By `Spencer Clark `_. + - Fix to once again support date offset strings as input to the loffset + parameter of resample and test this functionality (:pull:`8422`, :issue:`8399`). + By `Katelyn FitzGerald `_. + - Fix a bug where :py:meth:`DataArray.to_dataset` silently drops a variable + if a coordinate with the same name already exists (:pull:`8433`, :issue:`7823`). + By `András Gunyhó `_. + - Fix for :py:meth:`DataArray.to_zarr` & :py:meth:`Dataset.to_zarr` to close + the created zarr store when passing a path with `.zip` extension (:pull:`8425`). + By `Carl Andersson _`. + - Documentation: + - Small updates to documentation on distributed writes: See :ref:`io.zarr.appending` to Zarr. + By `Deepak Cherian `_. +- update to version 2023.10.1: + - This release updates our minimum numpy version in ``pyproject.toml`` to 1.22,: + - consistent with our documentation below.: +- update to version 2023.10.0: + - This release brings performance enhancements to reading Zarr datasets, the ability to use `numbagg `_ for reductions,: + - an expansion in API for ``rolling_exp``, fixes two regressions with datetime decoding,: + - and many other bugfixes and improvements. Groupby reductions will also use ``numbagg`` if ``flox>=0.8.1`` and ``numbagg`` are both installed.: + - Thanks to our 13 contributors: + - Anderson Banihirwe, Bart Schilperoort, Deepak Cherian, Illviljan, Kai Mühlbauer, Mathias Hauser, Maximilian Roos, Michael Niklas, Pieter Eendebak, Simon Høxbro Hansen, Spencer Clark, Tom White, olimcc: + - New Features: + - Support high-performance reductions with `numbagg `_. + This is enabled by default if ``numbagg`` is installed. + By `Deepak Cherian `_. (:pull:`8316`) + - Add ``corr``, ``cov``, ``std`` & ``var`` to ``.rolling_exp``. + By `Maximilian Roos `_. (:pull:`8307`) + - :py:meth:`DataArray.where` & :py:meth:`Dataset.where` accept a callable for + the ``other`` parameter, passing the object as the only argument. Previously, + this was only valid for the ``cond`` parameter. (:issue:`8255`) + By `Maximilian Roos `_. + - ``.rolling_exp`` functions can now take a ``min_weight`` parameter, to only + output values when there are sufficient recent non-nan values. + ``numbagg>=0.3.1`` is required. (:pull:`8285`) + By `Maximilian Roos `_. + - :py:meth:`DataArray.sortby` & :py:meth:`Dataset.sortby` accept a callable for + the ``variables`` parameter, passing the object as the only argument. + By `Maximilian Roos `_. + - ``.rolling_exp`` functions can now operate on dask-backed arrays, assuming the + core dim has exactly one chunk. (:pull:`8284`). + By `Maximilian Roos `_. + - Breaking changes: + - Made more arguments keyword-only (e.g. ``keep_attrs``, ``skipna``) for many :py:class:`xarray.DataArray` and + :py:class:`xarray.Dataset` methods (:pull:`6403`). By `Mathias Hauser `_. + - :py:meth:`Dataset.to_zarr` & :py:meth:`DataArray.to_zarr` require keyword + arguments after the initial 7 positional arguments. + By `Maximilian Roos `_. + - Deprecations: + - Rename :py:meth:`Dataset.reset_encoding` & :py:meth:`DataArray.reset_encoding` + to :py:meth:`Dataset.drop_encoding` & :py:meth:`DataArray.drop_encoding` for + consistency with other ``drop`` & ``reset`` methods — ``drop`` generally + removes something, while ``reset`` generally resets to some default or + standard value. (:pull:`8287`, :issue:`8259`) + By `Maximilian Roos `_. + - Bug fixes: + - :py:meth:`DataArray.rename` & :py:meth:`Dataset.rename` would emit a warning + when the operation was a no-op. (:issue:`8266`) + By `Simon Hansen `_. + - Fixed a regression introduced in the previous release checking time-like units + when encoding/decoding masked data (:issue:`8269`, :pull:`8277`). + By `Kai Mühlbauer `_. + - Fix datetime encoding precision loss regression introduced in the previous + release for datetimes encoded with units requiring floating point values, and + a reference date not equal to the first value of the datetime array + (:issue:`8271`, :pull:`8272`). By `Spencer Clark + `_. + - Fix excess metadata requests when using a Zarr store. Prior to this, metadata + was re-read every time data was retrieved from the array, now metadata is retrieved only once + when they array is initialized. + (:issue:`8290`, :pull:`8297`). + By `Oliver McCormack `_. + - Fix to_zarr ending in a ReadOnlyError when consolidated metadata was used and the + write_empty_chunks was provided. + (:issue:`8323`, :pull:`8326`) + By `Matthijs Amesz `_. + - Documentation: + - Added page on the interoperability of xarray objects. + (:pull:`7992`) By `Tom Nicholas `_. + - Added xarray-regrid to the list of xarray related projects (:pull:`8272`). + By `Bart Schilperoort `_. + - Internal Changes: + - More improvements to support the Python `array API standard `_ + by using duck array ops in more places in the codebase. (:pull:`8267`) + By `Tom White `_. +- update to version 2023.09.0: + - This release continues work on the new :py:class:`xarray.Coordinates` object, allows to provide `preferred_chunks` when: + - reading from netcdf files, enables :py:func:`xarray.apply_ufunc` to handle missing core dimensions and fixes several bugs.: + - Thanks to the 24 contributors to this release: Alexander Fischer, Amrest Chinkamol, Benoit Bovy, Darsh Ranjan, Deepak Cherian,: + - Gianfranco Costamagna, Gregorio L. Trevisan, Illviljan, Joe Hamman, JR, Justus Magin, Kai Mühlbauer, Kian-Meng Ang, Kyle Sunden,: + - Martin Raspaud, Mathias Hauser, Mattia Almansi, Maximilian Roos, András Gunyhó, Michael Niklas, Richard Kleijn, Riulinchen,: + - Tom Nicholas and Wiktor Kraśnicki.: + - We welcome the following new contributors to Xarray!: Alexander Fischer, Amrest Chinkamol, Darsh Ranjan, Gianfranco Costamagna, Gregorio L. Trevisan,: + - Kian-Meng Ang, Riulinchen and Wiktor Kraśnicki.: + - New Features: + - Added the :py:meth:`Coordinates.assign` method that can be used to combine + different collections of coordinates prior to assign them to a Dataset or + DataArray (:pull:`8102`) at once. + By `Benoît Bovy `_. + - Provide `preferred_chunks` for data read from netcdf files (:issue:`1440`, :pull:`7948`). + By `Martin Raspaud `_. + - Added `on_missing_core_dims` to :py:meth:`apply_ufunc` to allow for copying or + dropping a :py:class:`Dataset`'s variables with missing core dimensions (:pull:`8138`). + By `Maximilian Roos `_. + - Breaking changes: + - The :py:class:`Coordinates` constructor now creates a (pandas) index by + default for each dimension coordinate. To keep the previous behavior (no index + created), pass an empty dictionary to ``indexes``. The constructor now also + extracts and add the indexes from another :py:class:`Coordinates` object + passed via ``coords`` (:pull:`8107`). + By `Benoît Bovy `_. + - Static typing of ``xlim`` and ``ylim`` arguments in plotting functions now must + be ``tuple[float, float]`` to align with matplotlib requirements. (:issue:`7802`, :pull:`8030`). + By `Michael Niklas `_. + - Deprecations: + - Deprecate passing a :py:class:`pandas.MultiIndex` object directly to the + :py:class:`Dataset` and :py:class:`DataArray` constructors as well as to + :py:meth:`Dataset.assign` and :py:meth:`Dataset.assign_coords`. + A new Xarray :py:class:`Coordinates` object has to be created first using + :py:meth:`Coordinates.from_pandas_multiindex` (:pull:`8094`). + By `Benoît Bovy `_. + - Bug fixes: + - Improved static typing of reduction methods (:pull:`6746`). + By `Richard Kleijn `_. + - Fix bug where empty attrs would generate inconsistent tokens (:issue:`6970`, :pull:`8101`). + By `Mattia Almansi `_. + - Improved handling of multi-coordinate indexes when updating coordinates, including bug fixes + (and improved warnings for deprecated features) for pandas multi-indexes (:pull:`8094`). + By `Benoît Bovy `_. + - Fixed a bug in :py:func:`merge` with ``compat='minimal'`` where the coordinate + names were not updated properly internally (:issue:`7405`, :issue:`7588`, + :pull:`8104`). + By `Benoît Bovy `_. + - Fix bug where :py:class:`DataArray` instances on the right-hand side + of :py:meth:`DataArray.__setitem__` lose dimension names (:issue:`7030`, :pull:`8067`). + By `Darsh Ranjan `_. + - Return ``float64`` in presence of ``NaT`` in :py:class:`~core.accessor_dt.DatetimeAccessor` and + special case ``NaT`` handling in :py:meth:`~core.accessor_dt.DatetimeAccessor.isocalendar` + (:issue:`7928`, :pull:`8084`). + By `Kai Mühlbauer `_. + - Fix :py:meth:`~core.rolling.DatasetRolling.construct` with stride on Datasets without indexes. + (:issue:`7021`, :pull:`7578`). + By `Amrest Chinkamol `_ and `Michael Niklas `_. + - Calling plot with kwargs ``col``, ``row`` or ``hue`` no longer squeezes dimensions passed via these arguments + (:issue:`7552`, :pull:`8174`). + By `Wiktor Kraśnicki `_. + - Fixed a bug where casting from ``float`` to ``int64`` (undefined for ``NaN``) led to varying issues (:issue:`7817`, :issue:`7942`, :issue:`7790`, :issue:`6191`, :issue:`7096`, + :issue:`1064`, :pull:`7827`). + By `Kai Mühlbauer `_. + - Fixed a bug where inaccurate ``coordinates`` silently failed to decode variable (:issue:`1809`, :pull:`8195`). + By `Kai Mühlbauer `_ + - ``.rolling_exp`` functions no longer mistakenly lose non-dimensioned coords + (:issue:`6528`, :pull:`8114`). + By `Maximilian Roos `_. + - In the event that user-provided datetime64/timedelta64 units and integer dtype encoding parameters conflict with each other, override the units to preserve an integer dtype for most faithful serialization to disk (:issue:`1064`, :pull:`8201`). + By `Kai Mühlbauer `_. + - Static typing of dunder ops methods (like :py:meth:`DataArray.__eq__`) has been fixed. + Remaining issues are upstream problems (:issue:`7780`, :pull:`8204`). + By `Michael Niklas `_. + - Fix type annotation for ``center`` argument of plotting methods (like :py:meth:`xarray.plot.dataarray_plot.pcolormesh`) (:pull:`8261`). + By `Pieter Eendebak `_. + - Documentation: + - Make documentation of :py:meth:`DataArray.where` clearer (:issue:`7767`, :pull:`7955`). + By `Riulinchen `_. + - Internal Changes: + - Many error messages related to invalid dimensions or coordinates now always show the list of valid dims/coords (:pull:`8079`). + By `András Gunyhó `_. + - Refactor of encoding and decoding times/timedeltas to preserve nanosecond resolution in arrays that contain missing values (:pull:`7827`). + By `Kai Mühlbauer `_. + - Transition ``.rolling_exp`` functions to use `.apply_ufunc` internally rather + than `.reduce`, as the start of a broader effort to move non-reducing + functions away from ```.reduce``, (:pull:`8114`). + By `Maximilian Roos `_. + - Test range of fill_value's in test_interpolate_pd_compat (:issue:`8146`, :pull:`8189`). + By `Kai Mühlbauer `_. + ------------------------------------------------------------------- Sun Sep 10 16:38:28 UTC 2023 - Ben Greiner @@ -2986,4 +3317,3 @@ Thu Jan 28 13:02:36 UTC 2016 - toddrme2178@gmail.com Tue Jul 14 16:27:58 UTC 2015 - toddrme2178@gmail.com - Initial version - diff --git a/python-xarray.spec b/python-xarray.spec index 6f72292..c0810d0 100644 --- a/python-xarray.spec +++ b/python-xarray.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-xarray -Version: 2023.8.0 +Version: 2023.12.0 Release: 0 Summary: N-D labeled arrays and datasets in Python License: Apache-2.0 @@ -28,11 +28,11 @@ Source: https://files.pythonhosted.org/packages/source/x/xarray/xarray-% # fix xr.tutorial.open_dataset to work with the preloaded cache. Patch0: local_dataset.patch # PATCH-FIX-UPSTREAM xarray-pr8139-pandas-fill_value.patch gh#pydata/xarray#8125, gh#pydata/xarray#8139 -Patch1: https://github.com/pydata/xarray/pull/8139.patch#/xarray-pr8139-pandas-fill_value.patch +#Patch1: https://github.com/pydata/xarray/pull/8139.patch#/xarray-pr8139-pandas-fill_value.patch BuildRequires: %{python_module base >= 3.9} -BuildRequires: %{python_module numpy-devel >= 1.20} +BuildRequires: %{python_module numpy-devel >= 1.22} BuildRequires: %{python_module packaging >= 21.3} -BuildRequires: %{python_module pandas >= 1.3} +BuildRequires: %{python_module pandas >= 1.4} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} diff --git a/xarray-2023.12.0.tar.gz b/xarray-2023.12.0.tar.gz new file mode 100644 index 0000000..817d9c8 --- /dev/null +++ b/xarray-2023.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4565dbc890de47e278346c44d6b33bb07d3427383e077a7ca8ab6606196fd433 +size 3602114 diff --git a/xarray-2023.8.0.tar.gz b/xarray-2023.8.0.tar.gz deleted file mode 100644 index 710e689..0000000 --- a/xarray-2023.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:825c6d64202a731a4e49321edd1e9dfabf4be06802f1b8c8a3c00a3ebfc8cedf -size 3757528