Install from source or pip install readme_renderer
python -m readme_renderer README.rst per the --help instructions
Observe the following (3.12 output below, exact formatting varies):
<string>:297: (WARNING/2) Inline literal start-string without end-string.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/user/src/readme_renderer/readme_renderer/__main__.py", line 62, in <module>
main()
File "/home/user/src/readme_renderer/readme_renderer/__main__.py", line 50, in main
rendered = render_rst(source, stream=sys.stderr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/src/readme_renderer/readme_renderer/rst.py", line 133, in render
if not stream.tell():
^^^^^^^^^^^^^
io.UnsupportedOperation: underlying stream is not seekable
Overview
Converting RST from the CLI breaks if run as follows:
Python versions tried: 3.9, 3.10, 3.12
Environment Info
Replication Steps
pip install readme_renderer
python -m readme_renderer README.rst
per the--help
instructions