Skip to content

Commit d226bc9

Browse files
committed
REL v25.12.00 release
1 parent 4ba276d commit d226bc9

File tree

9 files changed

+228
-227
lines changed

9 files changed

+228
-227
lines changed

.pre-commit-config.yaml

Lines changed: 160 additions & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -2,163 +2,164 @@
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-
^cpp/cmake/patches/cutlass/build-export[.]patch$
87-
- repo: https://github.com/pre-commit/pre-commit-hooks
88-
rev: v5.0.0
89-
hooks:
90-
- id: check-json
91-
- repo: https://github.com/rapidsai/pre-commit-hooks
92-
rev: v1.2.0
93-
hooks:
94-
- id: verify-copyright
95-
name: verify-copyright-raft
96-
args: [--fix, --spdx]
97-
files: |
98-
(?x)
99-
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|bat)$|
100-
CMakeLists[.]txt$|
101-
CMakeLists_standalone[.]txt$|
102-
meta[.]yaml$|
103-
^[.]pre-commit-config[.]yaml$|
104-
pyproject[.]toml$|
105-
recipe[.]yaml$|
106-
dependencies[.]yaml$|
107-
Makefile$|
108-
pytest[.]ini$|
109-
[.]flake8$
110-
exclude: |
111-
(?x)^(
112-
cpp/include/raft/neighbors/detail/faiss_select/|
113-
cpp/include/raft/thirdparty/|
114-
docs/source/sphinxext/github_link[.]py$|
115-
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$|
116-
cpp/include/raft/core/mdarray[.]hpp$|
117-
cpp/include/raft/core/device_container_policy[.]hpp$|
118-
cpp/include/raft/core/host_container_policy[.]hpp$
119-
)
120-
- id: verify-copyright
121-
name: verify-copyright-scikit-learn
122-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
123-
files: |
124-
(?x)^(
125-
docs/source/sphinxext/github_link[.]py$
126-
)
127-
- id: verify-copyright
128-
name: verify-copyright-sandia
129-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
130-
files: |
131-
(?x)^(
132-
cpp/include/raft/core/mdarray[.]hpp$|
133-
cpp/include/raft/core/device_container_policy[.]hpp$|
134-
cpp/include/raft/core/host_container_policy[.]hpp$
135-
)
136-
- id: verify-copyright
137-
name: verify-copyright-faiss
138-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
139-
files: |
140-
(?x)^(
141-
cpp/include/raft/neighbors/detail/faiss_select/
142-
)
143-
- id: verify-copyright
144-
name: verify-copyright-numpy
145-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
146-
files: |
147-
(?x)^(
148-
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$
149-
)
150-
- id: verify-alpha-spec
151-
- id: verify-codeowners
152-
args: [--fix, --project-prefix=raft]
153-
- repo: https://github.com/rapidsai/dependency-file-generator
154-
rev: v1.20.0
155-
hooks:
156-
- id: rapids-dependency-file-generator
157-
args: ["--clean", "--warn-all", "--strict"]
158-
- repo: https://github.com/shellcheck-py/shellcheck-py
159-
rev: v0.10.0.1
160-
hooks:
161-
- id: shellcheck
162-
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+
^cpp/cmake/patches/cutlass/build-export[.]patch$
85+
- repo: https://github.com/pre-commit/pre-commit-hooks
86+
rev: v5.0.0
87+
hooks:
88+
- id: check-json
89+
- repo: https://github.com/rapidsai/pre-commit-hooks
90+
rev: v1.2.0
91+
hooks:
92+
- id: verify-copyright
93+
name: verify-copyright-raft
94+
args: [--fix, --spdx]
95+
files: |
96+
(?x)
97+
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|bat)$|
98+
CMakeLists[.]txt$|
99+
CMakeLists_standalone[.]txt$|
100+
meta[.]yaml$|
101+
^[.]pre-commit-config[.]yaml$|
102+
pyproject[.]toml$|
103+
recipe[.]yaml$|
104+
dependencies[.]yaml$|
105+
Makefile$|
106+
pytest[.]ini$|
107+
[.]flake8$
108+
exclude: |
109+
(?x)^(
110+
cpp/include/raft/neighbors/detail/faiss_select/|
111+
cpp/include/raft/thirdparty/|
112+
docs/source/sphinxext/github_link[.]py$|
113+
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$|
114+
cpp/include/raft/core/mdarray[.]hpp$|
115+
cpp/include/raft/core/device_container_policy[.]hpp$|
116+
cpp/include/raft/core/host_container_policy[.]hpp$
117+
)
118+
- id: verify-copyright
119+
name: verify-copyright-scikit-learn
120+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
121+
files: |
122+
(?x)^(
123+
docs/source/sphinxext/github_link[.]py$
124+
)
125+
- id: verify-copyright
126+
name: verify-copyright-sandia
127+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
128+
files: |
129+
(?x)^(
130+
cpp/include/raft/core/mdarray[.]hpp$|
131+
cpp/include/raft/core/device_container_policy[.]hpp$|
132+
cpp/include/raft/core/host_container_policy[.]hpp$
133+
)
134+
- id: verify-copyright
135+
name: verify-copyright-faiss
136+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
137+
files: |
138+
(?x)^(
139+
cpp/include/raft/neighbors/detail/faiss_select/
140+
)
141+
- id: verify-copyright
142+
name: verify-copyright-numpy
143+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
144+
files: |
145+
(?x)^(
146+
cpp/include/raft/core/detail/mdspan_numpy_serializer[.]hpp$
147+
)
148+
- id: verify-alpha-spec
149+
args:
150+
- --fix
151+
- --mode
152+
- release
153+
- id: verify-codeowners
154+
args: [--fix, --project-prefix=raft]
155+
- repo: https://github.com/rapidsai/dependency-file-generator
156+
rev: v1.20.0
157+
hooks:
158+
- id: rapids-dependency-file-generator
159+
args: ["--clean", "--warn-all", "--strict"]
160+
- repo: https://github.com/shellcheck-py/shellcheck-py
161+
rev: v0.10.0.1
162+
hooks:
163+
- id: shellcheck
163164
default_language_version:
164-
python: python3
165+
python: python3

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dependencies:
1919
- cupy>=13.6.0
2020
- cxx-compiler
2121
- cython>=3.0.0,<3.2.0a0
22-
- dask-cuda==25.12.*,>=0.0.0a0
23-
- distributed-ucxx==0.47.*,>=0.0.0a0
22+
- dask-cuda==25.12.*
23+
- distributed-ucxx==0.47.*
2424
- doxygen>=1.8.20
2525
- gcc_linux-aarch64=14.*
2626
- graphviz
@@ -29,21 +29,21 @@ dependencies:
2929
- libcurand-dev
3030
- libcusolver-dev
3131
- libcusparse-dev
32-
- libucxx==0.47.*,>=0.0.0a0
32+
- libucxx==0.47.*
3333
- nccl>=2.19
3434
- ninja
3535
- numpy>=1.23,<3.0a0
3636
- numpydoc
3737
- pre-commit
3838
- pydata-sphinx-theme
39-
- pylibraft==25.12.*,>=0.0.0a0
39+
- pylibraft==25.12.*
4040
- pytest-cov
4141
- pytest<9.0.0a0
4242
- rapids-build-backend>=0.4.0,<0.5.0.dev0
43-
- rapids-dask-dependency==25.12.*,>=0.0.0a0
44-
- rapids-logger==0.2.*,>=0.0.0a0
43+
- rapids-dask-dependency==25.12.*
44+
- rapids-logger==0.2.*
4545
- recommonmark
46-
- rmm==25.12.*,>=0.0.0a0
46+
- rmm==25.12.*
4747
- scikit-build-core>=0.10.0
4848
- scikit-learn
4949
- scipy

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dependencies:
1919
- cupy>=13.6.0
2020
- cxx-compiler
2121
- cython>=3.0.0,<3.2.0a0
22-
- dask-cuda==25.12.*,>=0.0.0a0
23-
- distributed-ucxx==0.47.*,>=0.0.0a0
22+
- dask-cuda==25.12.*
23+
- distributed-ucxx==0.47.*
2424
- doxygen>=1.8.20
2525
- gcc_linux-64=14.*
2626
- graphviz
@@ -29,21 +29,21 @@ dependencies:
2929
- libcurand-dev
3030
- libcusolver-dev
3131
- libcusparse-dev
32-
- libucxx==0.47.*,>=0.0.0a0
32+
- libucxx==0.47.*
3333
- nccl>=2.19
3434
- ninja
3535
- numpy>=1.23,<3.0a0
3636
- numpydoc
3737
- pre-commit
3838
- pydata-sphinx-theme
39-
- pylibraft==25.12.*,>=0.0.0a0
39+
- pylibraft==25.12.*
4040
- pytest-cov
4141
- pytest<9.0.0a0
4242
- rapids-build-backend>=0.4.0,<0.5.0.dev0
43-
- rapids-dask-dependency==25.12.*,>=0.0.0a0
44-
- rapids-logger==0.2.*,>=0.0.0a0
43+
- rapids-dask-dependency==25.12.*
44+
- rapids-logger==0.2.*
4545
- recommonmark
46-
- rmm==25.12.*,>=0.0.0a0
46+
- rmm==25.12.*
4747
- scikit-build-core>=0.10.0
4848
- scikit-learn
4949
- scipy

0 commit comments

Comments
 (0)