From ef7ca8ac0164263b92dc650711d9a17128238da9 Mon Sep 17 00:00:00 2001 From: Brian McFee Date: Sun, 8 Nov 2026 17:57:22 -0500 Subject: [PATCH] fixing dependency groups --- .github/workflows/ci.yml | 4 ++-- pyproject.toml | 13 +++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d6b741..0166056 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,9 +85,9 @@ jobs: - name: Install bopp and test dependencies run: | if [ "${{ matrix.variant }}" == "minimal" ]; then - uv pip install --prefix "$CONDA_PREFIX" --resolution=lowest-direct -e ".[test]" + uv pip install --prefix "$CONDA_PREFIX" --resolution=lowest-direct --group test -e . else - uv pip install --prefix "$CONDA_PREFIX" -e ".[test]" + uv pip install --prefix "$CONDA_PREFIX" --group test -e . fi - name: Environment info diff --git a/pyproject.toml b/pyproject.toml index 0c4256a..3bb8858 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,8 @@ dataframe = [ "pandas>=2.3.0", "pyarrow>=18.1.0", ] + +[dependency-groups] docs = [ "sphinx>=8.2.0", "numpydoc>=1.9.0", @@ -41,19 +43,14 @@ benchmark = [ "jams>=0.3.5", "tabulate>=0.10.0", ] - -[dependency-groups] lint = [ + { include-group = "test" }, + { include-group = "docs" }, "codespell>=2.4.0", "mypy>=1.15.0", "ruff>=0.17.0", - "numpydoc>=1.9.0", - "sphinx>=8.2.0", "pandas-stubs>=2.2.3.241126", "pyarrow-stubs>=17.12", - "pytest>=9.0.0", - "pandas>=2.3.0", - "pyarrow>=18.1.0", ] [tool.ruff.lint] @@ -101,7 +98,7 @@ exclude_files = [ ] [tool.hatch.envs.default] -features = [ +dependency-groups = [ "test", "benchmark", ]