Importing MutableSequence from collections is deprecated and leads to annoying warnings for dependent projects using pytest:
venv/lib/python3.7/site-packages/svgpathtools/path.py:9
.../venv/lib/python3.7/site-packages/svgpathtools/path.py:9: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
from collections import MutableSequence
-- Docs: https://docs.pytest.org/en/latest/warnings.html
This fix should be backward compatible (reference).
Importing
MutableSequence
fromcollections
is deprecated and leads to annoying warnings for dependent projects usingpytest
:This fix should be backward compatible (reference).