============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-svglib/src/svglib-1.2.0 collecting ... collected 0 items / 3 errors ==================================== ERRORS ==================================== _____________________ ERROR collecting tests/test_basic.py _____________________ ImportError while importing test module '/build/python-svglib/src/svglib-1.2.0/tests/test_basic.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_basic.py:25: in from svglib import svglib, utils svglib/svglib.py:41: in import cssselect2 E ModuleNotFoundError: No module named 'cssselect2' _____________________ ERROR collecting tests/test_fonts.py _____________________ ImportError while importing test module '/build/python-svglib/src/svglib-1.2.0/tests/test_fonts.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_fonts.py:8: in from svglib.svglib import ( svglib/svglib.py:41: in import cssselect2 E ModuleNotFoundError: No module named 'cssselect2' ____________________ ERROR collecting tests/test_samples.py ____________________ ImportError while importing test module '/build/python-svglib/src/svglib-1.2.0/tests/test_samples.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_samples.py:29: in from svglib import svglib svglib/svglib.py:41: in import cssselect2 E ModuleNotFoundError: No module named 'cssselect2' =============================== warnings summary =============================== :283 :283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR tests/test_basic.py ERROR tests/test_fonts.py ERROR tests/test_samples.py !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! ========================= 1 warning, 3 errors in 3.43s ========================= ==> ERROR: A failure occurred in check().  Aborting...