From f50b32bf79c0b822ec403177b695ceee11a778df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 14 Jun 2024 18:54:55 +0200 Subject: dev-python/xarray: Deselect tests failing with >=numpy-2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/xarray/xarray-2024.6.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'dev-python/xarray/xarray-2024.6.0.ebuild') 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 } -- cgit v1.2.3