From e34226e1d67214a76d2521891d12d7a98a3f3ab4 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 6 Mar 2026 09:49:54 -0500 Subject: [PATCH] chore: use dep groups Signed-off-by: Henry Schreiner --- pyproject.in.toml | 5 +++++ pyproject.toml | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pyproject.in.toml b/pyproject.in.toml index 6b72375..e68743f 100644 --- a/pyproject.in.toml +++ b/pyproject.in.toml @@ -41,10 +41,15 @@ optional = [ re2 = [ "google-re2 >=1.1", ] + +[dependency-groups] tests = [ "pytest >=9", "typing-extensions >=4.15", ] +dev = [ + "pytest", +] [project.urls] "Source Code" = "https://github.com/cpburnz/python-pathspec" diff --git a/pyproject.toml b/pyproject.toml index 081b8da..b0f35b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,10 +41,15 @@ optional = [ re2 = [ "google-re2 >=1.1", ] -tests = [ - "pytest >=9", + +[dependency-groups] +benchmarks = [ + "pytest >=9; python_version>='3.10'", "typing-extensions >=4.15", ] +dev = [ + "pytest", +] [project.urls] "Source Code" = "https://github.com/cpburnz/python-pathspec"