Source: python-markdown Version: 3.7-2 Severity: serious User: debian...@lists.debian.org Usertags: regression
Hi Maintainer Sometime around 2025-08-22, python-markdown's autopkgtest regressed in testing [1]. I've copied what I hope is the relevant part of the log below. Regards Graham [1] https://ci.debian.net/packages/p/python-markdown/testing/amd64/ 21s ====================================================================== 21s FAIL: test_raw_missing_close_bracket (test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_missing_close_bracket) 21s ---------------------------------------------------------------------- 21s Traceback (most recent call last): 21s File "/tmp/autopkgtest-lxc.8akpq02l/downtmp/autopkgtest_tmp/tests/test_syntax/blocks/test_html_blocks.py", line 662, in test_raw_missing_close_bracket 21s self.assertMarkdownRenders( 21s ~~~~~~~~~~~~~~~~~~~~~~~~~~^ 21s '<foo', 21s ^^^^^^^ 21s '<p><foo</p>' 21s ^^^^^^^^^^^^^^^^ 21s ) 21s ^ 21s File "/usr/lib/python3/dist-packages/markdown/test_tools.py", line 77, in assertMarkdownRenders 21s self.assertMultiLineEqual(output, expected) 21s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 21s AssertionError: '' != '<p><foo</p>' 21s + <p><foo</p> 21s 21s 21s ====================================================================== 21s FAIL: test_raw_unclosed_tag_in_code_span (test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_unclosed_tag_in_code_span) 21s ---------------------------------------------------------------------- 21s Traceback (most recent call last): 21s File "/tmp/autopkgtest-lxc.8akpq02l/downtmp/autopkgtest_tmp/tests/test_syntax/blocks/test_html_blocks.py", line 668, in test_raw_unclosed_tag_in_code_span 21s self.assertMarkdownRenders( 21s ~~~~~~~~~~~~~~~~~~~~~~~~~~^ 21s self.dedent( 21s ^^^^^^^^^^^^ 21s ...<15 lines>... 21s ) 21s ^ 21s ) 21s ^ 21s File "/usr/lib/python3/dist-packages/markdown/test_tools.py", line 77, in assertMarkdownRenders 21s self.assertMultiLineEqual(output, expected) 21s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 21s AssertionError: '<p><code><div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code><div</code>.</p>\n<div>\nhello\n</div>' 21s <p><code><div</code>.</p> 21s - <p><div> 21s ? --- 21s + <div> 21s hello 21s - </div></p> 21s ? ---- 21s + </div>