commit:     6464f9df6a24f820490622758130c64802695246
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 02:39:27 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 03:43:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6464f9df

dev-python/xarray: Bump to 2024.1.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/xarray/Manifest               |  1 +
 dev-python/xarray/xarray-2024.1.0.ebuild | 86 ++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest
index 86768586cd21..a3ca649d7cac 100644
--- a/dev-python/xarray/Manifest
+++ b/dev-python/xarray/Manifest
@@ -1 +1,2 @@
 DIST xarray-2023.12.0.tar.gz 3602114 BLAKE2B 
f6753772d3ea5c5a79afb2e55e0fd9df764d18d9dbd5598dd6ddd8f36dcf96695b542b824f09f049190cc563d4a90b25b5a04e8f1babb262b02955e3f06f8f7c
 SHA512 
a07b5d0b50949c4b3eff5055f5b225d0ab63a223c54b292ea067c9aae748c3f13d130713a146eb590596fdf96cad12bbf2f65fef2117f0b271b3d8c2ad33c9ca
+DIST xarray-2024.1.0.tar.gz 3612457 BLAKE2B 
53c99ade060ee9aafb9ff1416ab50e27271a5c45c06b8bda5183757b64694eea8649ae9515261112926aa872364c7a9349fb874114b82d5c7221d4d6104feb23
 SHA512 
1a5c184e6547e867076cd4faf533476608de13c4cfdb7085362e93c974598ea29d42c8fa55374b4782cc36ab7d870d4b7174217b3854db367ae16772e7f37cc8

diff --git a/dev-python/xarray/xarray-2024.1.0.ebuild 
b/dev-python/xarray/xarray-2024.1.0.ebuild
new file mode 100644
index 000000000000..28602ca801b2
--- /dev/null
+++ b/dev-python/xarray/xarray-2024.1.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="N-D labeled arrays and datasets in Python"
+HOMEPAGE="
+       https://xarray.pydata.org/
+       https://github.com/pydata/xarray/
+       https://pypi.org/project/xarray/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="big-endian"
+
+RDEPEND="
+       >=dev-python/numpy-1.23[${PYTHON_USEDEP}]
+       >=dev-python/pandas-1.5[${PYTHON_USEDEP}]
+       >=dev-python/packaging-22[${PYTHON_USEDEP}]
+"
+# note: most of the test dependencies are optional
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/bottleneck[${PYTHON_USEDEP}]
+               dev-python/hypothesis[${PYTHON_USEDEP}]
+               dev-python/matplotlib[${PYTHON_USEDEP}]
+               dev-python/toolz[${PYTHON_USEDEP}]
+               !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] )
+       )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # warning-targeted tests are fragile and not important to end users
+       xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get
+       # TODO: segv in netcdf4-python
+       
'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-5]'
+       
'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-None]'
+       
'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-5]'
+       
'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-None]'
+       
xarray/tests/test_backends.py::TestDask::test_save_mfdataset_compute_false_roundtrip
+       # TODO: broken
+       xarray/tests/test_backends.py::TestNetCDF4Data
+       xarray/tests/test_backends.py::TestNetCDF4ViaDaskData
+       # hangs
+       xarray/tests/test_backends.py::TestDask::test_dask_roundtrip
+       # mismatches when pyarrow is installed
+       # https://github.com/pydata/xarray/issues/8092
+       
xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_2D
+       
xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_not_daskarray
+)
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
+       if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then
+               EPYTEST_DESELECT+=(
+                       
'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]'
+               )
+       fi
+
+       if use big-endian ; then
+               EPYTEST_DESELECT+=(
+                       # Appears to be a numpy issue in display? See bug 
#916460.
+                       
'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]'
+                       
'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]'
+                       
'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]'
+                       
'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]'
+                       
'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]'
+                       
'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]'
+                       
'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]'
+               )
+       fi
+
+       epytest
+}

Reply via email to