Skip to content

Commit 1a97099

Browse files
committed
declare conflicting extras
1 parent 40d1dcf commit 1a97099

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ wandb = [
5959
"wandb (>=0.19.10,<1.0.0)",
6060
]
6161
codecarbon = [
62-
"codecarbon (>=3.0.2, <3.1.0)",
62+
"codecarbon (==3.0.0)",
6363
"pynvml (>=8.0.4, <12.0.0)", # to avoid "attribute nvmlDeviceGetTotalEnergyConsumption not found" error
6464
]
6565
fastapi = [
@@ -75,6 +75,14 @@ opensearch = [
7575
"opensearch-py (>=3.0.0, <4.0.0)",
7676
]
7777

78+
[tool.uv]
79+
conflicts = [
80+
[
81+
{ extra = "codecarbon" },
82+
{ extra = "fastmcp" },
83+
]
84+
]
85+
7886
[dependency-groups]
7987
nb = [
8088
"ipykernel (>=6.29.5,<7.0.0)",
@@ -270,4 +278,3 @@ module = [
270278
"autointent.server.mcp",
271279
]
272280
ignore_errors = true
273-

0 commit comments

Comments
 (0)