Skip to content

Commit 4223ee1

Browse files
authored
Require latest version of readme_renderer (#892)
1 parent 36695ab commit 4223ee1

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

mypy.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ ignore_missing_imports = True
2626
; https://github.com/requests/toolbelt/issues/279
2727
ignore_missing_imports = True
2828

29-
[mypy-readme_renderer,readme_renderer.*]
30-
; https://github.com/pypa/readme_renderer/issues/166
31-
ignore_missing_imports = True
32-
3329
[mypy-rfc3986]
3430
ignore_missing_imports = True
3531

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ packages =
3636
python_requires = >=3.7
3737
install_requires=
3838
pkginfo >= 1.8.1
39-
readme-renderer >= 21.0
39+
readme-renderer >= 35.0
4040
requests >= 2.20
4141
requests-toolbelt >= 0.8.0, != 0.9.0
4242
urllib3 >= 1.26.0

tests/test_check.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ def test_fails_rst_no_content(tmp_path, capsys, caplog):
204204
"twine.commands.check",
205205
logging.ERROR,
206206
"`long_description` has syntax errors in markup "
207-
"and would not be rendered on PyPI.\n",
207+
"and would not be rendered on PyPI.\n"
208+
"No content rendered from RST source.",
208209
),
209210
]
210211

0 commit comments

Comments
 (0)