Skip to content

Commit 992856b

Browse files
authored
using uv.tools.conflicts (#1802)
1 parent 070553f commit 992856b

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

cuda_core/pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,20 @@ test-cu13 = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cupy-c
6565
test-cu12-ft = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cuda-toolkit[cudart]==12.*"]
6666
test-cu13-ft = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cuda-toolkit[cudart]==13.*"]
6767

68+
[tool.uv]
69+
conflicts = [
70+
[
71+
{ extra = "cu12" },
72+
{ extra = "cu13" },
73+
],
74+
[
75+
{ group = "test-cu12" },
76+
{ group = "test-cu13" },
77+
{ group = "test-cu12-ft" },
78+
{ group = "test-cu13-ft" },
79+
],
80+
]
81+
6882
[project.urls]
6983
homepage = "https://nvidia.github.io/cuda-python/"
7084
documentation = "https://nvidia.github.io/cuda-python/cuda-core/"

cuda_pathfinder/pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ test-cu13 = [
5757
{ include-group = "host" },
5858
]
5959

60+
[tool.uv]
61+
conflicts = [
62+
[
63+
{ group = "cu12" },
64+
{ group = "cu13" },
65+
],
66+
[
67+
{ group = "test-cu12" },
68+
{ group = "test-cu13" },
69+
],
70+
]
71+
6072
[project.urls]
6173
Repository = "https://github.com/NVIDIA/cuda-python"
6274
Documentation = "https://nvidia.github.io/cuda-python/"

0 commit comments

Comments
 (0)