Skip to content

Commit b8ae9ab

Browse files
authored
Sync test dependencies between pyproject.toml and pixi.toml (#1811)
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
1 parent 653939e commit b8ae9ab

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cuda_core/pixi.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ pytest = "*"
1919
pytest-benchmark = "*"
2020
pytest-randomly = "*"
2121
pytest-repeat = "*"
22+
pytest-rerunfailures = "*"
23+
cloudpickle = "*"
24+
psutil = "*"
2225
pyglet = "*"
2326

2427
[feature.examples.dependencies]

cuda_core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ cu12 = ["cuda-bindings[all]==12.*"]
5656
cu13 = ["cuda-bindings[all]==13.*"]
5757

5858
[dependency-groups]
59-
test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4", "pytest-randomly", "pytest-repeat", "pytest-rerunfailures"]
59+
test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4", "pytest-benchmark", "pytest-randomly", "pytest-repeat", "pytest-rerunfailures", "cloudpickle", "psutil"]
6060
ml-dtypes = ["ml-dtypes>=0.5.4,<0.6.0"]
6161
test-cu12 = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cupy-cuda12x; python_version < '3.14'", "cuda-toolkit[cudart]==12.*"] # runtime headers needed by CuPy
6262
test-cu13 = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cupy-cuda13x; python_version < '3.14'", "cuda-toolkit[cudart]==13.*"] # runtime headers needed by CuPy

0 commit comments

Comments
 (0)