Skip to content

Commit fc6a862

Browse files
authored
add runtime dependency on libcuvs in cuvs wheels (#615)
`cuvs-cu{11,12}` wheels don't currently have a runtime dependency on `libcuvs-cu{11,12}`. They need one, for library-loading: https://github.com/rapidsai/cuvs/blob/e9983e17408e6bec6f2558f9df49be97a7255417/python/cuvs/cuvs/__init__.py#L19-L25 This was missed in #594. This PR adds it. ## Notes for Reviewers Adding for searchability... this bug can result in issues like this at runtime when using `cuvs` installed from wheels: > ImportError: libcuvs_c.so: cannot open shared object file: No such file or directory Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: #615
1 parent e9983e1 commit fc6a862

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dependencies.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ files:
132132
extras:
133133
table: project
134134
includes:
135+
- depends_on_libcuvs
135136
- depends_on_pylibraft
136137
- run_py_cuvs
137138
py_test_cuvs:

python/cuvs/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ license = { text = "Apache 2.0" }
3232
requires-python = ">=3.10"
3333
dependencies = [
3434
"cuda-python",
35+
"libcuvs==25.2.*,>=0.0.0a0",
3536
"numpy>=1.23,<3.0a0",
3637
"pylibraft==25.2.*,>=0.0.0a0",
3738
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

0 commit comments

Comments
 (0)