Skip to content

Commit eea757d

Browse files
Intron7timtreis
andauthored
Removed leiden as hard dep to stay BSD3 compliant (#972)
* remove leiden as hard dep * add tests to tox.ini --------- Co-authored-by: Tim Treis <[email protected]>
1 parent 0d5dfa9 commit eea757d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ dependencies = [
5454
"dask[array]>=2021.02.0,<=2024.11.2",
5555
"docrep>=0.3.1",
5656
"fsspec>=2021.11.0",
57-
"leidenalg>=0.8.2",
5857
"matplotlib>=3.3",
5958
"matplotlib-scalebar>=0.8.0",
6059
"networkx>=2.6.0",
@@ -83,6 +82,7 @@ dev = [
8382
"tox>=4.0.0",
8483
]
8584
test = [
85+
"scanpy[leiden]",
8686
"pytest>=7",
8787
"pytest-xdist>=3",
8888
"pytest-mock>=3.5.0",

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ deps =
7777
pytest-mock
7878
pytest-timeout
7979
# see: https://github.com/numba/llvmlite/issues/669
80-
extras = interactive
80+
extras =
81+
interactive
82+
test
8183
setenv = linux: PYTEST_FLAGS=--test-napari
8284
passenv = TOXENV,CI,CODECOV_*,GITHUB_ACTIONS,PYTEST_FLAGS,DISPLAY,XAUTHORITY,MPLBACKEND
8385
usedevelop = true

0 commit comments

Comments
 (0)