zyskarch / pytestarch

Test framework for software architecture based on imports between modules.
https://zyskarch.github.io/pytestarch/latest
Apache License 2.0
66 stars 6 forks source link

Make matplotlib dependency optional #89

Closed jakobkogler closed 6 months ago

jakobkogler commented 7 months ago

Currently if you install this library, you automatically install all it's dependencies like matplotlib and pyparsing. Those however are not needed for the core functionality (running architecture tests).

I would propose of making those diagram related libraries optional. It's possible to do that with extras in Poetry: https://python-poetry.org/docs/pyproject/#extras

zyskarch commented 6 months ago

I've released a new version (2.0.0), which makes this possible. Thanks for the suggestion!