diff --git a/mypy.ini b/mypy.ini index 87242265..dddd808b 100644 --- a/mypy.ini +++ b/mypy.ini @@ -26,10 +26,6 @@ ignore_missing_imports = True ; https://github.com/requests/toolbelt/issues/279 ignore_missing_imports = True -[mypy-readme_renderer,readme_renderer.*] -; https://github.com/pypa/readme_renderer/issues/166 -ignore_missing_imports = True - [mypy-rfc3986] ignore_missing_imports = True diff --git a/setup.cfg b/setup.cfg index 19cfe643..7308cecf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,7 +36,7 @@ packages = python_requires = >=3.7 install_requires= pkginfo >= 1.8.1 - readme-renderer >= 21.0 + readme-renderer >= 35.0 requests >= 2.20 requests-toolbelt >= 0.8.0, != 0.9.0 urllib3 >= 1.26.0 diff --git a/tests/test_check.py b/tests/test_check.py index 1ac056fd..d83f29eb 100644 --- a/tests/test_check.py +++ b/tests/test_check.py @@ -204,7 +204,8 @@ def test_fails_rst_no_content(tmp_path, capsys, caplog): "twine.commands.check", logging.ERROR, "`long_description` has syntax errors in markup " - "and would not be rendered on PyPI.\n", + "and would not be rendered on PyPI.\n" + "No content rendered from RST source.", ), ]