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 Feb 10 14:11:31 UTC 2022
Modified Files:
pkgsrc/math/py-xarray: Makefile PLIST distinfo
Log Message:
py-xarray: updated to 0.21.1
v0.21.1 (31 January 2022)
-------------------------
This is a bugfix release to resolve
Bug fixes
~~~~~~~~~
- Add `packaging` as a dependency to Xarray
v0.21.0 (27 January 2022)
-------------------------
New Features
~~~~~~~~~~~~
- New top-level function :py:func:`cross`.
- ``keep_attrs`` support for :py:func:`where`
- Enable the limit option for dask array in the following methods :py:meth:`DataArray.ffill`, :py:meth:`DataArray.bfill`, :py:meth:`Dataset.ffill` and :py:meth:`Dataset.bfill`
Breaking changes
~~~~~~~~~~~~~~~~
- Rely on matplotlib's default datetime converters instead of pandas'
- Improve repr readability when there are a large number of dimensions in datasets or dataarrays by
wrapping the text once the maximum display width has been exceeded.
Deprecations
~~~~~~~~~~~~
- Removed the lock kwarg from the zarr and pydap backends, completing the deprecation cycle started in :issue:`5256`.
- Support for ``python 3.7`` has been dropped.
Bug fixes
~~~~~~~~~
- Preserve chunks when creating a :py:class:`DataArray` from another :py:class:`DataArray`
- Properly support :py:meth:`DataArray.ffill`, :py:meth:`DataArray.bfill`, :py:meth:`Dataset.ffill` and :py:meth:`Dataset.bfill` along chunked dimensions
- Subclasses of ``byte`` and ``str`` (e.g. ``np.str_`` and ``np.bytes_``) will now serialise to disk rather than raising a ``ValueError: unsupported dtype for netCDF4 variable: object`` as they did
previously
- Fix applying function with non-xarray arguments using :py:func:`xr.map_blocks`.
- No longer raise an error for an all-nan-but-one argument to
:py:meth:`DataArray.interpolate_na` when using `method='nearest'`
- `dt.season <https://xarray.pydata.org/en/stable/generated/xarray.DataArray.dt.season.html>`_ can now handle NaN and NaT.
- Determination of zarr chunks handles empty lists for encoding chunks or variable chunks that occurs in certain cirumstances
Internal Changes
~~~~~~~~~~~~~~~~
- Replace ``distutils.version`` with ``packaging.version``
- Removed internal checks for ``pd.Panel``
- Add ``pyupgrade`` pre-commit hook
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/math/py-xarray/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/py-xarray/PLIST
cvs rdiff -u -r1.8 -r1.9 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.12 pkgsrc/math/py-xarray/Makefile:1.13
--- pkgsrc/math/py-xarray/Makefile:1.12 Tue Jan 4 20:54:18 2022
+++ pkgsrc/math/py-xarray/Makefile Thu Feb 10 14:11:31 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/01/04 20:54:18 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/02/10 14:11:31 adam Exp $
-DISTNAME= xarray-0.20.2
+DISTNAME= xarray-0.21.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xarray/}
@@ -13,6 +12,7 @@ LICENSE= apache-2.0
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-numpy>=1.18:../../math/py-numpy
+DEPENDS+= ${PYPKGPREFIX}-packaging>=20.0:../../devel/py-packaging
DEPENDS+= ${PYPKGPREFIX}-pandas>=1.1:../../math/py-pandas
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
@@ -20,13 +20,7 @@ USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pandas
-
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
-DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE= 27 37
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/py-xarray/PLIST
diff -u pkgsrc/math/py-xarray/PLIST:1.5 pkgsrc/math/py-xarray/PLIST:1.6
--- pkgsrc/math/py-xarray/PLIST:1.5 Sat Dec 11 21:57:35 2021
+++ pkgsrc/math/py-xarray/PLIST Thu Feb 10 14:11:31 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/12/11 21:57:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/02/10 14:11:31 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -68,6 +68,9 @@ ${PYSITELIB}/xarray/backends/zarr.pyo
${PYSITELIB}/xarray/coding/__init__.py
${PYSITELIB}/xarray/coding/__init__.pyc
${PYSITELIB}/xarray/coding/__init__.pyo
+${PYSITELIB}/xarray/coding/calendar_ops.py
+${PYSITELIB}/xarray/coding/calendar_ops.pyc
+${PYSITELIB}/xarray/coding/calendar_ops.pyo
${PYSITELIB}/xarray/coding/cftime_offsets.py
${PYSITELIB}/xarray/coding/cftime_offsets.pyc
${PYSITELIB}/xarray/coding/cftime_offsets.pyo
@@ -285,6 +288,9 @@ ${PYSITELIB}/xarray/tests/test_backends_
${PYSITELIB}/xarray/tests/test_backends_lru_cache.py
${PYSITELIB}/xarray/tests/test_backends_lru_cache.pyc
${PYSITELIB}/xarray/tests/test_backends_lru_cache.pyo
+${PYSITELIB}/xarray/tests/test_calendar_ops.py
+${PYSITELIB}/xarray/tests/test_calendar_ops.pyc
+${PYSITELIB}/xarray/tests/test_calendar_ops.pyo
${PYSITELIB}/xarray/tests/test_cftime_offsets.py
${PYSITELIB}/xarray/tests/test_cftime_offsets.pyc
${PYSITELIB}/xarray/tests/test_cftime_offsets.pyo
Index: pkgsrc/math/py-xarray/distinfo
diff -u pkgsrc/math/py-xarray/distinfo:1.8 pkgsrc/math/py-xarray/distinfo:1.9
--- pkgsrc/math/py-xarray/distinfo:1.8 Sat Dec 11 21:57:35 2021
+++ pkgsrc/math/py-xarray/distinfo Thu Feb 10 14:11:31 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/12/11 21:57:35 adam Exp $
+$NetBSD: distinfo,v 1.9 2022/02/10 14:11:31 adam Exp $
-BLAKE2s (xarray-0.20.2.tar.gz) = e8b64931d559d9dc1c6857972e8a66ea79b11d9930d7aed8fd479936c72ff960
-SHA512 (xarray-0.20.2.tar.gz) = cd292af68ffd8016e01021e30a2ea83dd36e2f79bd9c3d8e7d83adc5a98a95615091d0102a19a0e3337ae334a701f575a142f476d1465804c8d5fe259ca35f1a
-Size (xarray-0.20.2.tar.gz) = 2906021 bytes
+BLAKE2s (xarray-0.21.1.tar.gz) = 63eda7194746b21a187ba422b524626d1c68fe7a335a8b1839cc6959415a6afa
+SHA512 (xarray-0.21.1.tar.gz) = be5d925971557f492c8ca7e90eb678a0f98cf0a670eaa8a8564bd160a02fcd8a22362a8691c5447a9baaa67b464257f2ab6954747296839b304f3e25cf13487a
+Size (xarray-0.21.1.tar.gz) = 2936861 bytes
Home |
Main Index |
Thread Index |
Old Index