Skip to content

Commit 02ed55d

Browse files
committed
remove cli/graphviz extras
1 parent 74a18d2 commit 02ed55d

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

mona/sessions.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,7 @@ async def eval_async(self, *args: Any, **kwargs: Any) -> Any:
410410
return await self._eval_async(*args, **kwargs)
411411

412412
def dot_graph(self, *args: Any, **kwargs: Any) -> Any:
413-
"""Generate :class:`~graphviz.Digraph` for the task DAG.
414-
415-
Requires `Graphviz <https://graphviz.readthedocs.io/>`_.
416-
"""
413+
"""Generate :class:`~graphviz.Digraph` for the task DAG."""
417414
from graphviz import Digraph # type: ignore
418415

419416
tasks: Union[List[Hash], FrozenSet[Hash]]

pyproject.toml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ skip-string-normalization = true
44

55
[tool.poetry]
66
name = "mona"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
description = "Calculation framework"
99
readme = "README.md"
1010
authors = ["Jan Hermann <dev@janhermann.cz>"]
@@ -24,29 +24,23 @@ classifiers = [
2424
[tool.poetry.dependencies]
2525
python = "^3.7"
2626
typing_extensions = "^3.6"
27-
graphviz = { version = "^0.10.0", optional = true }
27+
graphviz = "^0.10.0"
28+
toml = "^0.9.6"
29+
click = "^7.0"
2830
numpy = { version = "^1.15", optional = true }
2931
textx = { version = "~1.5", optional = true }
3032
pytest = { version = "^3.8", optional = true }
3133
coverage = { version = "^4.5", optional = true }
3234
sphinx = { version = "^1.8", optional = true }
33-
toml = { version = "^0.9.6", optional = true }
34-
click = { version = "^7.0", optional = true }
3535
pytest-mock = { version = "^1.10", optional = true }
3636
sphinxcontrib-asyncio = { version = "^0.2.0", optional = true }
3737
jinja2 = { version = "^2.10", optional = true }
3838

3939
[tool.poetry.extras]
40-
cli = ["click", "toml"]
41-
graphviz = ["graphviz"]
42-
sci = ["numpy", "textx", "jinja"]
40+
sci = ["numpy", "textx", "jinja2"]
4341
test = ["pytest", "pytest-mock"]
4442
cov = ["coverage"]
45-
doc = [
46-
"sphinx",
47-
"toml",
48-
"sphinxcontrib-asyncio",
49-
]
43+
doc = ["sphinx", "sphinxcontrib-asyncio"]
5044

5145
[tool.poetry.dev-dependencies]
5246
mypy = "^0.641.0"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ whitelist_externals =
5353
deps =
5454
codecov: codecov
5555
commands =
56-
poetry install --no-dev -E graphviz -E test {env:EXTRAS1:}
56+
poetry install --no-dev -E test {env:EXTRAS1:}
5757
!coverage: pytest -v
5858
coverage: coverage run -m pytest -vs
5959
codecov: codecov

0 commit comments

Comments
 (0)