From 68cddf6c4b20792caaecc50121119e8d8cf98d45 Mon Sep 17 00:00:00 2001 From: Andy Jost Date: Mon, 23 Mar 2026 15:40:47 -0700 Subject: [PATCH] Sync test dependencies between pyproject.toml and pixi.toml Add missing test deps so both dependency surfaces are consistent: - pyproject.toml [dependency-groups] test: add pytest-benchmark, cloudpickle, psutil - pixi.toml [feature.test.dependencies]: add pytest-rerunfailures, cloudpickle, psutil This ensures CI always runs cloudpickle and psutil tests rather than silently skipping them via importorskip. Made-with: Cursor --- cuda_core/pixi.toml | 3 +++ cuda_core/pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cuda_core/pixi.toml b/cuda_core/pixi.toml index 6ea843f494..fc359f2e5e 100644 --- a/cuda_core/pixi.toml +++ b/cuda_core/pixi.toml @@ -19,6 +19,9 @@ pytest = "*" pytest-benchmark = "*" pytest-randomly = "*" pytest-repeat = "*" +pytest-rerunfailures = "*" +cloudpickle = "*" +psutil = "*" pyglet = "*" [feature.examples.dependencies] diff --git a/cuda_core/pyproject.toml b/cuda_core/pyproject.toml index 9b3e5a37c5..562920214a 100644 --- a/cuda_core/pyproject.toml +++ b/cuda_core/pyproject.toml @@ -56,7 +56,7 @@ cu12 = ["cuda-bindings[all]==12.*"] cu13 = ["cuda-bindings[all]==13.*"] [dependency-groups] -test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4", "pytest-randomly", "pytest-repeat", "pytest-rerunfailures"] +test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4", "pytest-benchmark", "pytest-randomly", "pytest-repeat", "pytest-rerunfailures", "cloudpickle", "psutil"] ml-dtypes = ["ml-dtypes>=0.5.4,<0.6.0"] test-cu12 = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cupy-cuda12x; python_version < '3.14'", "cuda-toolkit[cudart]==12.*"] # runtime headers needed by CuPy test-cu13 = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cupy-cuda13x; python_version < '3.14'", "cuda-toolkit[cudart]==13.*"] # runtime headers needed by CuPy