When I upgrade from 3.0.0 to 3.1.0, importing a module that defines a StateChart subclass railse with ModuleNotFoundError: No module named pydot during the class definition. This happens at import before any of my user code runs. I think something changed with the new documentation features that makes pydot a hard dependency instead of optional on the [diagrams] extra.
Does this track? I can investigate farther if helpful.
src/app_fsm/my_state_machine.py:176: in <module>
class MyStateMachine(MyStateChart):
.venv/.../statemachine/factory.py:95: in __init__
cls._expand_docstring()
.venv/.../statemachine/factory.py:105: in _expand_docstring
from .contrib.diagram.formatter import formatter
.venv/.../statemachine/contrib/diagram/__init__.py:7: in <module>
from .renderers.dot import DotRenderer
.venv/.../statemachine/contrib/diagram/renderers/dot.py:9: in <module>
import pydot
E ModuleNotFoundError: No module named 'pydot'
Thanks for your work on this project!
When I upgrade from 3.0.0 to 3.1.0, importing a module that defines a StateChart subclass railse with
ModuleNotFoundError: No module named pydotduring the class definition. This happens at import before any of my user code runs. I think something changed with the new documentation features that makes pydot a hard dependency instead of optional on the [diagrams] extra.Does this track? I can investigate farther if helpful.
Thanks for your work on this project!