From bf564af669ecc69df588618a02a1896df5b68b25 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Thu, 20 Feb 2025 07:48:21 -0600 Subject: [PATCH 1/2] Merge pull request #639 from bdice/nvcomp-4.2.0.11 Update to nvcomp 4.2.0.11 --- conda/environments/all_cuda-118_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-118_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-128_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-128_arch-x86_64.yaml | 2 +- conda/recipes/kvikio/conda_build_config.yaml | 2 +- dependencies.yaml | 8 ++++---- python/kvikio/pyproject.toml | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/conda/environments/all_cuda-118_arch-aarch64.yaml b/conda/environments/all_cuda-118_arch-aarch64.yaml index a273b0f84d..bd157e2719 100644 --- a/conda/environments/all_cuda-118_arch-aarch64.yaml +++ b/conda/environments/all_cuda-118_arch-aarch64.yaml @@ -24,7 +24,7 @@ dependencies: - numpy>=1.23,<3.0a0 - numpydoc - nvcc_linux-aarch64=11.8 -- nvcomp==4.1.0.6 +- nvcomp==4.2.0.11 - packaging - pre-commit - pytest diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 0cad725d17..94ac32ea4f 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -26,7 +26,7 @@ dependencies: - numpy>=1.23,<3.0a0 - numpydoc - nvcc_linux-64=11.8 -- nvcomp==4.1.0.6 +- nvcomp==4.2.0.11 - packaging - pre-commit - pytest diff --git a/conda/environments/all_cuda-128_arch-aarch64.yaml b/conda/environments/all_cuda-128_arch-aarch64.yaml index a467c15c12..702b1cd818 100644 --- a/conda/environments/all_cuda-128_arch-aarch64.yaml +++ b/conda/environments/all_cuda-128_arch-aarch64.yaml @@ -24,7 +24,7 @@ dependencies: - numcodecs !=0.12.0 - numpy>=1.23,<3.0a0 - numpydoc -- nvcomp==4.1.0.6 +- nvcomp==4.2.0.11 - packaging - pre-commit - pytest diff --git a/conda/environments/all_cuda-128_arch-x86_64.yaml b/conda/environments/all_cuda-128_arch-x86_64.yaml index 4ec80c166d..8b66e747ef 100644 --- a/conda/environments/all_cuda-128_arch-x86_64.yaml +++ b/conda/environments/all_cuda-128_arch-x86_64.yaml @@ -24,7 +24,7 @@ dependencies: - numcodecs !=0.12.0 - numpy>=1.23,<3.0a0 - numpydoc -- nvcomp==4.1.0.6 +- nvcomp==4.2.0.11 - packaging - pre-commit - pytest diff --git a/conda/recipes/kvikio/conda_build_config.yaml b/conda/recipes/kvikio/conda_build_config.yaml index 4c751ab8ab..ab8928e4bd 100644 --- a/conda/recipes/kvikio/conda_build_config.yaml +++ b/conda/recipes/kvikio/conda_build_config.yaml @@ -33,4 +33,4 @@ libcurl_version: - "==8.5.0" nvcomp_version: - - "=4.1.0.6" + - "=4.2.0.11" diff --git a/dependencies.yaml b/dependencies.yaml index 7fa3b5d011..42fac88fb9 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -297,7 +297,7 @@ dependencies: common: - output_types: conda packages: - - nvcomp==4.1.0.6 + - nvcomp==4.2.0.11 specific: - output_types: [requirements, pyproject] matrices: @@ -305,12 +305,12 @@ dependencies: cuda: "12.*" use_cuda_wheels: "true" packages: - - nvidia-nvcomp-cu12==4.1.0.6 + - nvidia-nvcomp-cu12==4.2.0.11 - matrix: cuda: "11.*" use_cuda_wheels: "true" packages: - - nvidia-nvcomp-cu11==4.1.0.6 + - nvidia-nvcomp-cu11==4.2.0.11 # if use_cuda_wheels=false is provided, do not add dependencies on any CUDA wheels # (e.g. for DLFW and pip devcontainers) - matrix: @@ -320,7 +320,7 @@ dependencies: # (just as a source of documentation, as this populates pyproject.toml in source control) - matrix: packages: - - nvidia-nvcomp==4.1.0.6 + - nvidia-nvcomp==4.2.0.11 depends_on_libkvikio: common: - output_types: conda diff --git a/python/kvikio/pyproject.toml b/python/kvikio/pyproject.toml index a1840f2d03..d5aefc9c63 100644 --- a/python/kvikio/pyproject.toml +++ b/python/kvikio/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [ "libkvikio==25.2.*,>=0.0.0a0", "numcodecs !=0.12.0", "numpy>=1.23,<3.0a0", - "nvidia-nvcomp==4.1.0.6", + "nvidia-nvcomp==4.2.0.11", "packaging", "zarr>=2.0.0,<3.0.0a0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. From a9bc84c5f7b2cd1137a5f3b1fa4005df4d79bf94 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Thu, 20 Feb 2025 11:34:55 -0500 Subject: [PATCH 2/2] Add `verify-codeowners` hook (#611) Issue: https://github.com/rapidsai/pre-commit-hooks/issues/61 Authors: - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - Mads R. B. Kristensen (https://github.com/madsbk) - James Lamb (https://github.com/jameslamb) URL: https://github.com/rapidsai/kvikio/pull/611 --- .github/CODEOWNERS | 15 ++++++++------- .pre-commit-config.yaml | 7 +++++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b237a67888..f5fe2c9d4c 100755 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -5,19 +5,20 @@ cpp/ @rapidsai/kvikio-cpp-codeowners python/ @rapidsai/kvikio-python-codeowners #cmake code owners -**/CMakeLists.txt @rapidsai/kvikio-cmake-codeowners +CMakeLists.txt @rapidsai/kvikio-cmake-codeowners **/cmake/ @rapidsai/kvikio-cmake-codeowners +*.cmake @rapidsai/kvikio-cmake-codeowners build.sh @rapidsai/kvikio-cmake-codeowners python/setup.py @rapidsai/kvikio-cmake-codeowners @rapidsai/kvikio-python-codeowners #CI code owners /.github/ @rapidsai/ci-codeowners /ci/ @rapidsai/ci-codeowners -/.pre-commit-config.yaml @rapidsai/ci-codeowners #packaging code owners -/.devcontainer/ @rapidsai/packaging-codeowners -/conda/ @rapidsai/packaging-codeowners -/dependencies.yaml @rapidsai/packaging-codeowners -/build.sh @rapidsai/packaging-codeowners -pyproject.toml @rapidsai/packaging-codeowners +/.pre-commit-config.yaml @rapidsai/packaging-codeowners +/.devcontainer/ @rapidsai/packaging-codeowners +/conda/ @rapidsai/packaging-codeowners +dependencies.yaml @rapidsai/packaging-codeowners +/build.sh @rapidsai/packaging-codeowners +pyproject.toml @rapidsai/packaging-codeowners diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c21cdf377..d7185880e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2024, NVIDIA CORPORATION. +# Copyright (c) 2019-2025, NVIDIA CORPORATION. repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -90,12 +90,13 @@ repos: ^CHANGELOG.md$ ) - repo: https://github.com/rapidsai/pre-commit-hooks - rev: v0.4.0 + rev: v0.6.0 hooks: - id: verify-copyright files: | (?x) [.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$| + ^[.]pre-commit-config[.]yaml$| CMakeLists[.]txt$| meta[.]yaml$ exclude: | @@ -103,6 +104,8 @@ repos: cpp/cmake/Modules/FindCUDAToolkit[.]cmake$ ) - id: verify-alpha-spec + - id: verify-codeowners + args: [--fix, --project-prefix=kvikio] - repo: https://github.com/rapidsai/dependency-file-generator rev: v1.17.0 hooks: