From 1fd409757cae514f33d7402c832f7a5289e135bd Mon Sep 17 00:00:00 2001 From: "Daniel.y" Date: Sat, 3 Jan 2026 19:11:43 +0800 Subject: [PATCH] fix: Migrate from deprecated tool.uv to PEP 735 dependency-groups Migrate to modern Python packaging standard (PEP 735) - Replace [tool.uv] with [dependency-groups] - Remove deprecated [tool.uv.sources] section - Eliminates UV deprecation warnings - Follows PEP 735 standard (accepted October 2024) Co-authored-by: Daniel.y --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1556793..7e21d89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -173,13 +173,10 @@ exclude_lines = [ "@abstractmethod", ] -[tool.uv] -dev-dependencies = [ +[dependency-groups] +dev = [ "pytest>=8.4.2", "pytest-asyncio>=0.24.0", "pytest-cov>=7.0.0", "coverage>=7.11.0", ] - -[tool.uv.sources] -# Use PyPI for all dependencies