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 May 20 09:55:26 UTC 2024

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

Log Message:
py-xarray: updated to 2024.5.0

v2024.05.0 (May 12, 2024)
-------------------------

This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes,
more compatibility fixes for the upcoming numpy 2.0, and the migration of most of the xarray-datatree project code into xarray ``main``!

Thanks to the 18 contributors to this release:
Aimilios Tsouvelekakis, Andrey Akinshin, Deepak Cherian, Eni Awowale, Ilan Gold, Illviljan, Justus Magin, Mark Harfouche, Matt Savoie, Maximilian Roos, Noah C. Benson, Pascal Bourgault, Ray Bell, 
Spencer Clark, Tom Nicholas, ignamv, owenlittlejohns, and saschahofmann.

New Features
~~~~~~~~~~~~
- New "random" method for converting to and from 360_day calendars (:pull:`8603`).
  By `Pascal Bourgault <https://github.com/aulemahal>`_.
- Xarray now makes a best attempt not to coerce :py:class:`pandas.api.extensions.ExtensionArray` to a numpy array
  by supporting 1D ``ExtensionArray`` objects internally where possible.  Thus, :py:class:`Dataset` objects initialized with a ``pd.Categorical``,
  for example, will retain the object.  However, one cannot do operations that are not possible on the ``ExtensionArray``
  then, such as broadcasting. (:issue:`5287`, :issue:`8463`, :pull:`8723`)
  By `Ilan Gold <https://github.com/ilan-gold>`_.
- :py:func:`testing.assert_allclose`/:py:func:`testing.assert_equal` now accept a new argument `check_dims="transpose"`, controlling whether a transposed array is considered equal. (:issue:`5733`, 
:pull:`8991`)
  By `Ignacio Martinez Vazquez <https://github.com/ignamv>`_.
- Added the option to avoid automatically creating 1D pandas indexes in :py:meth:`Dataset.expand_dims()`, by passing the new kwarg
  `create_index_for_new_dim=False`. (:pull:`8960`)
  By `Tom Nicholas <https://github.com/TomNicholas>`_.
- Avoid automatically re-creating 1D pandas indexes in :py:func:`concat()`. Also added option to avoid creating 1D indexes for
  new dimension coordinates by passing the new kwarg `create_index_for_new_dim=False`. (:issue:`8871`, :pull:`8872`)
  By `Tom Nicholas <https://github.com/TomNicholas>`_.

Breaking changes
~~~~~~~~~~~~~~~~
- The PyNIO backend has been deleted (:issue:`4491`, :pull:`7301`).
  By `Deepak Cherian <https://github.com/dcherian>`_.
- The minimum versions of some dependencies were changed, in particular our minimum supported pandas version is now Pandas 2.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/math/py-xarray/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/py-xarray/PLIST
cvs rdiff -u -r1.13 -r1.14 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.20 pkgsrc/math/py-xarray/Makefile:1.21
--- pkgsrc/math/py-xarray/Makefile:1.20 Wed Apr  3 07:29:09 2024
+++ pkgsrc/math/py-xarray/Makefile      Mon May 20 09:55:25 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2024/04/03 07:29:09 adam Exp $
+# $NetBSD: Makefile,v 1.21 2024/05/20 09:55:25 adam Exp $
 
-DISTNAME=      xarray-2024.3.0
+DISTNAME=      xarray-2024.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xarray/}
@@ -14,8 +14,8 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=7:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-numpy>=1.23:../../math/py-numpy
-DEPENDS+=      ${PYPKGPREFIX}-packaging>=22:../../devel/py-packaging
-DEPENDS+=      ${PYPKGPREFIX}-pandas>=1.5:../../math/py-pandas
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=23.1:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-pandas>=2.0:../../math/py-pandas
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/math/py-xarray/PLIST
diff -u pkgsrc/math/py-xarray/PLIST:1.9 pkgsrc/math/py-xarray/PLIST:1.10
--- pkgsrc/math/py-xarray/PLIST:1.9     Wed Apr  3 07:29:09 2024
+++ pkgsrc/math/py-xarray/PLIST Mon May 20 09:55:25 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2024/04/03 07:29:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2024/05/20 09:55:25 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -44,9 +44,6 @@ ${PYSITELIB}/xarray/backends/plugins.pyo
 ${PYSITELIB}/xarray/backends/pydap_.py
 ${PYSITELIB}/xarray/backends/pydap_.pyc
 ${PYSITELIB}/xarray/backends/pydap_.pyo
-${PYSITELIB}/xarray/backends/pynio_.py
-${PYSITELIB}/xarray/backends/pynio_.pyc
-${PYSITELIB}/xarray/backends/pynio_.pyo
 ${PYSITELIB}/xarray/backends/scipy_.py
 ${PYSITELIB}/xarray/backends/scipy_.pyc
 ${PYSITELIB}/xarray/backends/scipy_.pyo
@@ -134,12 +131,24 @@ ${PYSITELIB}/xarray/core/dataset.pyo
 ${PYSITELIB}/xarray/core/datatree.py
 ${PYSITELIB}/xarray/core/datatree.pyc
 ${PYSITELIB}/xarray/core/datatree.pyo
+${PYSITELIB}/xarray/core/datatree_mapping.py
+${PYSITELIB}/xarray/core/datatree_mapping.pyc
+${PYSITELIB}/xarray/core/datatree_mapping.pyo
+${PYSITELIB}/xarray/core/datatree_ops.py
+${PYSITELIB}/xarray/core/datatree_ops.pyc
+${PYSITELIB}/xarray/core/datatree_ops.pyo
+${PYSITELIB}/xarray/core/datatree_render.py
+${PYSITELIB}/xarray/core/datatree_render.pyc
+${PYSITELIB}/xarray/core/datatree_render.pyo
 ${PYSITELIB}/xarray/core/dtypes.py
 ${PYSITELIB}/xarray/core/dtypes.pyc
 ${PYSITELIB}/xarray/core/dtypes.pyo
 ${PYSITELIB}/xarray/core/duck_array_ops.py
 ${PYSITELIB}/xarray/core/duck_array_ops.pyc
 ${PYSITELIB}/xarray/core/duck_array_ops.pyo
+${PYSITELIB}/xarray/core/extension_array.py
+${PYSITELIB}/xarray/core/extension_array.pyc
+${PYSITELIB}/xarray/core/extension_array.pyo
 ${PYSITELIB}/xarray/core/extensions.py
 ${PYSITELIB}/xarray/core/extensions.pyc
 ${PYSITELIB}/xarray/core/extensions.pyo
@@ -158,6 +167,9 @@ ${PYSITELIB}/xarray/core/indexes.pyo
 ${PYSITELIB}/xarray/core/indexing.py
 ${PYSITELIB}/xarray/core/indexing.pyc
 ${PYSITELIB}/xarray/core/indexing.pyo
+${PYSITELIB}/xarray/core/iterators.py
+${PYSITELIB}/xarray/core/iterators.pyc
+${PYSITELIB}/xarray/core/iterators.pyo
 ${PYSITELIB}/xarray/core/merge.py
 ${PYSITELIB}/xarray/core/merge.pyc
 ${PYSITELIB}/xarray/core/merge.pyo
@@ -212,6 +224,15 @@ ${PYSITELIB}/xarray/core/variable.pyo
 ${PYSITELIB}/xarray/core/weighted.py
 ${PYSITELIB}/xarray/core/weighted.pyc
 ${PYSITELIB}/xarray/core/weighted.pyo
+${PYSITELIB}/xarray/datatree_/datatree/__init__.py
+${PYSITELIB}/xarray/datatree_/datatree/__init__.pyc
+${PYSITELIB}/xarray/datatree_/datatree/__init__.pyo
+${PYSITELIB}/xarray/datatree_/datatree/common.py
+${PYSITELIB}/xarray/datatree_/datatree/common.pyc
+${PYSITELIB}/xarray/datatree_/datatree/common.pyo
+${PYSITELIB}/xarray/datatree_/datatree/io.py
+${PYSITELIB}/xarray/datatree_/datatree/io.pyc
+${PYSITELIB}/xarray/datatree_/datatree/io.pyo
 ${PYSITELIB}/xarray/indexes/__init__.py
 ${PYSITELIB}/xarray/indexes/__init__.pyc
 ${PYSITELIB}/xarray/indexes/__init__.pyo
@@ -287,6 +308,9 @@ ${PYSITELIB}/xarray/testing/strategies.p
 ${PYSITELIB}/xarray/tests/__init__.py
 ${PYSITELIB}/xarray/tests/__init__.pyc
 ${PYSITELIB}/xarray/tests/__init__.pyo
+${PYSITELIB}/xarray/tests/arrays.py
+${PYSITELIB}/xarray/tests/arrays.pyc
+${PYSITELIB}/xarray/tests/arrays.pyo
 ${PYSITELIB}/xarray/tests/conftest.py
 ${PYSITELIB}/xarray/tests/conftest.pyc
 ${PYSITELIB}/xarray/tests/conftest.pyo
@@ -383,6 +407,9 @@ ${PYSITELIB}/xarray/tests/test_dataset.p
 ${PYSITELIB}/xarray/tests/test_datatree.py
 ${PYSITELIB}/xarray/tests/test_datatree.pyc
 ${PYSITELIB}/xarray/tests/test_datatree.pyo
+${PYSITELIB}/xarray/tests/test_datatree_mapping.py
+${PYSITELIB}/xarray/tests/test_datatree_mapping.pyc
+${PYSITELIB}/xarray/tests/test_datatree_mapping.pyo
 ${PYSITELIB}/xarray/tests/test_deprecation_helpers.py
 ${PYSITELIB}/xarray/tests/test_deprecation_helpers.pyc
 ${PYSITELIB}/xarray/tests/test_deprecation_helpers.pyo

Index: pkgsrc/math/py-xarray/distinfo
diff -u pkgsrc/math/py-xarray/distinfo:1.13 pkgsrc/math/py-xarray/distinfo:1.14
--- pkgsrc/math/py-xarray/distinfo:1.13 Wed Apr  3 07:29:09 2024
+++ pkgsrc/math/py-xarray/distinfo      Mon May 20 09:55:25 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2024/04/03 07:29:09 adam Exp $
+$NetBSD: distinfo,v 1.14 2024/05/20 09:55:25 adam Exp $
 
-BLAKE2s (xarray-2024.3.0.tar.gz) = 11f71b0d350e36a0e0b9df8e1a22aa03cbf68ce768b34ab2a7eba52a8bb98152
-SHA512 (xarray-2024.3.0.tar.gz) = 4c7490b2efb4ed1a7278c807f4d200d99407d21bd54287ca5d35300194049a82aef3d8fbedba8f180ddb0d554cbb3f8f63abbb01401d5904f6d29cfa729e2ab0
-Size (xarray-2024.3.0.tar.gz) = 3674424 bytes
+BLAKE2s (xarray-2024.5.0.tar.gz) = cf06a40e6b82b59d7ff75eee555cf784572117be3fdc676a89ad694118e575e6
+SHA512 (xarray-2024.5.0.tar.gz) = d3aa6ef73afd2fd8a5c5551631ca5385d14221474bdab4c404cee1405b370c2f998c895bfd3506e6ccc1b2f511996b0eebefb331768df047d5e8b398ad2f9199
+Size (xarray-2024.5.0.tar.gz) = 3710689 bytes



Home | Main Index | Thread Index | Old Index