#1112111 python-markdown: autopkgtest regression in testing

#1112111#5
Date:
2025-08-26 14:23:24 UTC
From:
To:
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>

#1112111#8
Date:
2025-08-26 21:48:40 UTC
From:
To:
Hello,

Bug #1112111 in python-markdown reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-markdown/-/commit/eb6a1ee382ea128d002137ffb075857c6d9b7490
------------------------------------------------------------------------
Backport upstream patch to fix test failures with Python 3.13.6.

Closes: #1112111.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1112111

#1112111#15
Date:
2025-08-27 09:02:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-markdown, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1112111@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated python-markdown package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 27 Aug 2025 00:48:22 +0300
Source: python-markdown
Architecture: source
Version: 3.8.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1112111
Changes:
 python-markdown (3.8.2-2) unstable; urgency=medium
 .
   * Backport upstream patch to fix test failures with Python 3.13.6
     (closes: #1112111).
   * Upload to unstable.
Checksums-Sha1:
 27d11d5426c77f887b4224090953a1fea0acc1e7 2636 python-markdown_3.8.2-2.dsc
 c557bef9a912e817c77de23d6eb1e4d69a41870e 11312 python-markdown_3.8.2-2.debian.tar.xz
 5b3d5ffee7e11b78046fe02b610f81ed4455afc6 9416 python-markdown_3.8.2-2_source.buildinfo
Checksums-Sha256:
 d990abb2a7909cbec7f814989028654ff99068834d42607b06fd14f8609995eb 2636 python-markdown_3.8.2-2.dsc
 b0bcae72f7165c51b37f2a010434a6eb83b73aef7aa863c4d341d32c4ab3bd2f 11312 python-markdown_3.8.2-2.debian.tar.xz
 7e9c115b49c297912c48f658850e031c97c045a73969299400668dab24fb56ff 9416 python-markdown_3.8.2-2_source.buildinfo
Files:
 2928d86e6ba491b50d6432fe3f27fce0 2636 python optional python-markdown_3.8.2-2.dsc
 96dc811736c4a3cf0e89f88339154be1 11312 python optional python-markdown_3.8.2-2.debian.tar.xz
 832f73a261d6a5e5e9aa59556ed25ba0 9416 python optional python-markdown_3.8.2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmiuwv4THG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRCyZhS0UvRGtiSKEACrVOpLSARQScGSqaVQKK2tjEdMwfjG
jniL8Jw2dK5Axl+Qg7xG8WaEIV6dQZPt3goQed8cnMm+88TG3Kymd15UNhURwOCC
J1wn3PEjBGD40pVmWC+PIpXJGNCCPdLwITf5FcY1KSpTvp7P89/GFBqOTk1y3nAg
EX3cJEh3xBMFRn5B2RKxyMY0ARgDmtQxxHT7RmVNcYeRYFBBlKthkjP/FjL4Jecv
SOD4Je8HAJaMvJZQZR1va89r4xCV2fGxKOLRaAYyRbHmCKQ5tBLFNXLxtVgEZvk/
YBc8M3D8CJw0LdBJ59LdoiSFDloUP6CbszuHM/ZMaDLYlPwyz3kgBtoQwT1YBcT2
TX6x0XdOJ0HMA7zrSW2WymdboOX4gDFzk1y7q5XQwmbWFXAxkhcJkvwMgmxHSbAm
tLm3ks5AZtfpgXV7hzLiWDkelNY6YjeY0c+4Ok7Yw0Z2kmAqRPspO9UMOhbvodaI
6hlaiQkFg6pb72bN2DVcYS2eAVYBUluWGGFAjhEFc/qtsRjZEdWSGHAZCEV3FQ1j
cyhO2dlXBgj0neuT7tq0HZide0iXIQVr3GMe68MztbB/FMGEOC6VGADVr0oNIU4o
IKFvdByQY1xGS+bKkXKT70AuUyfSsNF5dzWKCinDCSyjSm1pTAasSuipvgWdG6mZ
xXrYLZJ/kvTkUg==
=e2XQ
-----END PGP SIGNATURE-----