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 20A6E15817D for ; Fri, 14 Jun 2024 17:02:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80DCEE2AEA; Fri, 14 Jun 2024 17:02:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 6A518E2AEA for ; Fri, 14 Jun 2024 17:02: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 922A4335D1C for ; Fri, 14 Jun 2024 17:02:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F32D411DF for ; Fri, 14 Jun 2024 17:02:04 +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: <1718384095.f50b32bf79c0b822ec403177b695ceee11a778df.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xarray/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xarray/xarray-2024.6.0.ebuild X-VCS-Directories: dev-python/xarray/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f50b32bf79c0b822ec403177b695ceee11a778df X-VCS-Branch: master Date: Fri, 14 Jun 2024 17:02: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: f146fa13-cbed-493b-8fc1-882ce53d4905 X-Archives-Hash: 72b69782f88c7bcd5c7df424bcd6aaf4 commit: f50b32bf79c0b822ec403177b695ceee11a778df Author: Michał Górny gentoo org> AuthorDate: Fri Jun 14 16:54:55 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 14 16:54:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f50b32bf dev-python/xarray: Deselect tests failing with >=numpy-2 Signed-off-by: Michał Górny gentoo.org> dev-python/xarray/xarray-2024.6.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-python/xarray/xarray-2024.6.0.ebuild b/dev-python/xarray/xarray-2024.6.0.ebuild index 3253f14b00d9..94e04ad80a78 100644 --- a/dev-python/xarray/xarray-2024.6.0.ebuild +++ b/dev-python/xarray/xarray-2024.6.0.ebuild @@ -21,7 +21,6 @@ KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" IUSE="big-endian" RDEPEND=" - =dev-python/numpy-1.23[${PYTHON_USEDEP}] >=dev-python/pandas-2.0[${PYTHON_USEDEP}] >=dev-python/packaging-23.1[${PYTHON_USEDEP}] @@ -80,6 +79,17 @@ python_test() { ) fi + if has_version ">=dev-python/numpy-2[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + xarray/tests/test_dataset.py::TestDataset::test_polyfit_warnings + # https://github.com/pandas-dev/pandas/issues/56996 + xarray/tests/test_backends.py::test_use_cftime_false_standard_calendar_in_range + # TODO + 'xarray/tests/test_dtypes.py::test_maybe_promote[q-expected19]' + 'xarray/tests/test_dtypes.py::test_maybe_promote[Q-expected20]' + ) + fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest }