50776200f7
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
26 lines
838 B
Makefile
26 lines
838 B
Makefile
# $NetBSD: Makefile,v 1.13 2022/02/10 14:11:31 adam Exp $
|
|
|
|
DISTNAME= xarray-0.21.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xarray/}
|
|
|
|
MAINTAINER= jihbed.research@gmail.com
|
|
HOMEPAGE= https://github.com/pydata/xarray
|
|
COMMENT= N-D labeled arrays and datasets in Python
|
|
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
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 37
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|