From 966c713e63b9aafa945f97901a4a8fc6a8d03422 Mon Sep 17 00:00:00 2001 From: jfs Date: Fri, 1 Nov 2024 15:31:24 +0300 Subject: [PATCH 1/2] feat(uv) use dependency-groups.dev in pyproject.toml See [legacy tool.uv.dev-dependencies in uv docs](https://docs.astral.sh/uv/concepts/dependencies/#default-groups) It fixes #22 --- {{cookiecutter.project_name}}/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_name}}/pyproject.toml index d3fbbc7..417d1a5 100644 --- a/{{cookiecutter.project_name}}/pyproject.toml +++ b/{{cookiecutter.project_name}}/pyproject.toml @@ -23,8 +23,8 @@ Homepage = "https://{{cookiecutter.author_github_handle}}.github.io/{{cookiecutt Repository = "https://github.com/{{cookiecutter.author_github_handle}}/{{cookiecutter.project_name}}" Documentation = "https://{{cookiecutter.author_github_handle}}.github.io/{{cookiecutter.project_name}}/" -[tool.uv] -dev-dependencies = [ +[dependency-groups] +dev = [ "pytest>=7.2.0", "pre-commit>=2.20.0", "tox-uv>=1.11.3", From a4b62032db798ff35b4b30b59a529480c666ecdd Mon Sep 17 00:00:00 2001 From: jfs Date: Fri, 1 Nov 2024 19:34:11 +0300 Subject: [PATCH 2/2] build(uv): bump uv version to 0.4.29 0.4.6 doesn't support dependency-groups.dev --- .github/actions/setup-python-env/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-python-env/action.yml b/.github/actions/setup-python-env/action.yml index c61a2cd..b75af71 100644 --- a/.github/actions/setup-python-env/action.yml +++ b/.github/actions/setup-python-env/action.yml @@ -9,7 +9,7 @@ inputs: uv-version: description: "uv version to use" required: true - default: "0.4.6" + default: "0.4.29" runs: using: "composite"