diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 5ac592a3025a..348754a03068 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -771,7 +771,7 @@ jobs: matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) build_type: pull-request container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000" - script: "env POLARS_VERSIONS=endpoints ci/test_wheel_cudf_polars.sh" + script: "env POLARS_VERSIONS=all ci/test_wheel_cudf_polars.sh" cudf-polars-polars-tests: needs: [wheel-build-cudf-polars, wheel-build-cudf-streaming, changed-files] permissions: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eb8d626cb3df..24d0f3761ba5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: hooks: - id: mypy additional_dependencies: [ - "polars>=1.35,<1.43", + "polars>=1.35,<1.45", "numpy>=1.26", "pyarrow-stubs>=19.0", "pyarrow>=19.0.0,<24.0.0", # https://github.com/NVIDIA/cudf/issues/22229 diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 5fc07b9a9174..a3b135795e06 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -78,7 +78,7 @@ dependencies: - packaging - pandas>=3.0.0,<3.0.4a0 - pandoc -- polars>=1.35,<1.43 +- polars>=1.35,<1.45 - pre-commit - psutil - pyarrow>=19.0.0 diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index 93d3f9284570..62cc53e734c5 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -78,7 +78,7 @@ dependencies: - packaging - pandas>=3.0.0,<3.0.4a0 - pandoc -- polars>=1.35,<1.43 +- polars>=1.35,<1.45 - pre-commit - psutil - pyarrow>=19.0.0 diff --git a/conda/environments/all_cuda-133_arch-aarch64.yaml b/conda/environments/all_cuda-133_arch-aarch64.yaml index 44960357580c..8bb83f69ea72 100644 --- a/conda/environments/all_cuda-133_arch-aarch64.yaml +++ b/conda/environments/all_cuda-133_arch-aarch64.yaml @@ -78,7 +78,7 @@ dependencies: - packaging - pandas>=3.0.0,<3.0.4a0 - pandoc -- polars>=1.35,<1.43 +- polars>=1.35,<1.45 - pre-commit - psutil - pyarrow>=19.0.0 diff --git a/conda/environments/all_cuda-133_arch-x86_64.yaml b/conda/environments/all_cuda-133_arch-x86_64.yaml index 148283b36a74..6e94422c9024 100644 --- a/conda/environments/all_cuda-133_arch-x86_64.yaml +++ b/conda/environments/all_cuda-133_arch-x86_64.yaml @@ -78,7 +78,7 @@ dependencies: - packaging - pandas>=3.0.0,<3.0.4a0 - pandoc -- polars>=1.35,<1.43 +- polars>=1.35,<1.45 - pre-commit - psutil - pyarrow>=19.0.0 diff --git a/conda/recipes/cudf-polars/recipe.yaml b/conda/recipes/cudf-polars/recipe.yaml index a59fedabd19a..15da8358c8bf 100644 --- a/conda/recipes/cudf-polars/recipe.yaml +++ b/conda/recipes/cudf-polars/recipe.yaml @@ -39,7 +39,7 @@ requirements: - rapidsmpf =${{ minor_version }} - kvikio =${{ minor_version }} - cudf-streaming =${{ version }} - - polars>=1.35,<1.43 + - polars>=1.35,<1.45 - packaging - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} - if: cuda_major == "12" diff --git a/dependencies.yaml b/dependencies.yaml index 78d11801b525..8553dfe3609e 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -722,7 +722,7 @@ files: test_cudf_polars_compat: output: none matrix: - polars_compat_version: ["1.35", "1.36", "1.37", "1.38", "1.39", "1.40", "1.41", "1.42"] + polars_compat_version: ["1.35", "1.36", "1.37", "1.38", "1.39", "1.40", "1.41", "1.42", "1.43", "1.44"] includes: - test_cudf_polars_compat channels: @@ -1110,7 +1110,7 @@ dependencies: # 'nvidia-ml-py' provides the 'pynvml' module - &nvidia_ml_py nvidia-ml-py>=12 - packaging - - polars>=1.35,<1.43 + - polars>=1.35,<1.45 - typing_extensions>=4.0.0 run_cudf_polars_dask: common: @@ -1964,5 +1964,13 @@ dependencies: polars_compat_version: "1.42" packages: - polars==1.42.* + - matrix: + polars_compat_version: "1.43" + packages: + - polars==1.43.* + - matrix: + polars_compat_version: "1.44" + packages: + - polars==1.44.* - matrix: packages: diff --git a/python/cudf_polars/cudf_polars/utils/versions.py b/python/cudf_polars/cudf_polars/utils/versions.py index 3c74ef2cb298..4977e92756be 100644 --- a/python/cudf_polars/cudf_polars/utils/versions.py +++ b/python/cudf_polars/cudf_polars/utils/versions.py @@ -19,6 +19,8 @@ POLARS_VERSION_LT_140 = POLARS_VERSION < parse("1.40.0") POLARS_VERSION_LT_141 = POLARS_VERSION < parse("1.41.0") POLARS_VERSION_LT_142 = POLARS_VERSION < parse("1.42.0") +POLARS_VERSION_LT_143 = POLARS_VERSION < parse("1.43.0") +POLARS_VERSION_LT_144 = POLARS_VERSION < parse("1.44.0") def _ensure_polars_version() -> None: diff --git a/python/cudf_polars/pyproject.toml b/python/cudf_polars/pyproject.toml index ea7546fdd31b..4c2428a2c859 100644 --- a/python/cudf_polars/pyproject.toml +++ b/python/cudf_polars/pyproject.toml @@ -26,7 +26,7 @@ dependencies = [ "kvikio==26.10.*,>=0.0.0a0", "nvidia-ml-py>=12", "packaging", - "polars>=1.35,<1.43", + "polars>=1.35,<1.45", "pylibcudf==26.10.*,>=0.0.0a0", "rapidsmpf==26.10.*,>=0.0.0a0", "typing_extensions>=4.0.0",