pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-xarray



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jan  6 10:55:38 UTC 2025

Modified Files:
        pkgsrc/math/py-xarray: Makefile PLIST distinfo

Log Message:
py-xarray: updated to 2025.1.0

v.2025.01.0 (Jan 3, 2025)

This release brings much improved read performance with Zarr arrays (without consolidated metadata), better support for additional array types, as well as
bugfixes and performance improvements.

New Features

- Improve the error message raised when using chunked-array methods if no chunk manager is available or if the requested chunk manager is missing (:pull:`9676`)
- Better support wrapping additional array types (e.g. ``cupy`` or ``jax``) by calling generalized
  duck array operations throughout more xarray methods. (:issue:`7848`, :pull:`9798`).
- Better performance for reading Zarr arrays in the ``ZarrStore`` class by caching the state of Zarr
  storage and avoiding redundant IO operations. By default, ``ZarrStore`` stores a snapshot of names and metadata of the in-scope Zarr arrays; this cache
  is then used when iterating over those Zarr arrays, which avoids IO operations and thereby reduces
  latency. (:issue:`9853`, :pull:`9861`).
- Add ``unit`` - keyword argument to :py:func:`date_range` and ``microsecond`` parsing to
  iso8601-parser (:pull:`9885`).

Breaking changes

- Methods including ``dropna``, ``rank``, ``idxmax``, ``idxmin`` require
  non-dimension arguments to be passed as keyword arguments. The previous
  behavior, which allowed ``.idxmax('foo', 'all')`` was too easily confused with
  ``'all'`` being a dimension. The updated equivalent is ``.idxmax('foo',
  how='all')``. The previous behavior was deprecated in v2023.10.0.

Deprecations

- Finalize deprecation of ``closed`` parameters of :py:func:`cftime_range` and
  :py:func:`date_range` (:pull:`9882`).

Performance

- Better preservation of chunksizes in :py:meth:`Dataset.idxmin` and :py:meth:`Dataset.idxmax` (:issue:`9425`, :pull:`9800`).
- Much better implementation of vectorized interpolation for dask arrays (:pull:`9881`).

Bug fixes

- Fix type annotations for ``get_axis_num``. (:issue:`9822`, :pull:`9827`).
- Fix unintended load on datasets when calling :py:meth:`DataArray.plot.scatter` (:pull:`9818`).
- Fix interpolation when non-numeric coordinate variables are present (:issue:`8099`, :issue:`9839`).

Internal Changes

- Move non-CF related ``ensure_dtype_not_object`` from conventions to backends (:pull:`9828`).
- Move handling of scalar datetimes into ``_possibly_convert_objects``
  within ``as_compatible_data``. This is consistent with how lists of these objects
  will be converted (:pull:`9900`).
- Move ISO-8601 parser from coding.cftimeindex to coding.times to make it available there (prevents circular import), add capability to parse negative and/or five-digit years (:pull:`9899`).
- Refactor of time coding to prepare for relaxing nanosecond restriction (:pull:`9906`).


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/math/py-xarray/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/math/py-xarray/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/math/py-xarray/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-xarray/Makefile
diff -u pkgsrc/math/py-xarray/Makefile:1.27 pkgsrc/math/py-xarray/Makefile:1.28
--- pkgsrc/math/py-xarray/Makefile:1.27 Thu Dec 26 23:20:42 2024
+++ pkgsrc/math/py-xarray/Makefile      Mon Jan  6 10:55:38 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2024/12/26 23:20:42 adam Exp $
+# $NetBSD: Makefile,v 1.28 2025/01/06 10:55:38 adam Exp $
 
-DISTNAME=      xarray-2024.11.0
+DISTNAME=      xarray-2025.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xarray/}
@@ -13,7 +13,7 @@ LICENSE=      apache-2.0
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=42:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=7:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-numpy>=1.24:../../math/py-numpy
-DEPENDS+=      ${PYPKGPREFIX}-packaging>=23.1:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=23.2:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-pandas>=2.1:../../math/py-pandas
 
 USE_LANGUAGES= # none

Index: pkgsrc/math/py-xarray/PLIST
diff -u pkgsrc/math/py-xarray/PLIST:1.13 pkgsrc/math/py-xarray/PLIST:1.14
--- pkgsrc/math/py-xarray/PLIST:1.13    Thu Dec 26 23:20:42 2024
+++ pkgsrc/math/py-xarray/PLIST Mon Jan  6 10:55:38 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2024/12/26 23:20:42 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2025/01/06 10:55:38 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -419,6 +419,9 @@ ${PYSITELIB}/xarray/tests/test_dtypes.py
 ${PYSITELIB}/xarray/tests/test_duck_array_ops.py
 ${PYSITELIB}/xarray/tests/test_duck_array_ops.pyc
 ${PYSITELIB}/xarray/tests/test_duck_array_ops.pyo
+${PYSITELIB}/xarray/tests/test_duck_array_wrapping.py
+${PYSITELIB}/xarray/tests/test_duck_array_wrapping.pyc
+${PYSITELIB}/xarray/tests/test_duck_array_wrapping.pyo
 ${PYSITELIB}/xarray/tests/test_error_messages.py
 ${PYSITELIB}/xarray/tests/test_error_messages.pyc
 ${PYSITELIB}/xarray/tests/test_error_messages.pyo

Index: pkgsrc/math/py-xarray/distinfo
diff -u pkgsrc/math/py-xarray/distinfo:1.18 pkgsrc/math/py-xarray/distinfo:1.19
--- pkgsrc/math/py-xarray/distinfo:1.18 Thu Dec 26 23:20:42 2024
+++ pkgsrc/math/py-xarray/distinfo      Mon Jan  6 10:55:38 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2024/12/26 23:20:42 adam Exp $
+$NetBSD: distinfo,v 1.19 2025/01/06 10:55:38 adam Exp $
 
-BLAKE2s (xarray-2024.11.0.tar.gz) = 3ace1fb2d9a9953a9cd04019c4ab88f2de702ba00e2ad4cbd1030fac168d08d4
-SHA512 (xarray-2024.11.0.tar.gz) = 0f2d22391eb851b82b804ebd9404a9863143a9ca647fa0d52d9c1b421f94187739986e8c1205274840f46329478846802b11304c02c5dad58ae9ffc6062b1cec
-Size (xarray-2024.11.0.tar.gz) = 3247277 bytes
+BLAKE2s (xarray-2025.1.0.tar.gz) = ee60ef6dd107aad50e9dfe16a84011b1f5a06f57ea9ae4b15da7501d8bec3b79
+SHA512 (xarray-2025.1.0.tar.gz) = ea70284f3a9b8bc1dc217354683e67101ea03514ace39a3bdd9f96bf58c36ae6846330ef647f72475e25087f272a33114ba88ecdfed5e18a5df8593efa6e19fd
+Size (xarray-2025.1.0.tar.gz) = 3256313 bytes



Home | Main Index | Thread Index | Old Index