From f4791b35d91c038d7428625cfcc21f76864bb065 Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Fri, 4 Oct 2024 08:23:54 +0000 Subject: [PATCH] Numba>=0.59 needs pandas>=2.1 --- python/cudf/cudf_pandas_tests/test_cudf_pandas.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/cudf/cudf_pandas_tests/test_cudf_pandas.py b/python/cudf/cudf_pandas_tests/test_cudf_pandas.py index 9a2db0f3578..0c4e0fb5ce0 100644 --- a/python/cudf/cudf_pandas_tests/test_cudf_pandas.py +++ b/python/cudf/cudf_pandas_tests/test_cudf_pandas.py @@ -698,6 +698,11 @@ def test_rolling_win_type(): version.parse(numba_version) < version.parse("0.59"), reason="Requires Numba 0.59 to fix segfaults on ARM. See https://github.com/numba/llvmlite/pull/1009", ) +@pytest.mark.xfail( + version.parse(numba_version) >= version.parse("0.59") + and PANDAS_VERSION < version.parse("2.1"), + reason="numba.generated_jit removed in 0.59, requires pandas >= 2.1", +) def test_rolling_apply_numba_engine(): def weighted_mean(x): arr = np.ones((1, x.shape[1]))