Package: src:python-markdown
Version: 3.4.1-2
Severity: serious
Control: fixed -1 3.10.2-1
Tags: ftbfs bookworm trixie

Dear maintainer:

During a rebuild of all packages in trixie, this package failed to build.

[ Note: The bug is marked as fixed with the version in forky/sid, but
  packages in bookworm and trixie must still build in bookworm and trixie ].

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/trixie/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-markdown, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
======================================================================
FAIL: test_raw_missing_close_bracket 
(tests.test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_missing_close_bracket)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py",
 line 662, in test_raw_missing_close_bracket
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        '<foo',
        ^^^^^^^
        '<p>&lt;foo</p>'
        ^^^^^^^^^^^^^^^^
    )
    ^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py",
 line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '' != '<p>&lt;foo</p>'
+ <p>&lt;foo</p>


======================================================================
FAIL: test_unclosed_comment_ 
(tests.test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_unclosed_comment_)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py",
 line 1022, in test_unclosed_comment_
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.dedent(
        ^^^^^^^^^^^^
    ...<11 lines>...
        )
        ^
    )
    ^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py",
 line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<!-- unclosed comment\n\n*not* a comment\n\n-->' != 
'<p>&lt;!-- unclosed comment</p>\n<p><em>not</em> a comment</p>'
- <!-- unclosed comment
+ <p>&lt;!-- unclosed comment</p>
?  ++++++                    ++++
+ <p><em>not</em> a comment</p>
- 
- *not* a comment
- 
- -->


======================================================================
FAIL: test_raw_missing_close_bracket 
(tests.test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_raw_missing_close_bracket)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py",
 line 662, in test_raw_missing_close_bracket
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        '<foo',
        ^^^^^^^
        '<p>&lt;foo</p>'
        ^^^^^^^^^^^^^^^^
    )
    ^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py",
 line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '' != '<p>&lt;foo</p>'
+ <p>&lt;foo</p>


======================================================================
FAIL: test_unclosed_comment_ 
(tests.test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_unclosed_comment_)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py",
 line 1022, in test_unclosed_comment_
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.dedent(
        ^^^^^^^^^^^^
    ...<11 lines>...
        )
        ^
    )
    ^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py",
 line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<!-- unclosed comment\n\n*not* a comment\n\n-->' != 
'<p>&lt;!-- unclosed comment</p>\n<p><em>not</em> a comment</p>'
- <!-- unclosed comment
+ <p>&lt;!-- unclosed comment</p>
?  ++++++                    ++++
+ <p><em>not</em> a comment</p>
- 
- *not* a comment
- 
- -->


----------------------------------------------------------------------
Ran 970 tests in 0.442s

FAILED (failures=4, skipped=64)
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build; python3.13 -m unittest 
discover -v 
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to