Hi, thanks for this nice project! I'm still playing with the examples, and tried to use Python3.12, got this error:
Since Python3.9, MutableMapping has moved to collections.abc. The issue is on the tornado dependency.
Deprecated since version 3.3, will be removed in version 3.10: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.9.
(-c4-py3.12) ❯ pystructurizr dev --view lc4.transport_containerview
Setting up live preview of view lc4.transport_containerview...
Generating diagram...
[...]
File "/-c4/.venv/lib/python3.12/site-packages/tornado/web.py", line 86, in <module>
from tornado import httputil
File "/-c4/.venv/lib/python3.12/site-packages/tornado/httputil.py", line 106, in <module>
class HTTPHeaders(collections.MutableMapping):
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'MutableMapping'
[...]
Hi, thanks for this nice project! I'm still playing with the examples, and tried to use Python3.12, got this error:
Since Python3.9,
MutableMapping
has moved tocollections.abc
. The issue is on the tornado dependency.