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 DF415158089 for ; Sun, 29 Oct 2023 03:34:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23EC02BC013; Sun, 29 Oct 2023 03:34:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0BEA62BC013 for ; Sun, 29 Oct 2023 03:34:07 +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 37DAC335C0F for ; Sun, 29 Oct 2023 03:34:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A22061220 for ; Sun, 29 Oct 2023 03:34:04 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1698550382.214b26e564b13c56363258163cda0c16173b3636.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xarray/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xarray/xarray-2023.10.1-r1.ebuild X-VCS-Directories: dev-python/xarray/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 214b26e564b13c56363258163cda0c16173b3636 X-VCS-Branch: master Date: Sun, 29 Oct 2023 03:34:04 +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: 9acf0079-111f-4d7b-a34f-e55c7dab1bb9 X-Archives-Hash: 94d409b4d1298017853ebeba12372f88 commit: 214b26e564b13c56363258163cda0c16173b3636 Author: Sam James gentoo org> AuthorDate: Sun Oct 29 03:33:02 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 29 03:33:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214b26e5 dev-python/xarray: skip tests caused by numpy quirk/bug See bug for details, it looks like it's a numpy quirk/feature/misfeature...? Closes: https://bugs.gentoo.org/916460 Signed-off-by: Sam James gentoo.org> dev-python/xarray/xarray-2023.10.1-r1.ebuild | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/dev-python/xarray/xarray-2023.10.1-r1.ebuild b/dev-python/xarray/xarray-2023.10.1-r1.ebuild index 2acfcd5dc6b8..287b9c7cf488 100644 --- a/dev-python/xarray/xarray-2023.10.1-r1.ebuild +++ b/dev-python/xarray/xarray-2023.10.1-r1.ebuild @@ -18,6 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="big-endian" RDEPEND=" >=dev-python/numpy-1.22[${PYTHON_USEDEP}] @@ -58,5 +59,25 @@ EPYTEST_DESELECT=( 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 -p xdist.plugin -n "$(makeopts_jobs)" --dist=worksteal }