diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b019127335..50f26c7bc0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -104,7 +104,7 @@ repos: ) - id: verify-alpha-spec - repo: https://github.com/rapidsai/dependency-file-generator - rev: v1.16.0 + rev: v1.17.0 hooks: - id: rapids-dependency-file-generator args: ["--clean"] diff --git a/dependencies.yaml b/dependencies.yaml index f23f78f3d6..41f9adc26f 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -299,12 +299,21 @@ dependencies: matrices: - matrix: cuda: "12.*" + use_cuda_wheels: "true" packages: - nvidia-nvcomp-cu12==4.1.0.6 - matrix: cuda: "11.*" + use_cuda_wheels: "true" packages: - nvidia-nvcomp-cu11==4.1.0.6 + # if use_cuda_wheels=false is provided, do not add dependencies on any CUDA wheels + # (e.g. for DLFW and pip devcontainers) + - matrix: + use_cuda_wheels: "false" + packages: + # if no matching matrix selectors passed, list the unsuffixed packages + # (just as a source of documentation, as this populates pyproject.toml in source control) - matrix: packages: - nvidia-nvcomp==4.1.0.6 diff --git a/python/kvikio/pyproject.toml b/python/kvikio/pyproject.toml index 9ce0467ede..a1840f2d03 100644 --- a/python/kvikio/pyproject.toml +++ b/python/kvikio/pyproject.toml @@ -115,7 +115,7 @@ nvcomp_batch = "kvikio.nvcomp_codec:NvCompBatchCodec" [tool.rapids-build-backend] build-backend = "scikit_build_core.build" dependencies-file = "../../dependencies.yaml" -matrix-entry = "cuda_suffixed=true" +matrix-entry = "cuda_suffixed=true;use_cuda_wheels=true" requires = [ "cmake>=3.26.4,!=3.30.0", "cython>=3.0.0",