summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-07 19:25:12 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-07 19:26:41 +0200
commit4b58ee2a650714c2f11d9cad49cea0ff4a833eb8 (patch)
treed887592dcb8796af2963cd87e6666a844eac9cc7 /dev-python/pandas
parentdev-python/cftime: Bump to 1.6.4 (diff)
downloadgentoo-4b58ee2a650714c2f11d9cad49cea0ff4a833eb8.tar.gz
gentoo-4b58ee2a650714c2f11d9cad49cea0ff4a833eb8.tar.bz2
gentoo-4b58ee2a650714c2f11d9cad49cea0ff4a833eb8.zip
dev-python/pandas: Deselect more failing tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pandas')
-rw-r--r--dev-python/pandas/pandas-2.2.2-r1.ebuild16
1 files changed, 15 insertions, 1 deletions
diff --git a/dev-python/pandas/pandas-2.2.2-r1.ebuild b/dev-python/pandas/pandas-2.2.2-r1.ebuild
index de3fa4b71cbf..0b4c750cbd70 100644
--- a/dev-python/pandas/pandas-2.2.2-r1.ebuild
+++ b/dev-python/pandas/pandas-2.2.2-r1.ebuild
@@ -175,6 +175,9 @@ python_test() {
# assumes that it will fail due to -mfpmath=387 on 32-bit arches,
# so it XPASS-es in every other scenario
tests/tools/test_to_timedelta.py::TestTimedeltas::test_to_timedelta_float
+
+ # newer matplotlib?
+ tests/plotting/frame/test_frame.py::TestDataFramePlots::test_group_subplot_invalid_column_name
)
if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then
@@ -183,6 +186,17 @@ python_test() {
)
fi
+ if has_version ">=dev-python/numexpr-2.10[${PYTHON_USEDEP}]"; then
+ EPYTEST_DESELECT+=(
+ 'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-python-left_right0-float64-/]'
+ 'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-python-left_right1-float64-/]'
+ 'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-pandas-left_right0-float64-/]'
+ 'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-pandas-left_right1-float64-/]'
+ 'tests/computation/test_eval.py::TestOperations::test_simple_arith_ops[numexpr-python]'
+ 'tests/computation/test_eval.py::TestOperations::test_simple_arith_ops[numexpr-pandas]'
+ )
+ fi
+
local -x LC_ALL=C.UTF-8
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
"${EPYTHON}" -c "import pandas; pandas.show_versions()" || die
@@ -191,7 +205,7 @@ python_test() {
# https://github.com/pandas-dev/pandas/issues/54907
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest pandas/tests \
- --no-strict-data-files \
+ --no-strict-data-files -o xfail_strict=false \
-m "not single_cpu and not slow and not network and not db" ||
die "Tests failed with ${EPYTHON}"
rm test-data.xml test_stata.dta || die