From bac70fbc70226a5473b3a7c39854014659ddd0ca Mon Sep 17 00:00:00 2001 From: Bastien Orivel Date: Tue, 7 Oct 2025 16:36:00 +0200 Subject: [PATCH] Use dependency-groups.dev instead of dev-dependencies in uv 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") --- pyproject.toml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 388e55505..6b3b8b1f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,25 @@ dependencies = [ "voluptuous>=0.12.1", ] +[dependency-groups] +dev = [ + "coverage", + "mock", + "pre-commit", + "pyright", + "pytest", + "pytest-mock", + "pytest-taskgraph", + "responses", + "sphinx", + "sphinx-autobuild", + "sphinx-argparse", + "sphinx-book-theme >=1", + "sphinx-taskgraph", + "sphinxcontrib-mermaid", + "zstandard", +] + [project.optional-dependencies] load-image = ["zstandard"] orjson = ["orjson"] @@ -55,25 +74,6 @@ members = [ "packages/sphinx-taskgraph", ] -[tool.uv] -dev-dependencies = [ - "coverage", - "mock", - "pre-commit", - "pyright", - "pytest", - "pytest-mock", - "pytest-taskgraph", - "responses", - "sphinx", - "sphinx-autobuild", - "sphinx-argparse", - "sphinx-book-theme >=1", - "sphinx-taskgraph", - "sphinxcontrib-mermaid", - "zstandard", -] - ### Build [build-system] requires = ["hatchling"]