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:           Thu Jul 17 08:20:10 UTC 2025

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

Log Message:
py-xarray: updated to 2025.7.1

v2025.07.1 (July 09, 2025)

This release brings a lot of improvements to flexible indexes functionality, including new classes
to ease building of new indexes with custom coordinate transforms (:py:class:`indexes.CoordinateTransformIndex`)
and tree-like index structures (:py:class:`indexes.NDPointIndex`).
See a `new gallery <https://xarray-indexes.readthedocs.io>`_ showing off the possibilities enabled by flexible indexes.

Thanks to the 7 contributors to this release:
Benoit Bovy, Deepak Cherian, Dhruva Kumar Kaushal, Dimitri Papadopoulos Orfanos, Illviljan, Justus Magin and Tom Nicholas

New Features

- New :py:class:`xarray.indexes.NDPointIndex`, which by default uses :py:class:`scipy.spatial.KDTree` under the hood for
  the selection of irregular, n-dimensional data (:pull:`10478`).
  By `Benoit Bovy <https://github.com/benbovy>`_.
- Allow skipping the creation of default indexes when opening datasets (:pull:`8051`).
  By `Benoit Bovy <https://github.com/benbovy>`_ and `Justus Magin <https://github.com/keewis>`_.

Bug fixes

- :py:meth:`Dataset.set_xindex` now raises a helpful error when a custom index
  creates extra variables that don't match the provided coordinate names, instead
  of silently ignoring them. The error message suggests using the factory method
  pattern with :py:meth:`xarray.Coordinates.from_xindex` and
  :py:meth:`Dataset.assign_coords` for advanced use cases (:issue:`10499`).
  By `Dhruva Kumar Kaushal <https://github.com/dhruvak001>`_.

Documentation

- A `new gallery <https://xarray-indexes.readthedocs.io>`_ showing off the possibilities enabled by flexible indexes.

Internal Changes

- Refactored the ``PandasIndexingAdapter`` and
  ``CoordinateTransformIndexingAdapter`` internal indexing classes. Coordinate
  variables that wrap a :py:class:`pandas.RangeIndex`, a
  :py:class:`pandas.MultiIndex` or a
  :py:class:`xarray.indexes.CoordinateTransform` are now displayed as lazy variables
  in the Xarray data reprs (:pull:`10355`).
  By `Benoit Bovy <https://github.com/benbovy>`_.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/math/py-xarray/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/math/py-xarray/PLIST
cvs rdiff -u -r1.24 -r1.25 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.34 pkgsrc/math/py-xarray/Makefile:1.35
--- pkgsrc/math/py-xarray/Makefile:1.34 Thu Jul  3 19:18:11 2025
+++ pkgsrc/math/py-xarray/Makefile      Thu Jul 17 08:20:10 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2025/07/03 19:18:11 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2025/07/17 08:20:10 adam Exp $
 
-DISTNAME=      xarray-2025.6.1
+DISTNAME=      xarray-2025.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xarray/}

Index: pkgsrc/math/py-xarray/PLIST
diff -u pkgsrc/math/py-xarray/PLIST:1.18 pkgsrc/math/py-xarray/PLIST:1.19
--- pkgsrc/math/py-xarray/PLIST:1.18    Fri Jun 13 07:28:47 2025
+++ pkgsrc/math/py-xarray/PLIST Thu Jul 17 08:20:10 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2025/06/13 07:28:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.19 2025/07/17 08:20:10 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -254,6 +254,9 @@ ${PYSITELIB}/xarray/groupers.pyo
 ${PYSITELIB}/xarray/indexes/__init__.py
 ${PYSITELIB}/xarray/indexes/__init__.pyc
 ${PYSITELIB}/xarray/indexes/__init__.pyo
+${PYSITELIB}/xarray/indexes/nd_point_index.py
+${PYSITELIB}/xarray/indexes/nd_point_index.pyc
+${PYSITELIB}/xarray/indexes/nd_point_index.pyo
 ${PYSITELIB}/xarray/indexes/range_index.py
 ${PYSITELIB}/xarray/indexes/range_index.pyc
 ${PYSITELIB}/xarray/indexes/range_index.pyo
@@ -515,6 +518,9 @@ ${PYSITELIB}/xarray/tests/test_missing.p
 ${PYSITELIB}/xarray/tests/test_namedarray.py
 ${PYSITELIB}/xarray/tests/test_namedarray.pyc
 ${PYSITELIB}/xarray/tests/test_namedarray.pyo
+${PYSITELIB}/xarray/tests/test_nd_point_index.py
+${PYSITELIB}/xarray/tests/test_nd_point_index.pyc
+${PYSITELIB}/xarray/tests/test_nd_point_index.pyo
 ${PYSITELIB}/xarray/tests/test_nputils.py
 ${PYSITELIB}/xarray/tests/test_nputils.pyc
 ${PYSITELIB}/xarray/tests/test_nputils.pyo

Index: pkgsrc/math/py-xarray/distinfo
diff -u pkgsrc/math/py-xarray/distinfo:1.24 pkgsrc/math/py-xarray/distinfo:1.25
--- pkgsrc/math/py-xarray/distinfo:1.24 Fri Jun 13 07:28:47 2025
+++ pkgsrc/math/py-xarray/distinfo      Thu Jul 17 08:20:10 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2025/06/13 07:28:47 adam Exp $
+$NetBSD: distinfo,v 1.25 2025/07/17 08:20:10 adam Exp $
 
-BLAKE2s (xarray-2025.6.1.tar.gz) = bbc5e937931fa582b16021307c67ad241567da303a8c243e9b16791a9d2041f1
-SHA512 (xarray-2025.6.1.tar.gz) = 4fc7980f843f86c8e83015fbf9ea2c8440b046faaa1589a605cf1e2f64f9380e28e157c8afda5c0058b3fe8cfe01122ba8582f5d61b9f0eabdf7107ce6d81c0c
-Size (xarray-2025.6.1.tar.gz) = 3003185 bytes
+BLAKE2s (xarray-2025.7.1.tar.gz) = f2ae8297843b7f1e0a75fdb5847ba365219aa22c3f8ca673a380ec9731281514
+SHA512 (xarray-2025.7.1.tar.gz) = 446e50cfa16a3ba54124dc9417203ea96f6232e05515de38dc191b06ee417e165fd2faefaf4718eddb9620d32675abc6c2125ac7555759eb003263a70662cb7e
+Size (xarray-2025.7.1.tar.gz) = 3013717 bytes



Home | Main Index | Thread Index | Old Index