commit: 4b58ee2a650714c2f11d9cad49cea0ff4a833eb8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 7 17:25:12 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 7 17:26:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b58ee2a
dev-python/pandas: Deselect more failing tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pandas/pandas-2.2.2-r1.ebuild | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
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