From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 36C3115823F for ; Sat, 18 Nov 2023 15:47:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2757A2BC017; Sat, 18 Nov 2023 15:47:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09B432BC017 for ; Sat, 18 Nov 2023 15:47:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4172335CF4 for ; Sat, 18 Nov 2023 15:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 297371356 for ; Sat, 18 Nov 2023 15:47:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1700322445.77479329cf9c3d8f1247372b422674a630152993.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xarray/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xarray/Manifest dev-python/xarray/xarray-2023.11.0.ebuild X-VCS-Directories: dev-python/xarray/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 77479329cf9c3d8f1247372b422674a630152993 X-VCS-Branch: master Date: Sat, 18 Nov 2023 15:47:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: efc3027c-09f0-4fbf-8eac-89c4fcfd039e X-Archives-Hash: 50df63c12d0aa6adc82f1dd6010b30fe commit: 77479329cf9c3d8f1247372b422674a630152993 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 18 14:50:42 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 18 15:47:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77479329 dev-python/xarray: Bump to 2023.11.0 Signed-off-by: Michał Górny gentoo.org> dev-python/xarray/Manifest | 1 + dev-python/xarray/xarray-2023.11.0.ebuild | 83 +++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 3ff08360e33d..9a43ac8bb635 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,2 +1,3 @@ DIST xarray-2023.10.1.tar.gz 3796343 BLAKE2B 8c4bcccf977bf22dcb7495a35b507b113cf888819c202f4bdd90fb0146b1a8c75d79337f7dedad5d248330a2cc2dcfb07dae4faa60d90e611e1418be530c2ee4 SHA512 1fe193fc2fbd31d7478bd3152f8322f0c20e312518d1f607b483d2b9c3c19d84fb175319fa55fc01d5da13ee471c60c1976617e33760d10168d6fc7b556aeac4 +DIST xarray-2023.11.0.tar.gz 3800529 BLAKE2B 45b54588e3178c5104f40741cf2a3cb6403a0ab199ad1b24a6b2da9cb19649184ba4ca516d54002753ba62c7df6e80dde3b25c68cd63d65dd076b412219de3bc SHA512 fe84884b9147683d61d68233c703d07617f61638d84e28f94c9b9f1fdddf942c563af20a15c6d765b0ff169fe0985d74d7cb4d35d42c3988f62263e55e3e9071 DIST xarray-2023.9.0.tar.gz 3776743 BLAKE2B 38433f7898db2b53f31db134b110fea743ea5886c33f8f8390b85cda18c1a1d7d178681e4e442ecc39f2f19ae4b761f94b38ccab27e8e20c3463f4364f1222dd SHA512 d6c1e6ff438415766dedada5841413b9c7514dc2b1bf71a4adb17df4d78b68f5f22cded09c20511e4e2e85ac3284c447fc13191397b7ae77d1294d7867e3ac3f diff --git a/dev-python/xarray/xarray-2023.11.0.ebuild b/dev-python/xarray/xarray-2023.11.0.ebuild new file mode 100644 index 000000000000..e158ce05a4de --- /dev/null +++ b/dev-python/xarray/xarray-2023.11.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 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 ~riscv ~sparc ~x86" +IUSE="big-endian" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + >=dev-python/pandas-1.4[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${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 + # 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 +}