From 307f59b95abc5950b357d29a06cde55fa7b73279 Mon Sep 17 00:00:00 2001 From: Asher Mancinelli Date: Tue, 22 Jul 2025 14:08:02 -0700 Subject: [PATCH] [NFC] Add dev dependencies to project config Developing numba-cuda requires the pre-commit package, but this was not listed in the project configuration file. Additionally, to develop locally, one needs to install an appropriate test and cuda variant of the package. This PR adds two optional dependency targets, `[dev-cu12]` and `[dev-cu11]`, which install all the dependencies needed for the numba-cuda development process for a particular cuda version. ``` pip install -e '.[test-cu12,cu12]' pip install pre-commit pre-commit install pip install -e '.[dev-cu12]` pre-commit install ``` --- pyproject.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 476be59ef..a5a7456d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,21 @@ test-cu12 = [ "nvidia-curand-cu12", "pynvjitlink-cu12", ] +dev = [ + "pre-commit", + "numba-cuda[test]", +] +dev-cu11 = [ + "numba-cuda[test-cu11]", + "numba-cuda[test]", + "numba-cuda[dev]", +] +dev-cu12 = [ + "numba-cuda[test-cu12]", + "numba-cuda[test]", + "numba-cuda[dev]", +] + [project.urls] Homepage = "https://github.com/rapidsai/numba-cuda"