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"