From 2157800c905733d920696a5e414cf45418e5e1eb Mon Sep 17 00:00:00 2001 From: Gregor Sturm Date: Tue, 15 Oct 2024 09:04:25 +0200 Subject: [PATCH] Add optional dependencies to [test] (#562) * Update pyproject.toml * Update test.yaml * Update CHANGELOG.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/test.yaml | 2 +- CHANGELOG.md | 4 ++++ pyproject.toml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 76ee1c6b8..2bfe23276 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -52,7 +52,7 @@ jobs: python -m pip install --upgrade pip wheel - name: Install dependencies run: | - pip install ${{ matrix.pip-flags }} ".[dev,test,rpack,dandelion,diversity,parasail]" + pip install ${{ matrix.pip-flags }} ".[dev,test]" - name: Test env: MPLBACKEND: agg diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fbdd0765..948438ac5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning][]. - Add a `mask_obs` argument to `tl.clonotype_network` that allows to compute the clonotype networks on a subset of the cells ([#557](https://github.com/scverse/scirpy/pull/557)). +### Fixes + +- Add all optional dependencies required for testing to the `[test]` dependency group ([#562](https://github.com/scverse/scirpy/pull/562)). + ## v0.18.0 ### Additions diff --git a/pyproject.toml b/pyproject.toml index fa27fcd8a..44e5b5444 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,10 @@ test = [ 'pytest', 'coverage', 'black', + 'sc-dandelion>=0.3.5', + 'scikit-bio>=0.5.7', + 'rectangle-packer', + 'parasail != 1.2.1', ] dandelion = [ 'sc-dandelion>=0.3.5',