From a4fbcb483d286fd2a9fbbd179acdfaef321f2966 Mon Sep 17 00:00:00 2001 From: Marco Edward Gorelli Date: Fri, 27 Dec 2024 11:00:05 +0000 Subject: [PATCH] feat: Relax cuDF minimum version to 24.10.0 (#1649) relax cudf minimm --- narwhals/_pandas_like/group_by.py | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/narwhals/_pandas_like/group_by.py b/narwhals/_pandas_like/group_by.py index 27d072f8a..38428325f 100644 --- a/narwhals/_pandas_like/group_by.py +++ b/narwhals/_pandas_like/group_by.py @@ -128,6 +128,9 @@ def __iter__(self) -> Iterator[tuple[Any, PandasLikeDataFrame]]: if ( self._df._implementation is Implementation.PANDAS and self._df._backend_version < (2, 2) + ) or ( + self._df._implementation is Implementation.CUDF + and self._df._backend_version < (2024, 12) ): # pragma: no cover for key in indices: yield (key, self._from_native_frame(self._grouped.get_group(key))) diff --git a/pyproject.toml b/pyproject.toml index 385924440..195335467 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ classifiers = [ ] [project.optional-dependencies] -cudf = ["cudf>=24.12.0"] +cudf = ["cudf>=24.10.0"] modin = ["modin"] pandas = ["pandas>=0.25.3"] polars = ["polars>=0.20.3"]