Skip to content

Commit 1e130f2

Browse files
authored
Use dependency-groups.dev instead of dev-dependencies in uv (#805)
The latter is deprecated in favor of the the former. This fixes a warning when running stuff with uv ("warning: The `tool.uv.dev-dependencies` field (used in `pyproject.toml`) is deprecated and will be removed in a future release; use `dependency-groups.dev` instead")
1 parent 13866bf commit 1e130f2

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

pyproject.toml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,25 @@ dependencies = [
3434
"voluptuous>=0.12.1",
3535
]
3636

37+
[dependency-groups]
38+
dev = [
39+
"coverage",
40+
"mock",
41+
"pre-commit",
42+
"pyright",
43+
"pytest",
44+
"pytest-mock",
45+
"pytest-taskgraph",
46+
"responses",
47+
"sphinx",
48+
"sphinx-autobuild",
49+
"sphinx-argparse",
50+
"sphinx-book-theme >=1",
51+
"sphinx-taskgraph",
52+
"sphinxcontrib-mermaid",
53+
"zstandard",
54+
]
55+
3756
[project.optional-dependencies]
3857
load-image = ["zstandard"]
3958
orjson = ["orjson"]
@@ -55,25 +74,6 @@ members = [
5574
"packages/sphinx-taskgraph",
5675
]
5776

58-
[tool.uv]
59-
dev-dependencies = [
60-
"coverage",
61-
"mock",
62-
"pre-commit",
63-
"pyright",
64-
"pytest",
65-
"pytest-mock",
66-
"pytest-taskgraph",
67-
"responses",
68-
"sphinx",
69-
"sphinx-autobuild",
70-
"sphinx-argparse",
71-
"sphinx-book-theme >=1",
72-
"sphinx-taskgraph",
73-
"sphinxcontrib-mermaid",
74-
"zstandard",
75-
]
76-
7777
### Build
7878
[build-system]
7979
requires = ["hatchling"]

0 commit comments

Comments
 (0)