summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-14 18:54:55 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-14 18:54:55 +0200
commitf50b32bf79c0b822ec403177b695ceee11a778df (patch)
treedee97867a294879999ca7915bb64c5b9657adff9 /dev-python/xarray
parentdev-python/xarray: Deselect tests broken on 32-bit arches (diff)
downloadgentoo-f50b32bf79c0b822ec403177b695ceee11a778df.tar.gz
gentoo-f50b32bf79c0b822ec403177b695ceee11a778df.tar.bz2
gentoo-f50b32bf79c0b822ec403177b695ceee11a778df.zip
dev-python/xarray: Deselect tests failing with >=numpy-2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/xarray')
-rw-r--r--dev-python/xarray/xarray-2024.6.0.ebuild12
1 files changed, 11 insertions, 1 deletions
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-2[${PYTHON_USEDEP}]
>=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
}