Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-129_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ dependencies:
- pytest-xdist
- python-confluent-kafka>=2.8.0,<2.9.0
- python-xxhash
- python>=3.10,<3.14
- python>=3.11,<3.14
- pytorch>=2.4.0
- rapids-build-backend>=0.4.0,<0.5.0
- rapids-dask-dependency==26.4.*,>=0.0.0a0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-129_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ dependencies:
- pytest-xdist
- python-confluent-kafka>=2.8.0,<2.9.0
- python-xxhash
- python>=3.10,<3.14
- python>=3.11,<3.14
- pytorch>=2.4.0
- rapids-build-backend>=0.4.0,<0.5.0
- rapids-dask-dependency==26.4.*,>=0.0.0a0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-131_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ dependencies:
- pytest-xdist
- python-confluent-kafka>=2.8.0,<2.9.0
- python-xxhash
- python>=3.10,<3.14
- python>=3.11,<3.14
- rapids-build-backend>=0.4.0,<0.5.0
- rapids-dask-dependency==26.4.*,>=0.0.0a0
- rapids-logger==0.2.*,>=0.0.0a0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-131_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ dependencies:
- pytest-xdist
- python-confluent-kafka>=2.8.0,<2.9.0
- python-xxhash
- python>=3.10,<3.14
- python>=3.11,<3.14
- rapids-build-backend>=0.4.0,<0.5.0
- rapids-dask-dependency==26.4.*,>=0.0.0a0
- rapids-logger==0.2.*,>=0.0.0a0
Expand Down
4 changes: 1 addition & 3 deletions conda/recipes/cudf-polars/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build:

requirements:
host:
- python >=3.10
- python >=3.11
- pip
- rapids-build-backend >=0.4.0,<0.5.0
- setuptools>=77.0.0
Expand All @@ -38,8 +38,6 @@ requirements:
- pylibcudf =${{ version }}
- polars>=1.30,<1.36
- ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
- if: python == "3.10"
then: typing_extensions
ignore_run_exports:
by_name:
- cuda-version
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/custreamz/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2018-2025, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2018-2026, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
schema_version: 1

Expand Down Expand Up @@ -26,7 +26,7 @@ build:

requirements:
host:
- python >=3.10
- python >=3.11
- pip
- rapids-build-backend >=0.4.0,<0.5.0
- setuptools>=77.0.0
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/dask-cudf/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2018-2025, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2018-2026, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
schema_version: 1

Expand Down Expand Up @@ -26,7 +26,7 @@ build:

requirements:
host:
- python >=3.10
- python >=3.11
- pip
- rapids-build-backend >=0.4.0,<0.5.0
- setuptools>=77.0.0
Expand Down
6 changes: 1 addition & 5 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,6 @@ dependencies:
specific:
- output_types: conda
matrices:
- matrix:
py: "3.10"
packages:
- python=3.10
- matrix:
py: "3.11"
packages:
Expand All @@ -682,7 +678,7 @@ dependencies:
- python=3.13
- matrix:
packages:
- python>=3.10,<3.14
- python>=3.11,<3.14
run_common:
common:
- output_types: [conda, requirements, pyproject]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2019-2025, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2019-2026, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

[tool.mypy]
Expand Down Expand Up @@ -41,7 +41,7 @@ quiet-level = 3

[tool.ruff]
line-length = 79
target-version = "py310"
target-version = "py311"

[tool.ruff.lint]
typing-modules = ["cudf._typing"]
Expand Down
5 changes: 2 additions & 3 deletions python/cudf/cudf/core/_internals/aggregation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2020-2025, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2020-2026, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
from __future__ import annotations

Expand All @@ -15,8 +15,7 @@

if TYPE_CHECKING:
from collections.abc import Callable

from typing_extensions import Self
from typing import Self

_agg_name_map = {
"COUNT_VALID": "COUNT",
Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/buffer/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@

import math
import weakref
from typing import TYPE_CHECKING, Any, Literal
from typing import TYPE_CHECKING, Any, Literal, Self

import numpy
from typing_extensions import Self

import pylibcudf
import rmm
Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/buffer/spillable_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
import time
import weakref
from threading import RLock
from typing import TYPE_CHECKING, Any, Literal
from typing import TYPE_CHECKING, Any, Literal, Self

import numpy
import nvtx
from typing_extensions import Self

import rmm

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@

import warnings
from functools import cached_property
from typing import TYPE_CHECKING, Any, Literal, cast
from typing import TYPE_CHECKING, Any, Literal, Self, cast

import numpy as np
import pandas as pd
import pyarrow as pa
from typing_extensions import Self

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/column.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
from decimal import Decimal
from functools import cached_property
from types import SimpleNamespace
from typing import TYPE_CHECKING, Any, ClassVar, Literal, cast
from typing import TYPE_CHECKING, Any, ClassVar, Literal, Self, cast

import cupy as cp
import numpy as np
import pandas as pd
import pyarrow as pa
import pyarrow.compute as pc
from pandas.core.arrays.arrow.extension_types import ArrowIntervalType
from typing_extensions import Self

import pylibcudf as plc
from rmm.pylibrmm.stream import DEFAULT_STREAM
Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
if TYPE_CHECKING:
import datetime
from collections.abc import Callable

from typing_extensions import Self
from typing import Self

from cudf._typing import (
ColumnBinaryOperand,
Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@

import warnings
from decimal import Decimal
from typing import TYPE_CHECKING, Any, cast
from typing import TYPE_CHECKING, Any, Self, cast

import numpy as np
import pandas as pd
import pyarrow as pa
from packaging import version
from typing_extensions import Self

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
from __future__ import annotations

import functools
from typing import TYPE_CHECKING, Any, Literal
from typing import TYPE_CHECKING, Any, Literal, Self

import pandas as pd
import pyarrow as pa
from pandas.core.arrays.arrow.extension_types import ArrowIntervalType
from typing_extensions import Self

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@

import itertools
from functools import cached_property
from typing import TYPE_CHECKING, Any, Literal, cast
from typing import TYPE_CHECKING, Any, Literal, Self, cast

import numpy as np
import pandas as pd
import pyarrow as pa
from typing_extensions import Self

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/numerical.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
from __future__ import annotations

import functools
from typing import TYPE_CHECKING, Any, cast
from typing import TYPE_CHECKING, Any, Self, cast

import cupy as cp
import numpy as np
import pandas as pd
import pyarrow as pa
from typing_extensions import Self

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
import re
import warnings
from functools import lru_cache
from typing import TYPE_CHECKING, Any, cast
from typing import TYPE_CHECKING, Any, Self, cast

import numpy as np
import pandas as pd
import pyarrow as pa
from typing_extensions import Self

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@

if TYPE_CHECKING:
from collections.abc import Mapping

from typing_extensions import Self
from typing import Self

from cudf._typing import DtypeObj
from cudf.core.column.string import StringColumn
Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/column/temporal_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@

if TYPE_CHECKING:
from collections.abc import Sequence

from typing_extensions import Self
from typing import Self

from cudf._typing import ColumnLike, DtypeObj, ScalarLike
from cudf.core.column.numerical import NumericalColumn
Expand Down
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/column_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from cudf.utils.dtypes import is_mixed_with_object_dtype

if TYPE_CHECKING:
from typing_extensions import Self
from typing import Self

from cudf._typing import DtypeObj
from cudf.core.column import ColumnBase
Expand Down
6 changes: 2 additions & 4 deletions python/cudf/cudf/core/copy_types.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
from dataclasses import dataclass
from typing import TYPE_CHECKING, Any, cast

from typing_extensions import Self
from typing import TYPE_CHECKING, Any, Self, cast

import cudf
from cudf.utils.dtypes import SIZE_TYPE_DTYPE
Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Sequence,
)
from copy import deepcopy
from typing import TYPE_CHECKING, Any, Literal
from typing import TYPE_CHECKING, Any, Literal, Self, assert_never

import cupy
import numba
Expand All @@ -34,7 +34,6 @@
from nvtx import annotate
from pandas.io.formats import console
from pandas.io.formats.printing import pprint_thing
from typing_extensions import Self, assert_never

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@

if TYPE_CHECKING:
from collections.abc import Callable, Mapping

from typing_extensions import Self
from typing import Self

from cudf._typing import Dtype, DtypeObj
from cudf.core.buffer import Buffer
Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
import operator
import warnings
from collections.abc import Mapping
from typing import TYPE_CHECKING, Any, Literal
from typing import TYPE_CHECKING, Any, Literal, Self

import cupy
import numpy as np
import pandas as pd
import pyarrow as pa
from typing_extensions import Self

import pylibcudf as plc

Expand Down
3 changes: 1 addition & 2 deletions python/cudf/cudf/core/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@
import warnings
from collections.abc import Hashable, MutableMapping
from functools import cache, cached_property
from typing import TYPE_CHECKING, Any, Literal, cast
from typing import TYPE_CHECKING, Any, Literal, Self, cast

import cupy
import numpy as np
import pandas as pd
import pyarrow as pa
from typing_extensions import Self

import pylibcudf as plc

Expand Down
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/indexed_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
TYPE_CHECKING,
Any,
Literal,
Self,
TypeVar,
cast,
overload,
Expand All @@ -25,7 +26,6 @@
import numpy as np
import pandas as pd
import pyarrow as pa
from typing_extensions import Self

import pylibcudf as plc

Expand Down
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/multiindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@

if TYPE_CHECKING:
from collections.abc import Generator, Hashable, MutableMapping
from typing import Self

import pyarrow as pa
from typing_extensions import Self

from cudf._typing import DataFrameOrSeries, Dtype
from cudf.core.dataframe import DataFrame
Expand Down
Loading