running pytest /usr/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( Searching for mistune Reading https://pypi.org/simple/mistune/ /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release warnings.warn( Downloading https://files.pythonhosted.org/packages/55/12/b6cf3319d5bc5bf0526b93c7e25e8a9a5b0f925345f9aff9160191f32c39/mistune-2.0.1-py2.py3-none-any.whl#sha256=6361adbdd2763cd7a31ce53b5f127b762ac543b72f3891f8465f418a1456be59 Best match: mistune 2.0.1 Processing mistune-2.0.1-py2.py3-none-any.whl Installing mistune-2.0.1-py2.py3-none-any.whl to /build/m2r/src/m2r-0.2.1/.eggs Installed /build/m2r/src/m2r-0.2.1/.eggs/mistune-2.0.1-py3.10.egg running egg_info writing m2r.egg-info/PKG-INFO writing dependency_links to m2r.egg-info/dependency_links.txt writing entry points to m2r.egg-info/entry_points.txt writing requirements to m2r.egg-info/requires.txt writing top-level names to m2r.egg-info/top_level.txt reading manifest file 'm2r.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file 'm2r.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/m2r/src/m2r-0.2.1 collected 0 items / 2 errors ==================================== ERRORS ==================================== ______________________ ERROR collecting tests/test_cli.py ______________________ tests/test_cli.py:13: in from m2r import parse_from_file, main, options m2r.py:59: in class RestBlockGrammar(mistune.BlockGrammar): E AttributeError: module 'mistune' has no attribute 'BlockGrammar' ___________________ ERROR collecting tests/test_renderer.py ____________________ tests/test_renderer.py:11: in from m2r import prolog, convert m2r.py:59: in class RestBlockGrammar(mistune.BlockGrammar): E AttributeError: module 'mistune' has no attribute 'BlockGrammar' =============================== warnings summary =============================== tests/test_renderer.py:80 /build/m2r/src/m2r-0.2.1/tests/test_renderer.py:80: DeprecationWarning: invalid escape sequence '\ ' prolog + '\nabc def\ :raw-html-m2r:`
`\nghi' + '\n', tests/test_renderer.py:247 /build/m2r/src/m2r-0.2.1/tests/test_renderer.py:247: DeprecationWarning: invalid escape sequence '\ ' '\na co:\ ``de`` and `RefLink `_ here.\n', tests/test_renderer.py:255 /build/m2r/src/m2r-0.2.1/tests/test_renderer.py:255: DeprecationWarning: invalid escape sequence '\ ' '\na `RefLink `_ and co:\ ``de`` here.\n', tests/test_renderer.py:707 /build/m2r/src/m2r-0.2.1/tests/test_renderer.py:707: DeprecationWarning: invalid escape sequence '\ ' 'This is a\ [#fn-1]_ ' tests/test_renderer.py:708 /build/m2r/src/m2r-0.2.1/tests/test_renderer.py:708: DeprecationWarning: invalid escape sequence '\ ' 'footnote\ [#fn-2]_ ref\ [#fn-ref]_ with rst [#a]_.', -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR tests/test_cli.py - AttributeError: module 'mistune' has no attribute '... ERROR tests/test_renderer.py - AttributeError: module 'mistune' has no attrib... !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ======================== 5 warnings, 2 errors in 0.99s ========================= ==> ERROR: A failure occurred in check().  Aborting...