Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-readme_renderer for 
openSUSE:Factory checked in at 2022-11-19 18:08:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-readme_renderer (Old)
 and      /work/SRC/openSUSE:Factory/.python-readme_renderer.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-readme_renderer"

Sat Nov 19 18:08:38 2022 rev:9 rq:1035252 version:37.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-readme_renderer/python-readme_renderer.changes
    2022-08-08 08:44:51.406393097 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-readme_renderer.new.1597/python-readme_renderer.changes
  2022-11-19 18:08:40.122217315 +0100
@@ -1,0 +2,30 @@
+Wed Nov  9 18:51:01 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to 37.3 (2022-10-31)
+  * Allow HTML5 figure tag through cleaner (#265)
+
+- Update to 37.2 (2022-09-24)
+  * Allow HTML5 s tag through cleaner (#261)
+
+- Update to 37.1 (2022-09-03)
+  * Allow HTML5 nav tag through cleaner (#259)
+
+- Update to 37.0 (2022-08-21)
+  * Remove command line example from docs (#197)
+  * Multiple pyproject.toml fixes (#251)
+  * Confirm handling multiple inline strong (#252)
+  * Convert RST output to HTML5 (#253)
+  * Add Typing to classifiers (#254)
+  * Development tweaks - coverage reporting, actions updates (#255)
+  * Add test confirming behavior with unknown lexers (#256)
+
+-Update to 36.0 (2022-08-06)
+ * Enable gitpod development (#238)
+ * Allow rst admonitions to render (#242)
+ * Add badges to README (#243)
+ * Update codebase for modern Python (#244)
+ * Fix table cell spans (#245)
+ * Allow math directive in rst (#246)
+ * Preserve lang attribute in pre (#247) 
+
+-------------------------------------------------------------------

Old:
----
  readme_renderer-35.0.tar.gz

New:
----
  readme_renderer-37.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-readme_renderer.spec ++++++
--- /var/tmp/diff_new_pack.hw2zL0/_old  2022-11-19 18:08:41.106222878 +0100
+++ /var/tmp/diff_new_pack.hw2zL0/_new  2022-11-19 18:08:41.110222900 +0100
@@ -19,7 +19,7 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-readme_renderer
-Version:        35.0
+Version:        37.3
 Release:        0
 Summary:        A library for rendering "readme" descriptions
 License:        Apache-2.0
@@ -57,8 +57,7 @@
 
 %check
 export LANG=en_US.UTF-8
-# gh#pypa/readme_renderer#221 for exclusion
-%pytest -v -k 'not test_md_fixtures'
+%pytest
 
 %files %{python_files}
 %license LICENSE

++++++ readme_renderer-35.0.tar.gz -> readme_renderer-37.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/.coveragerc 
new/readme_renderer-37.3/.coveragerc
--- old/readme_renderer-35.0/.coveragerc        2022-04-19 19:31:33.000000000 
+0200
+++ new/readme_renderer-37.3/.coveragerc        1970-01-01 01:00:00.000000000 
+0100
@@ -1,2 +0,0 @@
-[run]
-branch = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/CHANGES.rst 
new/readme_renderer-37.3/CHANGES.rst
--- old/readme_renderer-35.0/CHANGES.rst        2022-04-19 19:31:33.000000000 
+0200
+++ new/readme_renderer-37.3/CHANGES.rst        2022-10-31 21:54:28.000000000 
+0100
@@ -1,6 +1,43 @@
 Changes
 =======
 
+37.3 (2022-10-31)
+-----------------
+
+* Allow HTML5 `figure` tag through cleaner (#265)
+
+37.2 (2022-09-24)
+-----------------
+
+* Allow HTML5 `s` tag through cleaner (#261)
+
+37.1 (2022-09-03)
+-----------------
+
+* Allow HTML5 `nav` tag through cleaner (#259)
+
+37.0 (2022-08-21)
+-----------------
+
+* Remove command line example from docs (#197)
+* Multiple pyproject.toml fixes (#251)
+* Confirm handling multiple inline strong (#252)
+* Convert RST output to HTML5 (#253)
+* Add Typing to classifiers (#254)
+* Development tweaks - coverage reporting, actions updates (#255)
+* Add test confirming behavior with unknown lexers (#256)
+
+36.0 (2022-08-06)
+-----------------
+
+* Enable gitpod development (#238)
+* Allow rst admonitions to render (#242)
+* Add badges to README (#243)
+* Update codebase for modern Python (#244)
+* Fix table cell spans (#245)
+* Allow ``math`` directive in rst (#246)
+* Preserve ``lang`` attribute in ``pre`` (#247)
+
 35.0 (2022-04-19)
 -----------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/MANIFEST.in 
new/readme_renderer-37.3/MANIFEST.in
--- old/readme_renderer-35.0/MANIFEST.in        2022-04-19 19:31:33.000000000 
+0200
+++ new/readme_renderer-37.3/MANIFEST.in        2022-10-31 21:54:28.000000000 
+0100
@@ -1,5 +1,5 @@
 include LICENSE README.rst CHANGES.rst
-include tox.ini .coveragerc pytest.ini
+include tox.ini
 include readme_renderer/py.typed
 
 recursive-include tests *.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/PKG-INFO 
new/readme_renderer-37.3/PKG-INFO
--- old/readme_renderer-35.0/PKG-INFO   2022-04-19 19:31:47.814312000 +0200
+++ new/readme_renderer-37.3/PKG-INFO   2022-10-31 21:54:53.200729600 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 2.1
 Name: readme_renderer
-Version: 35.0
+Version: 37.3
 Summary: readme_renderer is a library for rendering "readme" descriptions for 
Warehouse
 Home-page: https://github.com/pypa/readme_renderer
 Author: The Python Packaging Authority
 Author-email: ad...@mail.pypi.org
 License: Apache License, Version 2.0
-Platform: UNKNOWN
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Natural Language :: English
@@ -24,6 +23,7 @@
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
+Classifier: Typing :: Typed
 Requires-Python: >=3.7
 Provides-Extra: md
 License-File: LICENSE
@@ -31,6 +31,12 @@
 Readme Renderer
 ===============
 
+.. image:: https://badge.fury.io/py/readme-renderer.svg
+    :target: https://badge.fury.io/py/readme-renderer
+
+.. image:: 
https://github.com/pypa/readme_renderer/actions/workflows/ci.yml/badge.svg
+    :target: https://github.com/pypa/readme_renderer/actions/workflows/ci.yml
+
 Readme Renderer is a library that will safely render arbitrary
 ``README`` files into HTML. It is designed to be used in Warehouse_ to
 render the ``long_description`` for packages. It can handle Markdown,
@@ -46,14 +52,6 @@
 build your distributions, and then use the |twine check|_ command.
 
 
-Render rST Description Locally
-------------------------------
-
-You can use ``readme_renderer`` on the command line to render an rST file as
-HTML like this: ::
-
-    python -m readme_renderer README.rst -o /tmp/README.html
-
 Code of Conduct
 ---------------
 
@@ -64,5 +62,3 @@
 .. |twine check| replace:: ``twine check``
 .. _twine check: 
https://packaging.python.org/guides/making-a-pypi-friendly-readme#validating-restructuredtext-markup
 .. _PSF Code of Conduct: 
https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/README.rst 
new/readme_renderer-37.3/README.rst
--- old/readme_renderer-35.0/README.rst 2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/README.rst 2022-10-31 21:54:28.000000000 +0100
@@ -1,6 +1,12 @@
 Readme Renderer
 ===============
 
+.. image:: https://badge.fury.io/py/readme-renderer.svg
+    :target: https://badge.fury.io/py/readme-renderer
+
+.. image:: 
https://github.com/pypa/readme_renderer/actions/workflows/ci.yml/badge.svg
+    :target: https://github.com/pypa/readme_renderer/actions/workflows/ci.yml
+
 Readme Renderer is a library that will safely render arbitrary
 ``README`` files into HTML. It is designed to be used in Warehouse_ to
 render the ``long_description`` for packages. It can handle Markdown,
@@ -16,14 +22,6 @@
 build your distributions, and then use the |twine check|_ command.
 
 
-Render rST Description Locally
-------------------------------
-
-You can use ``readme_renderer`` on the command line to render an rST file as
-HTML like this: ::
-
-    python -m readme_renderer README.rst -o /tmp/README.html
-
 Code of Conduct
 ---------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/pyproject.toml 
new/readme_renderer-37.3/pyproject.toml
--- old/readme_renderer-35.0/pyproject.toml     2022-04-19 19:31:33.000000000 
+0200
+++ new/readme_renderer-37.3/pyproject.toml     2022-10-31 21:54:28.000000000 
+0100
@@ -1,6 +1,13 @@
 [build-system]
-requires = ["setuptools>=40.8.0", "wheel", "bleach>=2.1.0", 
"docutils>=0.13.1", "Pygments>=2.5.1"]
-build-backend = "setuptools.build_meta:__legacy__"
+requires = ["setuptools>=40.8.0"]
+build-backend = "setuptools.build_meta"
+
+# TODO: Remove when https://github.com/mgedmin/check-manifest/pull/155 released
+[tool.check-manifest]
+ignore = [".gitpod.yml"]
+
+[tool.coverage.run]
+branch = true
 
 [tool.mypy]
 strict = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/pytest.ini 
new/readme_renderer-37.3/pytest.ini
--- old/readme_renderer-35.0/pytest.ini 2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/pytest.ini 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-[pytest]
-markers =
-    filterwarnings: built-in maker to silence warnings, not recognized by 
--strict.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/readme_renderer/__about__.py 
new/readme_renderer-37.3/readme_renderer/__about__.py
--- old/readme_renderer-35.0/readme_renderer/__about__.py       2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer/__about__.py       2022-10-31 
21:54:28.000000000 +0100
@@ -11,7 +11,6 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from __future__ import absolute_import, division, print_function
 
 __all__ = [
     "__title__",
@@ -30,7 +29,7 @@
 )
 __uri__ = "https://github.com/pypa/readme_renderer";
 
-__version__ = "35.0"
+__version__ = "37.3"
 
 __author__ = "The Python Packaging Authority"
 __email__ = "ad...@mail.pypi.org"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/readme_renderer/__init__.py 
new/readme_renderer-37.3/readme_renderer/__init__.py
--- old/readme_renderer-35.0/readme_renderer/__init__.py        2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer/__init__.py        2022-10-31 
21:54:28.000000000 +0100
@@ -11,4 +11,3 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from __future__ import absolute_import, division, print_function
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/readme_renderer/__main__.py 
new/readme_renderer-37.3/readme_renderer/__main__.py
--- old/readme_renderer-35.0/readme_renderer/__main__.py        2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer/__main__.py        2022-10-31 
21:54:28.000000000 +0100
@@ -1,4 +1,3 @@
-from __future__ import absolute_import, print_function
 import argparse
 from readme_renderer.rst import render
 import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/readme_renderer/clean.py 
new/readme_renderer-37.3/readme_renderer/clean.py
--- old/readme_renderer-35.0/readme_renderer/clean.py   2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer/clean.py   2022-10-31 
21:54:28.000000000 +0100
@@ -11,7 +11,6 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from __future__ import absolute_import, division, print_function
 
 import functools
 from typing import Any, Dict, Iterator, List, Optional
@@ -31,7 +30,7 @@
     "br", "caption", "cite", "col", "colgroup", "dd", "del", "details", "div",
     "dl", "dt", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "img", "p", "pre",
     "span", "sub", "summary", "sup", "table", "tbody", "td", "th", "thead",
-    "tr", "tt", "kbd", "var", "input",
+    "tr", "tt", "kbd", "var", "input", "section", "aside", "nav", "s", 
"figure",
 ]
 
 ALLOWED_ATTRIBUTES = {
@@ -45,9 +44,9 @@
     "hr": ["class"],
     "img": ["src", "width", "height", "alt", "align", "class"],
     "span": ["class"],
-    "th": ["align"],
-    "td": ["align"],
-    "div": ["align"],
+    "th": ["align", "class"],
+    "td": ["align", "colspan", "rowspan"],
+    "div": ["align", "class"],
     "h1": ["align"],
     "h2": ["align"],
     "h3": ["align"],
@@ -55,9 +54,17 @@
     "h5": ["align"],
     "h6": ["align"],
     "code": ["class"],
-    "p": ["align"],
+    "p": ["align", "class"],
+    "pre": ["lang"],
     "ol": ["start"],
     "input": ["type", "checked", "disabled"],
+    "aside": ["class"],
+    "dd": ["class"],
+    "dl": ["class"],
+    "dt": ["class"],
+    "ul": ["class"],
+    "nav": ["class"],
+    "figure": ["class"],
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/readme_renderer/markdown.py 
new/readme_renderer-37.3/readme_renderer/markdown.py
--- old/readme_renderer-35.0/readme_renderer/markdown.py        2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer/markdown.py        2022-10-31 
21:54:28.000000000 +0100
@@ -11,7 +11,6 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from __future__ import absolute_import, division, print_function
 
 import re
 import warnings
@@ -117,7 +116,7 @@
 
         highlighted = pygments.highlight(code, lexer, formatter)
 
-        return '<pre>{}</pre>'.format(highlighted)
+        return f'<pre lang="{lang}">{highlighted}</pre>'
 
     result = code_expr.sub(replacer, html)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/readme_renderer/rst.py 
new/readme_renderer-37.3/readme_renderer/rst.py
--- old/readme_renderer-35.0/readme_renderer/rst.py     2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer/rst.py     2022-10-31 
21:54:28.000000000 +0100
@@ -11,14 +11,13 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from __future__ import absolute_import, division, print_function
 
 import io
 from typing import Any, Dict, IO, Optional, Union
 
 from docutils.core import publish_parts
 from docutils.nodes import colspec, image
-from docutils.writers.html4css1 import HTMLTranslator, Writer
+from docutils.writers.html5_polyglot import HTMLTranslator, Writer
 from docutils.utils import SystemMessage
 
 from .clean import clean
@@ -43,7 +42,7 @@
             if "height" in node:
                 attributes["height"] = node["height"]
 
-        return super(ReadMeHTMLTranslator, self).emptytag(
+        return super().emptytag(
             node, tagname, suffix, **attributes
         )
 
@@ -77,7 +76,8 @@
 
     # Output math blocks as LaTeX that can be interpreted by MathJax for
     # a prettier display of Math formulas.
-    "math_output": "MathJax",
+    # Pass a dummy path to supress docutils warning and emit HTML.
+    "math_output": "MathJax /dummy.js",
 
     # Disable raw html as enabling it is a security risk, we do not want
     # people to be able to include any old HTML in the final output.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/readme_renderer/txt.py 
new/readme_renderer-37.3/readme_renderer/txt.py
--- old/readme_renderer-35.0/readme_renderer/txt.py     2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer/txt.py     2022-10-31 
21:54:28.000000000 +0100
@@ -11,20 +11,12 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from __future__ import absolute_import, division, print_function
 
-import sys
 from typing import Any, Optional
 
 from .clean import clean
 
-if sys.version_info >= (3,):
-    from html import escape as html_escape
-else:
-    from cgi import escape
-
-    def html_escape(s):
-        return escape(s, quote=True).replace("'", '&#x27;')
+from html import escape as html_escape
 
 
 def render(raw: str, **kwargs: Any) -> Optional[str]:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/readme_renderer.egg-info/PKG-INFO 
new/readme_renderer-37.3/readme_renderer.egg-info/PKG-INFO
--- old/readme_renderer-35.0/readme_renderer.egg-info/PKG-INFO  2022-04-19 
19:31:47.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer.egg-info/PKG-INFO  2022-10-31 
21:54:53.000000000 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 2.1
 Name: readme-renderer
-Version: 35.0
+Version: 37.3
 Summary: readme_renderer is a library for rendering "readme" descriptions for 
Warehouse
 Home-page: https://github.com/pypa/readme_renderer
 Author: The Python Packaging Authority
 Author-email: ad...@mail.pypi.org
 License: Apache License, Version 2.0
-Platform: UNKNOWN
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Natural Language :: English
@@ -24,6 +23,7 @@
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
+Classifier: Typing :: Typed
 Requires-Python: >=3.7
 Provides-Extra: md
 License-File: LICENSE
@@ -31,6 +31,12 @@
 Readme Renderer
 ===============
 
+.. image:: https://badge.fury.io/py/readme-renderer.svg
+    :target: https://badge.fury.io/py/readme-renderer
+
+.. image:: 
https://github.com/pypa/readme_renderer/actions/workflows/ci.yml/badge.svg
+    :target: https://github.com/pypa/readme_renderer/actions/workflows/ci.yml
+
 Readme Renderer is a library that will safely render arbitrary
 ``README`` files into HTML. It is designed to be used in Warehouse_ to
 render the ``long_description`` for packages. It can handle Markdown,
@@ -46,14 +52,6 @@
 build your distributions, and then use the |twine check|_ command.
 
 
-Render rST Description Locally
-------------------------------
-
-You can use ``readme_renderer`` on the command line to render an rST file as
-HTML like this: ::
-
-    python -m readme_renderer README.rst -o /tmp/README.html
-
 Code of Conduct
 ---------------
 
@@ -64,5 +62,3 @@
 .. |twine check| replace:: ``twine check``
 .. _twine check: 
https://packaging.python.org/guides/making-a-pypi-friendly-readme#validating-restructuredtext-markup
 .. _PSF Code of Conduct: 
https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/readme_renderer.egg-info/SOURCES.txt 
new/readme_renderer-37.3/readme_renderer.egg-info/SOURCES.txt
--- old/readme_renderer-35.0/readme_renderer.egg-info/SOURCES.txt       
2022-04-19 19:31:47.000000000 +0200
+++ new/readme_renderer-37.3/readme_renderer.egg-info/SOURCES.txt       
2022-10-31 21:54:53.000000000 +0100
@@ -1,10 +1,8 @@
-.coveragerc
 CHANGES.rst
 LICENSE
 MANIFEST.in
 README.rst
 pyproject.toml
-pytest.ini
 setup.cfg
 setup.py
 tox.ini
@@ -47,6 +45,8 @@
 tests/fixtures/test_CommonMark_009.md
 tests/fixtures/test_CommonMark_smart_strong.html
 tests/fixtures/test_CommonMark_smart_strong.md
+tests/fixtures/test_CommonMark_strong.html
+tests/fixtures/test_CommonMark_strong.md
 tests/fixtures/test_CommonMark_style.html
 tests/fixtures/test_CommonMark_style.md
 tests/fixtures/test_GFM_001.html
@@ -123,12 +123,22 @@
 tests/fixtures/test_rst_007.rst
 tests/fixtures/test_rst_008.html
 tests/fixtures/test_rst_008.rst
+tests/fixtures/test_rst_admonitions.html
+tests/fixtures/test_rst_admonitions.rst
+tests/fixtures/test_rst_bibtex.html
+tests/fixtures/test_rst_bibtex.rst
 tests/fixtures/test_rst_caption.html
 tests/fixtures/test_rst_caption.rst
+tests/fixtures/test_rst_contents.html
+tests/fixtures/test_rst_contents.rst
 tests/fixtures/test_rst_docinfo.html
 tests/fixtures/test_rst_docinfo.rst
+tests/fixtures/test_rst_figure.html
+tests/fixtures/test_rst_figure.rst
 tests/fixtures/test_rst_linkify.html
 tests/fixtures/test_rst_linkify.rst
+tests/fixtures/test_rst_math.html
+tests/fixtures/test_rst_math.rst
 tests/fixtures/test_rst_png.html
 tests/fixtures/test_rst_png.rst
 tests/fixtures/test_rst_png_attrs.html
@@ -137,5 +147,7 @@
 tests/fixtures/test_rst_svg.rst
 tests/fixtures/test_rst_svg_attrs.html
 tests/fixtures/test_rst_svg_attrs.rst
+tests/fixtures/test_rst_tables.html
+tests/fixtures/test_rst_tables.rst
 tests/fixtures/test_txt_001.html
 tests/fixtures/test_txt_001.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/setup.cfg 
new/readme_renderer-37.3/setup.cfg
--- old/readme_renderer-35.0/setup.cfg  2022-04-19 19:31:47.818312200 +0200
+++ new/readme_renderer-37.3/setup.cfg  2022-10-31 21:54:53.204730000 +0100
@@ -1,5 +1,5 @@
 [metadata]
-license_file = LICENSE
+license_files = LICENSE
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/setup.py 
new/readme_renderer-37.3/setup.py
--- old/readme_renderer-35.0/setup.py   2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/setup.py   2022-10-31 21:54:28.000000000 +0100
@@ -11,19 +11,18 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from __future__ import absolute_import, division, print_function
 
-import os
+import pathlib
 
 import setuptools
 
-base_dir = os.path.dirname(__file__)
+base_dir = pathlib.Path(__file__).parent
 
-with open(os.path.join(base_dir, "readme_renderer", "__about__.py")) as f:
+with open(base_dir.joinpath("readme_renderer", "__about__.py")) as f:
     about = {}
     exec(f.read(), about)
 
-with open(os.path.join(base_dir, "README.rst")) as f:
+with open(base_dir.joinpath("README.rst")) as f:
     long_description = f.read()
 
 
@@ -54,6 +53,7 @@
         "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: Implementation :: CPython",
         "Programming Language :: Python :: Implementation :: PyPy",
+        "Typing :: Typed",
     ],
     install_requires=["bleach>=2.1.0", "docutils>=0.13.1", "Pygments>=2.5.1"],
     include_package_data=True,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_CommonMark_008.html 
new/readme_renderer-37.3/tests/fixtures/test_CommonMark_008.html
--- old/readme_renderer-35.0/tests/fixtures/test_CommonMark_008.html    
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_CommonMark_008.html    
2022-10-31 21:54:28.000000000 +0100
@@ -1,5 +1,5 @@
 <p>Here is some Python code for a <code>Dog</code>:</p>
-<pre><span class="k">class</span> <span class="nc">Dog</span><span 
class="p">(</span><span class="n">Animal</span><span class="p">):</span>
+<pre lang="python3"><span class="k">class</span> <span 
class="nc">Dog</span><span class="p">(</span><span class="n">Animal</span><span 
class="p">):</span>
     <span class="k">def</span> <span class="fm">__init__</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">name</span><span class="p">):</span>
         <span class="bp">self</span><span class="o">.</span><span 
class="n">name</span> <span class="o">=</span> <span class="n">name</span>
 
@@ -9,7 +9,7 @@
 <span class="n">dog</span> <span class="o">=</span> <span 
class="n">Dog</span><span class="p">(</span><span 
class="s1">&#39;Fido&#39;</span><span class="p">)</span>
 </pre>
 <p>and then here is some bash:</p>
-<pre><span class="k">if</span> <span class="o">[</span> <span 
class="s2">&quot;</span><span class="nv">$1</span><span 
class="s2">&quot;</span> <span class="o">=</span> <span 
class="s2">&quot;--help&quot;</span> <span class="o">]</span><span 
class="p">;</span> <span class="k">then</span>
+<pre lang="bash"><span class="k">if</span> <span class="o">[</span> <span 
class="s2">&quot;</span><span class="nv">$1</span><span 
class="s2">&quot;</span> <span class="o">=</span> <span 
class="s2">&quot;--help&quot;</span> <span class="o">]</span><span 
class="p">;</span> <span class="k">then</span>
     <span class="nb">echo</span> <span class="s2">&quot;OK&quot;</span>
 <span class="k">fi</span>
 </pre>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_CommonMark_strong.html 
new/readme_renderer-37.3/tests/fixtures/test_CommonMark_strong.html
--- old/readme_renderer-35.0/tests/fixtures/test_CommonMark_strong.html 
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_CommonMark_strong.html 
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1 @@
+<p>sphinx: a password <strong>S</strong>tore that <strong>P</strong>erfectly 
<strong>H</strong>ides from <strong>I</strong>tself (<strong>N</strong>o 
<strong>X</strong>aggeration)</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_CommonMark_strong.md 
new/readme_renderer-37.3/tests/fixtures/test_CommonMark_strong.md
--- old/readme_renderer-35.0/tests/fixtures/test_CommonMark_strong.md   
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_CommonMark_strong.md   
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1 @@
+sphinx: a password **S**tore that **P**erfectly **H**ides from **I**tself 
(**N**o **X**aggeration)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_GFM_doublequotes.html 
new/readme_renderer-37.3/tests/fixtures/test_GFM_doublequotes.html
--- old/readme_renderer-35.0/tests/fixtures/test_GFM_doublequotes.html  
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_GFM_doublequotes.html  
2022-10-31 21:54:28.000000000 +0100
@@ -1,11 +1,11 @@
 <p>This is normal text.</p>
 <pre><code>This is code text.
 </code></pre>
-<pre><span class="k">def</span> <span class="nf">this_is_python</span><span 
class="p">():</span>
+<pre lang="python3"><span class="k">def</span> <span 
class="nf">this_is_python</span><span class="p">():</span>
     <span class="sd">&quot;&quot;&quot;This is a 
docstring.&quot;&quot;&quot;</span>
     <span class="k">pass</span>
 </pre>
-<pre><span class="kd">func</span><span class="w"> </span><span 
class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
+<pre lang="go"><span class="kd">func</span><span class="w"> </span><span 
class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
 <span class="w">    </span><span class="k">return</span><span class="w"></span>
 <span class="p">}</span><span class="w"></span>
 </pre>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_GFM_highlight.html 
new/readme_renderer-37.3/tests/fixtures/test_GFM_highlight.html
--- old/readme_renderer-35.0/tests/fixtures/test_GFM_highlight.html     
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_GFM_highlight.html     
2022-10-31 21:54:28.000000000 +0100
@@ -1,10 +1,12 @@
 <p>This is normal text.</p>
 <pre><code>This is code text.
 </code></pre>
-<pre><span class="k">def</span> <span class="nf">this_is_python</span><span 
class="p">():</span>
+<pre lang="python3"><span class="k">def</span> <span 
class="nf">this_is_python</span><span class="p">():</span>
     <span class="k">pass</span>
 </pre>
-<pre><span class="kd">func</span><span class="w"> </span><span 
class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
+<pre lang="go"><span class="kd">func</span><span class="w"> </span><span 
class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
 <span class="w">    </span><span class="k">return</span><span class="w"></span>
 <span class="p">}</span><span class="w"></span>
 </pre>
+<pre lang="abc">An unknown code fence block
+</pre>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_GFM_highlight.md 
new/readme_renderer-37.3/tests/fixtures/test_GFM_highlight.md
--- old/readme_renderer-35.0/tests/fixtures/test_GFM_highlight.md       
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_GFM_highlight.md       
2022-10-31 21:54:28.000000000 +0100
@@ -14,3 +14,7 @@
     return
 }
 ```
+
+```abc
+An unknown code fence block
+```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_GFM_highlight_default_py.html 
new/readme_renderer-37.3/tests/fixtures/test_GFM_highlight_default_py.html
--- old/readme_renderer-35.0/tests/fixtures/test_GFM_highlight_default_py.html  
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_GFM_highlight_default_py.html  
2022-10-31 21:54:28.000000000 +0100
@@ -1,4 +1,4 @@
-<pre><span class="k">async</span> <span class="k">def</span> <span 
class="nf">this_is_python</span><span class="p">():</span>
+<pre lang="python3"><span class="k">async</span> <span class="k">def</span> 
<span class="nf">this_is_python</span><span class="p">():</span>
     <span class="k">pass</span>
 
 <span class="nb">print</span><span class="p">(</span><span 
class="k">await</span> <span class="n">this_is_python</span><span 
class="p">())</span>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_GFM_malicious_pre.html 
new/readme_renderer-37.3/tests/fixtures/test_GFM_malicious_pre.html
--- old/readme_renderer-35.0/tests/fixtures/test_GFM_malicious_pre.html 
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_GFM_malicious_pre.html 
2022-10-31 21:54:28.000000000 +0100
@@ -1,5 +1,5 @@
 <p>This is normal text.</p>
-<pre><span class="k">def</span> <span class="nf">this_is_python</span><span 
class="p">():</span>
+<pre lang="python3"><span class="k">def</span> <span 
class="nf">this_is_python</span><span class="p">():</span>
     <span class="sd">&quot;&quot;&quot;This is a 
docstring.&quot;&quot;&quot;</span>
     <span class="k">pass</span>
 <span class="o">&lt;</span><span class="n">script</span> <span 
class="nb">type</span><span class="o">=</span><span 
class="s2">&quot;text/javascript&quot;</span><span class="o">&gt;</span><span 
class="n">alert</span><span class="p">(</span><span class="s1">&#39;I am 
evil.&#39;</span><span class="p">);</span><span class="o">&lt;/</span><span 
class="n">script</span><span class="o">&gt;</span>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_003.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_003.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_003.html   2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_003.html   2022-10-31 
21:54:28.000000000 +0100
@@ -1,8 +1,8 @@
-<div id="required-packages">
+<section id="required-packages">
 <h2>Required packages</h2>
 <p>To run the PyPI software, you need Python 2.5+ and PostgreSQL</p>
-</div>
-<div id="quick-development-setup">
+</section>
+<section id="quick-development-setup">
 <h2>Quick development setup</h2>
 <p>Make sure you are sitting</p>
-</div>
+</section>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_008.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_008.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_008.html   2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_008.html   2022-10-31 
21:54:28.000000000 +0100
@@ -1,16 +1,15 @@
-<p>Here is some Python code for a <tt>Dog</tt>:</p>
-<pre><span class="k">class</span> <span class="nc">Dog</span><span 
class="p">(</span><span class="n">Animal</span><span class="p">):</span>
+<p>Here is some Python code for a <span class="docutils 
literal">Dog</span>:</p>
+<pre><code><span class="k">class</span> <span class="nc">Dog</span><span 
class="p">(</span><span class="n">Animal</span><span class="p">):</span>
     <span class="k">def</span> <span class="fm">__init__</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">name</span><span class="p">):</span>
         <span class="bp">self</span><span class="o">.</span><span 
class="n">name</span> <span class="o">=</span> <span class="n">name</span>
 
     <span class="k">def</span> <span class="nf">make_sound</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="nb">print</span><span class="p">(</span><span 
class="s1">'Ruff!'</span><span class="p">)</span>
 
-<span class="n">dog</span> <span class="o">=</span> <span 
class="n">Dog</span><span class="p">(</span><span class="s1">'Fido'</span><span 
class="p">)</span>
-</pre>
+<span class="n">dog</span> <span class="o">=</span> <span 
class="n">Dog</span><span class="p">(</span><span class="s1">'Fido'</span><span 
class="p">)</span></code></pre>
 <p>and then here is some bash:</p>
-<pre><span class="k">if</span> <span class="o">[</span> <span 
class="s2">&quot;</span><span class="nv">$1</span><span 
class="s2">&quot;</span> <span class="o">=</span> <span 
class="s2">&quot;--help&quot;</span> <span class="o">]</span><span 
class="p">;</span> <span class="k">then</span>
+<pre><code><span class="k">if</span> <span class="o">[</span> <span 
class="s2">&quot;</span><span class="nv">$1</span><span 
class="s2">&quot;</span> <span class="o">=</span> <span 
class="s2">&quot;--help&quot;</span> <span class="o">]</span><span 
class="p">;</span> <span class="k">then</span>
     <span class="nb">echo</span> <span class="s2">&quot;OK&quot;</span>
-<span class="k">fi</span>
-</pre>
+<span class="k">fi</span></code></pre>
 <p>or click <a href="http://www.surveymonkey.com"; 
rel="nofollow">SurveyMonkey</a></p>
+<pre><code>An unknown code fence block</code></pre>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/tests/fixtures/test_rst_008.rst 
new/readme_renderer-37.3/tests/fixtures/test_rst_008.rst
--- old/readme_renderer-35.0/tests/fixtures/test_rst_008.rst    2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_008.rst    2022-10-31 
21:54:28.000000000 +0100
@@ -20,3 +20,8 @@
     fi
 
 or click `SurveyMonkey <http://www.surveymonkey.com>`_
+
+
+.. code-block:: abc
+
+    An unknown code fence block
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_admonitions.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_admonitions.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_admonitions.html   
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_admonitions.html   
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1,13 @@
+<aside class="admonition danger">
+<p class="admonition-title">!DANGER!</p>
+<p>Will Robinson</p>
+</aside>
+<aside class="admonition note">
+<p class="admonition-title">Note</p>
+<p>F Sharp is a note, right?</p>
+</aside>
+<aside class="admonition admonition-see-also">
+<p class="admonition-title">See also</p>
+<p>A customized admonition.
+Read more at <a 
href="https://docutils.sourceforge.io/docs/ref/rst/directives.html#admonitions"; 
rel="nofollow">docutils</a></p>
+</aside>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_admonitions.rst 
new/readme_renderer-37.3/tests/fixtures/test_rst_admonitions.rst
--- old/readme_renderer-35.0/tests/fixtures/test_rst_admonitions.rst    
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_admonitions.rst    
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1,11 @@
+.. danger:: Will Robinson
+
+.. note::
+
+   F Sharp is a note, right?
+
+
+.. admonition:: See also
+
+   A customized admonition.
+   Read more at `docutils 
<https://docutils.sourceforge.io/docs/ref/rst/directives.html#admonitions>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_bibtex.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_bibtex.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_bibtex.html        
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_bibtex.html        
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1,2 @@
+<pre><code><span class="nc">&#64;article</span><span class="p">{</span><span 
class="nl">the_impact_of_pygments_docutils_config_and_html5</span><span 
class="p">,</span><span class="w">
+  </span><span class="na">year</span><span class="w"> </span><span 
class="p">=</span><span class="w"> </span><s>{2022}</s><span 
class="p">,</span></code></pre>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_bibtex.rst 
new/readme_renderer-37.3/tests/fixtures/test_rst_bibtex.rst
--- old/readme_renderer-35.0/tests/fixtures/test_rst_bibtex.rst 1970-01-01 
01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_bibtex.rst 2022-10-31 
21:54:28.000000000 +0100
@@ -0,0 +1,4 @@
+.. code:: bibtex
+
+   @article{the_impact_of_pygments_docutils_config_and_html5,
+     year = {2022},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_caption.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_caption.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_caption.html       
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_caption.html       
2022-10-31 21:54:28.000000000 +0100
@@ -1,50 +1,43 @@
 <table>
 <caption>Multiplication</caption>
-<colgroup>
-<col>
-<col>
-<col>
-<col>
-<col>
-</colgroup>
 <thead>
-<tr><th>1</th>
-<th>2</th>
-<th>3</th>
-<th>4</th>
-<th>5</th>
+<tr><th class="head"><p>1</p></th>
+<th class="head"><p>2</p></th>
+<th class="head"><p>3</p></th>
+<th class="head"><p>4</p></th>
+<th class="head"><p>5</p></th>
 </tr>
 </thead>
 <tbody>
-<tr><td>1</td>
-<td>2</td>
-<td>3</td>
-<td>4</td>
-<td>5</td>
-</tr>
-<tr><td>2</td>
-<td>4</td>
-<td>6</td>
-<td>8</td>
-<td>10</td>
-</tr>
-<tr><td>3</td>
-<td>6</td>
-<td>9</td>
-<td>12</td>
-<td>15</td>
-</tr>
-<tr><td>4</td>
-<td>8</td>
-<td>12</td>
-<td>16</td>
-<td>20</td>
-</tr>
-<tr><td>5</td>
-<td>10</td>
-<td>15</td>
-<td>20</td>
-<td>25</td>
+<tr><td><p>1</p></td>
+<td><p>2</p></td>
+<td><p>3</p></td>
+<td><p>4</p></td>
+<td><p>5</p></td>
+</tr>
+<tr><td><p>2</p></td>
+<td><p>4</p></td>
+<td><p>6</p></td>
+<td><p>8</p></td>
+<td><p>10</p></td>
+</tr>
+<tr><td><p>3</p></td>
+<td><p>6</p></td>
+<td><p>9</p></td>
+<td><p>12</p></td>
+<td><p>15</p></td>
+</tr>
+<tr><td><p>4</p></td>
+<td><p>8</p></td>
+<td><p>12</p></td>
+<td><p>16</p></td>
+<td><p>20</p></td>
+</tr>
+<tr><td><p>5</p></td>
+<td><p>10</p></td>
+<td><p>15</p></td>
+<td><p>20</p></td>
+<td><p>25</p></td>
 </tr>
 </tbody>
 </table>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_contents.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_contents.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_contents.html      
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_contents.html      
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1,22 @@
+<nav class="contents" id="contents">
+<p class="topic-title">Contents</p>
+<ul class="simple">
+<li><p><a href="#features" id="toc-entry-1" 
rel="nofollow">Features</a></p></li>
+<li><p><a href="#installation" id="toc-entry-2" 
rel="nofollow">Installation</a></p></li>
+</ul>
+</nav>
+<section id="features">
+<h2><a href="#toc-entry-1" rel="nofollow">Features</a></h2>
+<ul class="simple">
+<li><p>Eats cheese</p></li>
+</ul>
+</section>
+<section id="installation">
+<h2><a href="#toc-entry-2" rel="nofollow">Installation</a></h2>
+<p class="section-subtitle" id="requirements">Requirements</p>
+<ul class="simple">
+<li><p>Teeth</p></li>
+<li><p>Good taste</p></li>
+</ul>
+<p>Let’s eat some cheese together!</p>
+</section>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_contents.rst 
new/readme_renderer-37.3/tests/fixtures/test_rst_contents.rst
--- old/readme_renderer-35.0/tests/fixtures/test_rst_contents.rst       
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_contents.rst       
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1,19 @@
+.. Tests that using a Table of Contents directive renders correctly
+
+.. contents::
+
+Features
+========
+
+* Eats cheese
+
+Installation
+============
+
+Requirements
+------------
+
+* Teeth
+* Good taste
+
+Let's eat some cheese together!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_docinfo.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_docinfo.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_docinfo.html       
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_docinfo.html       
2022-10-31 21:54:28.000000000 +0100
@@ -1,19 +1,18 @@
-<table>
-<colgroup><col>
-<col>
-</colgroup><tbody>
-<tr><th>Project:</th><td>pg_query – Pythonic wrapper around libpg_query</td>
-</tr>
-<tr><th>Created:</th><td>mer 02 ago 2017 14:49:24 CEST</td>
-</tr>
-<tr><th>Author:</th>
-<td>Lele Gaifax &lt;<a 
href="mailto:lele&#37;&#52;&#48;metapensiero&#46;it";>lele<span>&#64;</span>metapensiero<span>&#46;</span>it</a>&gt;</td></tr>
-<tr><th>License:</th><td>GNU General Public License version 3 or later</td>
-</tr>
-<tr><th>Copyright:</th>
-<td>© 2017, 2018 Lele Gaifax</td></tr>
-</tbody>
-</table>
-<div id="pg-query">
+<dl class="docinfo simple">
+<dt class="project">Project<span class="colon">:</span></dt>
+<dd class="project"><p>pg_query – Pythonic wrapper around libpg_query</p>
+</dd>
+<dt class="created">Created<span class="colon">:</span></dt>
+<dd class="created"><p>mer 02 ago 2017 14:49:24 CEST</p>
+</dd>
+<dt class="author">Author<span class="colon">:</span></dt>
+<dd class="author"><p>Lele Gaifax &lt;<a 
href="mailto:lele&#37;&#52;&#48;metapensiero&#46;it";>lele<span>&#64;</span>metapensiero<span>&#46;</span>it</a>&gt;</p></dd>
+<dt class="license">License<span class="colon">:</span></dt>
+<dd class="license"><p>GNU General Public License version 3 or later</p>
+</dd>
+<dt class="copyright">Copyright<span class="colon">:</span></dt>
+<dd class="copyright">© 2017, 2018 Lele Gaifax</dd>
+</dl>
+<section id="pg-query">
 <h2>pg_query</h2>
-</div>
+</section>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_figure.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_figure.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_figure.html        
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_figure.html        
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1,3 @@
+<figure class="align-center">
+<img 
alt="https://raw.githubusercontent.com/schlatterbeck/plot-antenna/master/test/12-el-azimuth.png";
 
src="https://raw.githubusercontent.com/schlatterbeck/plot-antenna/master/test/12-el-azimuth.png";>
+</figure>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_figure.rst 
new/readme_renderer-37.3/tests/fixtures/test_rst_figure.rst
--- old/readme_renderer-35.0/tests/fixtures/test_rst_figure.rst 1970-01-01 
01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_figure.rst 2022-10-31 
21:54:28.000000000 +0100
@@ -0,0 +1,2 @@
+.. figure:: 
https://raw.githubusercontent.com/schlatterbeck/plot-antenna/master/test/12-el-azimuth.png
+    :align: center
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_linkify.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_linkify.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_linkify.html       
2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_linkify.html       
2022-10-31 21:54:28.000000000 +0100
@@ -7,7 +7,7 @@
 <p>It requires a spatial databases compatible with <a 
href="https://docs.djangoproject.com/en/dev/ref/contrib/gis/"; 
rel="nofollow">GeoDjango</a>.  <a href="http://www.postgresql.org"; 
rel="nofollow">PostgreSQL</a> 9.x
 and <a href="http://postgis.refractions.net"; rel="nofollow">PostGIS</a> 2.x 
are recommended for development and production, since these
 support all the GeoDjango features.</p>
-<div id="status">
+<section id="status">
 <h2>Status</h2>
 <p>multigtfs is ready for your GTFS project.</p>
 <p>Point releases (0.4.1 to 0.4.2) should be safe, only adding features or 
fixing
@@ -21,28 +21,28 @@
 release.</p>
 <p>All valid GTFS feeds are supported for import and export.  This includes
 feeds with extra columns not yet included in the GTFS spec, and feeds that
-omit <tt>calendar.txt</tt> in favor of <tt>calendar_dates.txt</tt> (such as 
the TriMet
+omit <span class="docutils literal">calendar.txt</span> in favor of <span 
class="docutils literal">calendar_dates.txt</span> (such as the TriMet
 archive feeds).  If you find a feed that doesn’t work, <a 
href="https://github.com/tulsawebdevs/django-multi-gtfs/issues"; 
rel="nofollow">file a bug</a>!</p>
 <p>See the <a 
href="https://github.com/tulsawebdevs/django-multi-gtfs/issues?state=open"; 
rel="nofollow">issues list</a> for more details on bugs and feature 
requests.</p>
-</div>
-<div id="example-project">
+</section>
+<section id="example-project">
 <h2>Example project</h2>
 <p>Check out the <a href="examples/explore/README.md" rel="nofollow">example 
project</a>.</p>
-</div>
-<div id="development">
+</section>
+<section id="development">
 <h2>Development</h2>
-<table>
-<colgroup><col>
-<col>
-</colgroup><tbody>
-<tr><th>Code:</th><td><a 
href="https://github.com/tulsawebdevs/django-multi-gtfs"; 
rel="nofollow">https://github.com/tulsawebdevs/django-multi-gtfs</a></td>
-</tr>
-<tr><th>Issues:</th><td><a 
href="https://github.com/tulsawebdevs/django-multi-gtfs/issues"; 
rel="nofollow">https://github.com/tulsawebdevs/django-multi-gtfs/issues</a></td>
-</tr>
-<tr><th>Dev Docs:</th><td><a href="http://multigtfs.readthedocs.org/"; 
rel="nofollow">http://multigtfs.readthedocs.org/</a></td>
-</tr>
-<tr><th>IRC:</th><td><a>irc://irc.freenode.net/tulsawebdevs</a></td>
-</tr>
-</tbody>
-</table>
-</div>
+<dl class="field-list simple">
+<dt>Code<span class="colon">:</span></dt>
+<dd><p><a href="https://github.com/tulsawebdevs/django-multi-gtfs"; 
rel="nofollow">https://github.com/tulsawebdevs/django-multi-gtfs</a></p>
+</dd>
+<dt>Issues<span class="colon">:</span></dt>
+<dd><p><a href="https://github.com/tulsawebdevs/django-multi-gtfs/issues"; 
rel="nofollow">https://github.com/tulsawebdevs/django-multi-gtfs/issues</a></p>
+</dd>
+<dt>Dev Docs<span class="colon">:</span></dt>
+<dd><p><a href="http://multigtfs.readthedocs.org/"; 
rel="nofollow">http://multigtfs.readthedocs.org/</a></p>
+</dd>
+<dt>IRC<span class="colon">:</span></dt>
+<dd><p><a>irc://irc.freenode.net/tulsawebdevs</a></p>
+</dd>
+</dl>
+</section>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_math.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_math.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_math.html  1970-01-01 
01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_math.html  2022-10-31 
21:54:28.000000000 +0100
@@ -0,0 +1,8 @@
+<p>A <span class="docutils literal">math</span> directive:</p>
+<div class="math">
+\begin{equation*}
+\alpha _t(i) = P(O_1, O_2, \ldots  O_t, q_t = S_i \lambda )
+\end{equation*}
+</div>
+<p>A <span class="docutils literal">:math:</span> role:</p>
+<p>The area of a circle is <span class="math">\(A_\text{c} = (\pi/4) 
d^2\)</span>.</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_math.rst 
new/readme_renderer-37.3/tests/fixtures/test_rst_math.rst
--- old/readme_renderer-35.0/tests/fixtures/test_rst_math.rst   1970-01-01 
01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_math.rst   2022-10-31 
21:54:28.000000000 +0100
@@ -0,0 +1,14 @@
+.. Sample from 
https://docutils.sourceforge.io/docs/ref/rst/directives.html#math
+
+A ``math`` directive:
+
+.. math::
+
+  α_t(i) = P(O_1, O_2, … O_t, q_t = S_i λ)
+
+
+.. Sample from https://docutils.sourceforge.io/docs/ref/rst/roles.html#math
+
+A ``:math:`` role:
+
+The area of a circle is :math:`A_\text{c} = (\pi/4) d^2`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_tables.html 
new/readme_renderer-37.3/tests/fixtures/test_rst_tables.html
--- old/readme_renderer-35.0/tests/fixtures/test_rst_tables.html        
1970-01-01 01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_tables.html        
2022-10-31 21:54:28.000000000 +0100
@@ -0,0 +1,52 @@
+<table>
+<thead>
+<tr><th class="head"><p>Header row, column 1
+(header rows optional)</p></th>
+<th class="head"><p>Header 2</p></th>
+<th class="head"><p>Header 3</p></th>
+<th class="head"><p>Header 4</p></th>
+</tr>
+</thead>
+<tbody>
+<tr><td><p>body row 1, column 1</p></td>
+<td><p>column 2</p></td>
+<td><p>column 3</p></td>
+<td><p>column 4</p></td>
+</tr>
+<tr><td><p>body row 2</p></td>
+<td colspan="3"><p>Cells may span columns.</p></td>
+</tr>
+<tr><td><p>body row 3</p></td>
+<td rowspan="2"><p>Cells may
+span rows.</p></td>
+<td colspan="2" rowspan="2"><ul class="simple">
+<li><p>Table cells</p></li>
+<li><p>contain</p></li>
+<li><p>body elements.</p></li>
+</ul>
+</td>
+</tr>
+<tr><td><p>body row 4</p></td>
+</tr>
+</tbody>
+</table>
+<table>
+<thead>
+<tr><th class="head"><p>title1</p></th>
+<th class="head"><p>title2</p></th>
+</tr>
+</thead>
+<tbody>
+<tr><td><p>col1</p></td>
+<td><p>col2</p></td>
+</tr>
+<tr><td rowspan="2"><p>mutirow</p></td>
+<td><p>cell1</p></td>
+</tr>
+<tr><td><p>cell2</p></td>
+</tr>
+<tr><td><p>singlerow</p></td>
+<td><p>cell3</p></td>
+</tr>
+</tbody>
+</table>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/readme_renderer-35.0/tests/fixtures/test_rst_tables.rst 
new/readme_renderer-37.3/tests/fixtures/test_rst_tables.rst
--- old/readme_renderer-35.0/tests/fixtures/test_rst_tables.rst 1970-01-01 
01:00:00.000000000 +0100
+++ new/readme_renderer-37.3/tests/fixtures/test_rst_tables.rst 2022-10-31 
21:54:28.000000000 +0100
@@ -0,0 +1,28 @@
+.. Example from 
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#tables
+
++------------------------+------------+----------+----------+
+| Header row, column 1   | Header 2   | Header 3 | Header 4 |
+| (header rows optional) |            |          |          |
++========================+============+==========+==========+
+| body row 1, column 1   | column 2   | column 3 | column 4 |
++------------------------+------------+----------+----------+
+| body row 2             | Cells may span columns.          |
++------------------------+------------+---------------------+
+| body row 3             | Cells may  | - Table cells       |
++------------------------+ span rows. | - contain           |
+| body row 4             |            | - body elements.    |
++------------------------+------------+---------------------+
+
+.. Example from #182
+
++---------------+---------------+
+| title1        | title2        |
++===============+===============+
+| col1          | col2          |
++---------------+---------------+
+| mutirow       | cell1         |
+|               +---------------+
+|               | cell2         |
++---------------+---------------+
+| singlerow     | cell3         |
++---------------+---------------+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/tests/test_markdown.py 
new/readme_renderer-37.3/tests/test_markdown.py
--- old/readme_renderer-35.0/tests/test_markdown.py     2022-04-19 
19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tests/test_markdown.py     2022-10-31 
21:54:28.000000000 +0100
@@ -1,36 +1,25 @@
-import io
-import glob
-import os
+from pathlib import Path
 
 import pytest
 
 from readme_renderer.markdown import render, variants
 
 
-MD_FIXTURES = [
-    (fn, os.path.splitext(fn)[0] + ".html", variant)
-    for variant in variants
-    for fn in glob.iglob(
-        os.path.join(
-            os.path.dirname(__file__),
-            "fixtures",
-            "test_" + variant + "*.md"
-        )
-    )
-]
-
-
 @pytest.mark.parametrize(
     ("md_filename", "html_filename", "variant"),
-    MD_FIXTURES,
+    [
+        (pytest.param(fn, fn.with_suffix(".html"), variant, id=fn.name))
+        for variant in variants
+        for fn in Path(__file__).parent.glob(f"fixtures/test_{variant}*.md")
+    ],
 )
 def test_md_fixtures(md_filename, html_filename, variant):
     # Get our Markup
-    with io.open(md_filename, encoding='utf-8') as f:
+    with open(md_filename, encoding='utf-8') as f:
         md_markup = f.read()
 
     # Get our expected
-    with io.open(html_filename, encoding="utf-8") as f:
+    with open(html_filename, encoding="utf-8") as f:
         expected = f.read()
 
     assert render(md_markup, variant=variant) == expected
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/tests/test_rst.py 
new/readme_renderer-37.3/tests/test_rst.py
--- old/readme_renderer-35.0/tests/test_rst.py  2022-04-19 19:31:33.000000000 
+0200
+++ new/readme_renderer-37.3/tests/test_rst.py  2022-10-31 21:54:28.000000000 
+0100
@@ -1,6 +1,5 @@
 import io
-import glob
-import os.path
+from pathlib import Path
 
 import pytest
 
@@ -10,19 +9,17 @@
 @pytest.mark.parametrize(
     ("rst_filename", "html_filename"),
     [
-        (fn, os.path.splitext(fn)[0] + ".html")
-        for fn in glob.glob(
-            os.path.join(os.path.dirname(__file__), "fixtures", "test_*.rst")
-        )
+        (pytest.param(fn, fn.with_suffix(".html"), id=fn.name))
+        for fn in Path(__file__).parent.glob("fixtures/test_*.rst")
     ],
 )
 def test_rst_fixtures(rst_filename, html_filename):
     # Get our Markup
-    with io.open(rst_filename, encoding='utf-8') as f:
+    with open(rst_filename, encoding='utf-8') as f:
         rst_markup = f.read()
 
     # Get our expected
-    with io.open(html_filename, encoding="utf-8") as f:
+    with open(html_filename, encoding="utf-8") as f:
         expected = f.read()
 
     out = render(rst_markup)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/tests/test_txt.py 
new/readme_renderer-37.3/tests/test_txt.py
--- old/readme_renderer-35.0/tests/test_txt.py  2022-04-19 19:31:33.000000000 
+0200
+++ new/readme_renderer-37.3/tests/test_txt.py  2022-10-31 21:54:28.000000000 
+0100
@@ -1,6 +1,4 @@
-import io
-import glob
-import os.path
+from pathlib import Path
 
 import pytest
 
@@ -10,19 +8,17 @@
 @pytest.mark.parametrize(
     ("txt_filename", "html_filename"),
     [
-        (fn, os.path.splitext(fn)[0] + ".html")
-        for fn in glob.glob(
-            os.path.join(os.path.dirname(__file__), "fixtures", "test_*.txt")
-        )
+        (pytest.param(fn, fn.with_suffix(".html"), id=fn.name))
+        for fn in Path(__file__).parent.glob("fixtures/test_*.txt")
     ],
 )
 def test_txt_fixtures(txt_filename, html_filename):
     # Get our Markup
-    with io.open(txt_filename, encoding='utf-8') as f:
+    with open(txt_filename, encoding='utf-8') as f:
         txt_markup = f.read()
 
     # Get our expected
-    with io.open(html_filename, encoding="utf-8") as f:
+    with open(html_filename, encoding="utf-8") as f:
         expected = f.read()
 
     out = render(txt_markup)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readme_renderer-35.0/tox.ini 
new/readme_renderer-37.3/tox.ini
--- old/readme_renderer-35.0/tox.ini    2022-04-19 19:31:33.000000000 +0200
+++ new/readme_renderer-37.3/tox.ini    2022-10-31 21:54:28.000000000 +0100
@@ -5,8 +5,9 @@
 [testenv]
 deps =
     pytest
+    pytest-cov
 commands =
-    pytest --strict-markers {posargs}
+    pytest --strict-markers --cov {posargs}
 extras = md
 
 [testenv:mypy]

Reply via email to