Package: src:python-markdown2
Version: 2.5.4-3
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that python-markdown2 fails to build from source [1].
The error is:
E       AttributeError: 'DocFileCase' object has no attribute '_test_result'

Which can be fixed by using the debug() function to run the doctests. I
have created a patch for this, which should be forwarded upstream.

I've applied the fix in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.

Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4436767/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Index: python-markdown2/test/test_markdown2.py
===================================================================
--- python-markdown2.orig/test/test_markdown2.py
+++ python-markdown2/test/test_markdown2.py
@@ -317,7 +317,7 @@ versions of markdown2.py this was pathol
 class DocTestsTestCase(unittest.TestCase):
     def test_api(self):
         test = doctest.DocFileTest("api.doctests")
-        test.runTest()
+        test.debug()
 
 
 #---- internal support stuff

Reply via email to