Skip to content

Commit c212ab9

Browse files
committed
REL v26.02.00 release
1 parent 8037f6c commit c212ab9

File tree

9 files changed

+227
-226
lines changed

9 files changed

+227
-226
lines changed

.pre-commit-config.yaml

Lines changed: 159 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -2,162 +2,163 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
repos:
5-
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
7-
hooks:
8-
- id: trailing-whitespace
9-
- id: end-of-file-fixer
10-
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.14.1
12-
hooks:
13-
- id: ruff-check
14-
args: [--fix]
15-
- id: ruff-format
16-
- repo: https://github.com/pre-commit/mirrors-mypy
17-
rev: 'v1.3.0'
18-
hooks:
19-
- id: mypy
20-
additional_dependencies: [types-cachetools]
21-
args: ["--config-file=pyproject.toml",
22-
"python/pylibraft/pylibraft",
23-
"python/raft-dask/raft_dask"]
24-
pass_filenames: false
25-
- repo: https://github.com/PyCQA/pydocstyle
26-
rev: 6.1.1
27-
hooks:
28-
- id: pydocstyle
29-
# https://github.com/PyCQA/pydocstyle/issues/603
30-
additional_dependencies: [toml]
31-
args: ["--config=pyproject.toml"]
32-
- repo: https://github.com/pre-commit/mirrors-clang-format
33-
rev: v20.1.4
34-
hooks:
35-
- id: clang-format
36-
types_or: [c, c++, cuda]
37-
args: ["-fallback-style=none", "-style=file", "-i"]
38-
exclude: cpp/include/raft/thirdparty/.*
39-
- repo: local
40-
hooks:
41-
- id: no-deprecationwarning
42-
name: no-deprecationwarning
43-
description: 'Enforce that DeprecationWarning is not introduced (use FutureWarning instead)'
44-
entry: '(category=|\s)DeprecationWarning[,)]'
45-
language: pygrep
46-
types_or: [python, cython]
47-
- id: cmake-format
48-
name: cmake-format
49-
entry: ./cpp/scripts/run-cmake-format.sh cmake-format
50-
language: python
51-
types: [cmake]
52-
exclude: .*/thirdparty/.*
53-
# Note that pre-commit autoupdate does not update the versions
54-
# of dependencies, so we'll have to update this manually.
55-
additional_dependencies:
56-
- cmakelang==0.6.13
57-
verbose: true
58-
require_serial: true
59-
- id: cmake-lint
60-
name: cmake-lint
61-
entry: ./cpp/scripts/run-cmake-format.sh cmake-lint
62-
language: python
63-
types: [cmake]
64-
# Note that pre-commit autoupdate does not update the versions
65-
# of dependencies, so we'll have to update this manually.
66-
additional_dependencies:
67-
- cmakelang==0.6.13
68-
verbose: true
69-
require_serial: true
70-
exclude: .*/thirdparty/.*
71-
- id: include-check
72-
name: include-check
73-
entry: python ./cpp/scripts/include_checker.py cpp/bench cpp/include cpp/tests
74-
pass_filenames: false
75-
language: python
76-
additional_dependencies: [gitpython]
77-
- repo: https://github.com/codespell-project/codespell
78-
rev: v2.2.2
79-
hooks:
80-
- id: codespell
81-
additional_dependencies: [tomli]
82-
args: ["--toml", "pyproject.toml"]
83-
exclude: |
84-
(?x)
85-
^CHANGELOG[.]md$|
86-
- repo: https://github.com/pre-commit/pre-commit-hooks
87-
rev: v5.0.0
88-
hooks:
89-
- id: check-json
90-
- repo: https://github.com/rapidsai/pre-commit-hooks
91-
rev: v1.2.0
92-
hooks:
93-
- id: verify-copyright
94-
name: verify-copyright-raft
95-
args: [--fix, --spdx]
96-
files: |
97-
(?x)
98-
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|bat)$|
99-
CMakeLists[.]txt$|
100-
CMakeLists_standalone[.]txt$|
101-
meta[.]yaml$|
102-
^[.]pre-commit-config[.]yaml$|
103-
pyproject[.]toml$|
104-
recipe[.]yaml$|
105-
dependencies[.]yaml$|
106-
Makefile$|
107-
pytest[.]ini$|
108-
[.]flake8$
109-
exclude: |
110-
(?x)^(
111-
cpp/include/raft/neighbors/detail/faiss_select/|
112-
cpp/include/raft/thirdparty/|
113-
docs/source/sphinxext/github_link[.]py$|
114-
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$|
115-
cpp/include/raft/core/mdarray[.]hpp$|
116-
cpp/include/raft/core/device_container_policy[.]hpp$|
117-
cpp/include/raft/core/host_container_policy[.]hpp$
118-
)
119-
- id: verify-copyright
120-
name: verify-copyright-scikit-learn
121-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
122-
files: |
123-
(?x)^(
124-
docs/source/sphinxext/github_link[.]py$
125-
)
126-
- id: verify-copyright
127-
name: verify-copyright-sandia
128-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
129-
files: |
130-
(?x)^(
131-
cpp/include/raft/core/mdarray[.]hpp$|
132-
cpp/include/raft/core/device_container_policy[.]hpp$|
133-
cpp/include/raft/core/host_container_policy[.]hpp$
134-
)
135-
- id: verify-copyright
136-
name: verify-copyright-faiss
137-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
138-
files: |
139-
(?x)^(
140-
cpp/include/raft/neighbors/detail/faiss_select/
141-
)
142-
- id: verify-copyright
143-
name: verify-copyright-numpy
144-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
145-
files: |
146-
(?x)^(
147-
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$
148-
)
149-
- id: verify-alpha-spec
150-
- id: verify-codeowners
151-
args: [--fix, --project-prefix=raft]
152-
- repo: https://github.com/rapidsai/dependency-file-generator
153-
rev: v1.20.0
154-
hooks:
155-
- id: rapids-dependency-file-generator
156-
args: ["--clean", "--warn-all", "--strict"]
157-
- repo: https://github.com/shellcheck-py/shellcheck-py
158-
rev: v0.10.0.1
159-
hooks:
160-
- id: shellcheck
161-
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v5.0.0
7+
hooks:
8+
- id: trailing-whitespace
9+
- id: end-of-file-fixer
10+
- repo: https://github.com/astral-sh/ruff-pre-commit
11+
rev: v0.14.1
12+
hooks:
13+
- id: ruff-check
14+
args: [--fix]
15+
- id: ruff-format
16+
- repo: https://github.com/pre-commit/mirrors-mypy
17+
rev: 'v1.3.0'
18+
hooks:
19+
- id: mypy
20+
additional_dependencies: [types-cachetools]
21+
args: ["--config-file=pyproject.toml", "python/pylibraft/pylibraft", "python/raft-dask/raft_dask"]
22+
pass_filenames: false
23+
- repo: https://github.com/PyCQA/pydocstyle
24+
rev: 6.1.1
25+
hooks:
26+
- id: pydocstyle
27+
# https://github.com/PyCQA/pydocstyle/issues/603
28+
additional_dependencies: [toml]
29+
args: ["--config=pyproject.toml"]
30+
- repo: https://github.com/pre-commit/mirrors-clang-format
31+
rev: v20.1.4
32+
hooks:
33+
- id: clang-format
34+
types_or: [c, c++, cuda]
35+
args: ["-fallback-style=none", "-style=file", "-i"]
36+
exclude: cpp/include/raft/thirdparty/.*
37+
- repo: local
38+
hooks:
39+
- id: no-deprecationwarning
40+
name: no-deprecationwarning
41+
description: 'Enforce that DeprecationWarning is not introduced (use FutureWarning instead)'
42+
entry: '(category=|\s)DeprecationWarning[,)]'
43+
language: pygrep
44+
types_or: [python, cython]
45+
- id: cmake-format
46+
name: cmake-format
47+
entry: ./cpp/scripts/run-cmake-format.sh cmake-format
48+
language: python
49+
types: [cmake]
50+
exclude: .*/thirdparty/.*
51+
# Note that pre-commit autoupdate does not update the versions
52+
# of dependencies, so we'll have to update this manually.
53+
additional_dependencies:
54+
- cmakelang==0.6.13
55+
verbose: true
56+
require_serial: true
57+
- id: cmake-lint
58+
name: cmake-lint
59+
entry: ./cpp/scripts/run-cmake-format.sh cmake-lint
60+
language: python
61+
types: [cmake]
62+
# Note that pre-commit autoupdate does not update the versions
63+
# of dependencies, so we'll have to update this manually.
64+
additional_dependencies:
65+
- cmakelang==0.6.13
66+
verbose: true
67+
require_serial: true
68+
exclude: .*/thirdparty/.*
69+
- id: include-check
70+
name: include-check
71+
entry: python ./cpp/scripts/include_checker.py cpp/bench cpp/include cpp/tests
72+
pass_filenames: false
73+
language: python
74+
additional_dependencies: [gitpython]
75+
- repo: https://github.com/codespell-project/codespell
76+
rev: v2.2.2
77+
hooks:
78+
- id: codespell
79+
additional_dependencies: [tomli]
80+
args: ["--toml", "pyproject.toml"]
81+
exclude: |
82+
(?x)
83+
^CHANGELOG[.]md$|
84+
- repo: https://github.com/pre-commit/pre-commit-hooks
85+
rev: v5.0.0
86+
hooks:
87+
- id: check-json
88+
- repo: https://github.com/rapidsai/pre-commit-hooks
89+
rev: v1.2.0
90+
hooks:
91+
- id: verify-copyright
92+
name: verify-copyright-raft
93+
args: [--fix, --spdx]
94+
files: |
95+
(?x)
96+
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|bat)$|
97+
CMakeLists[.]txt$|
98+
CMakeLists_standalone[.]txt$|
99+
meta[.]yaml$|
100+
^[.]pre-commit-config[.]yaml$|
101+
pyproject[.]toml$|
102+
recipe[.]yaml$|
103+
dependencies[.]yaml$|
104+
Makefile$|
105+
pytest[.]ini$|
106+
[.]flake8$
107+
exclude: |
108+
(?x)^(
109+
cpp/include/raft/neighbors/detail/faiss_select/|
110+
cpp/include/raft/thirdparty/|
111+
docs/source/sphinxext/github_link[.]py$|
112+
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$|
113+
cpp/include/raft/core/mdarray[.]hpp$|
114+
cpp/include/raft/core/device_container_policy[.]hpp$|
115+
cpp/include/raft/core/host_container_policy[.]hpp$
116+
)
117+
- id: verify-copyright
118+
name: verify-copyright-scikit-learn
119+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
120+
files: |
121+
(?x)^(
122+
docs/source/sphinxext/github_link[.]py$
123+
)
124+
- id: verify-copyright
125+
name: verify-copyright-sandia
126+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
127+
files: |
128+
(?x)^(
129+
cpp/include/raft/core/mdarray[.]hpp$|
130+
cpp/include/raft/core/device_container_policy[.]hpp$|
131+
cpp/include/raft/core/host_container_policy[.]hpp$
132+
)
133+
- id: verify-copyright
134+
name: verify-copyright-faiss
135+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
136+
files: |
137+
(?x)^(
138+
cpp/include/raft/neighbors/detail/faiss_select/
139+
)
140+
- id: verify-copyright
141+
name: verify-copyright-numpy
142+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
143+
files: |
144+
(?x)^(
145+
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$
146+
)
147+
- id: verify-alpha-spec
148+
args:
149+
- --fix
150+
- --mode
151+
- release
152+
- id: verify-codeowners
153+
args: [--fix, --project-prefix=raft]
154+
- repo: https://github.com/rapidsai/dependency-file-generator
155+
rev: v1.20.0
156+
hooks:
157+
- id: rapids-dependency-file-generator
158+
args: ["--clean", "--warn-all", "--strict"]
159+
- repo: https://github.com/shellcheck-py/shellcheck-py
160+
rev: v0.10.0.1
161+
hooks:
162+
- id: shellcheck
162163
default_language_version:
163-
python: python3
164+
python: python3

conda/environments/all_cuda-129_arch-aarch64.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ dependencies:
1818
- cupy>=13.6.0
1919
- cxx-compiler
2020
- cython>=3.0.0,<3.2.0
21-
- dask-cuda==26.2.*,>=0.0.0a0
22-
- distributed-ucxx==0.48.*,>=0.0.0a0
21+
- dask-cuda==26.2.*
22+
- distributed-ucxx==0.48.*
2323
- doxygen>=1.8.20
2424
- gcc_linux-aarch64=14.*
2525
- graphviz
@@ -28,21 +28,21 @@ dependencies:
2828
- libcurand-dev
2929
- libcusolver-dev
3030
- libcusparse-dev
31-
- libucxx==0.48.*,>=0.0.0a0
31+
- libucxx==0.48.*
3232
- nccl>=2.19
3333
- ninja
3434
- numpy>=1.23,<3.0
3535
- numpydoc
3636
- pre-commit
3737
- pydata-sphinx-theme
38-
- pylibraft==26.2.*,>=0.0.0a0
38+
- pylibraft==26.2.*
3939
- pytest-cov
4040
- pytest<9.0.0
4141
- rapids-build-backend>=0.4.0,<0.5.0
42-
- rapids-dask-dependency==26.2.*,>=0.0.0a0
43-
- rapids-logger==0.2.*,>=0.0.0a0
42+
- rapids-dask-dependency==26.2.*
43+
- rapids-logger==0.2.*
4444
- recommonmark
45-
- rmm==26.2.*,>=0.0.0a0
45+
- rmm==26.2.*
4646
- scikit-build-core>=0.11.0
4747
- scikit-learn
4848
- scipy

conda/environments/all_cuda-129_arch-x86_64.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ dependencies:
1818
- cupy>=13.6.0
1919
- cxx-compiler
2020
- cython>=3.0.0,<3.2.0
21-
- dask-cuda==26.2.*,>=0.0.0a0
22-
- distributed-ucxx==0.48.*,>=0.0.0a0
21+
- dask-cuda==26.2.*
22+
- distributed-ucxx==0.48.*
2323
- doxygen>=1.8.20
2424
- gcc_linux-64=14.*
2525
- graphviz
@@ -28,21 +28,21 @@ dependencies:
2828
- libcurand-dev
2929
- libcusolver-dev
3030
- libcusparse-dev
31-
- libucxx==0.48.*,>=0.0.0a0
31+
- libucxx==0.48.*
3232
- nccl>=2.19
3333
- ninja
3434
- numpy>=1.23,<3.0
3535
- numpydoc
3636
- pre-commit
3737
- pydata-sphinx-theme
38-
- pylibraft==26.2.*,>=0.0.0a0
38+
- pylibraft==26.2.*
3939
- pytest-cov
4040
- pytest<9.0.0
4141
- rapids-build-backend>=0.4.0,<0.5.0
42-
- rapids-dask-dependency==26.2.*,>=0.0.0a0
43-
- rapids-logger==0.2.*,>=0.0.0a0
42+
- rapids-dask-dependency==26.2.*
43+
- rapids-logger==0.2.*
4444
- recommonmark
45-
- rmm==26.2.*,>=0.0.0a0
45+
- rmm==26.2.*
4646
- scikit-build-core>=0.11.0
4747
- scikit-learn
4848
- scipy

0 commit comments

Comments
 (0)