Skip to content

wheels: exclude libkvikio.so from 'auditwheel repair' - #5663

Merged
rapids-bot[bot] merged 1 commit into
rapidsai:release/26.10from
jameslamb:fix/kvikio-linking
Sep 11, 2026
Merged

wheels: exclude libkvikio.so from 'auditwheel repair'#5663
rapids-bot[bot] merged 1 commit into
rapidsai:release/26.10from
jameslamb:fix/kvikio-linking

Conversation

@jameslamb

@jameslamb jameslamb commented Sep 10, 2026

Copy link
Copy Markdown
Member

As of NVIDIA/cuvs#2565 (I think), libcuvs.so requires libkvikio.so at runtime.

mkdir -p ./delete-me
pip download \
  -d ./delete-me \
  --no-deps \
  --index-url https://pypi.anaconda.org/rapidsai-wheels-nightly/simple/ \
  'libcuvs-cu13>=26.10.0a0'
cd ./delete-me
unzip ./libcuvs*.whl
$ ldd libcuvs/lib64/libcuvs.so
        ...
        libkvikio.so => not found
        ...

auditwheel repair sees that dependency when it resolves libcugraph.so's dependency on libcuvs.so, and so CI is failing here like this:

ValueError: Cannot repair wheel, because required library "libkvikio.so" could not be located

(build link)

This fixes that by excluding libkvikio.so from auditwheel repair. This is safe to do because libcuvs-cu13 has a runtime dependency on libkvikio-cu13 to provide that.

Notes for Reviewers

A similar change was needed in cuml: NVIDIA/cuml#8604

@copy-pr-bot

copy-pr-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@jameslamb

Copy link
Copy Markdown
Member Author

/ok to test

@jameslamb jameslamb added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 10, 2026
@jameslamb jameslamb changed the title WIP: wheels: exclude libkvikio.so from 'auditwheel repair' wheels: exclude libkvikio.so from 'auditwheel repair' Sep 10, 2026
@jameslamb
jameslamb requested a review from bdice September 10, 2026 16:15
@jameslamb
jameslamb marked this pull request as ready for review September 10, 2026 16:15
@jameslamb
jameslamb requested a review from a team as a code owner September 10, 2026 16:15
@jameslamb

Copy link
Copy Markdown
Member Author

/merge

@rapids-bot
rapids-bot Bot merged commit c29a4cd into rapidsai:release/26.10 Sep 11, 2026
350 of 367 checks passed
@jameslamb
jameslamb deleted the fix/kvikio-linking branch September 11, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants