← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2124999] [NEW] python-markdown ftbfs in questing archive rebuild

 

Public bug reported:

The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html


======================================================================
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_raw_unclosed_tag_in_code_span (tests.test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_unclosed_tag_in_code_span)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 668, in test_raw_unclosed_tag_in_code_span
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.dedent(
        ^^^^^^^^^^^^
    ...<15 lines>...
        )
        ^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
  <p><code>&lt;div</code>.</p>
- <p><div>
? ---
+ <div>
  hello
- </div></p>
?       ----
+ </div>


======================================================================
FAIL: test_raw_unclosed_tag_in_code_span_space (tests.test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_unclosed_tag_in_code_span_space)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 689, in test_raw_unclosed_tag_in_code_span_space
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.dedent(
        ^^^^^^^^^^^^
    ...<15 lines>...
        )
        ^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
  <p><code>&lt;div</code>.</p>
- <p><div>
? ---
+ <div>
  hello
- </div></p>
?       ----
+ </div>


======================================================================
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_raw_unclosed_tag_in_code_span (tests.test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_raw_unclosed_tag_in_code_span)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 668, in test_raw_unclosed_tag_in_code_span
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.dedent(
        ^^^^^^^^^^^^
    ...<15 lines>...
        )
        ^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
  <p><code>&lt;div</code>.</p>
- <p><div>
? ---
+ <div>
  hello
- </div></p>
?       ----
+ </div>


======================================================================
FAIL: test_raw_unclosed_tag_in_code_span_space (tests.test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_raw_unclosed_tag_in_code_span_space)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 689, in test_raw_unclosed_tag_in_code_span_space
    self.assertMarkdownRenders(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.dedent(
        ^^^^^^^^^^^^
    ...<15 lines>...
        )
        ^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
    self.assertMultiLineEqual(output, expected)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
  <p><code>&lt;div</code>.</p>
- <p><div>
? ---
+ <div>
  hello
- </div></p>
?       ----
+ </div>


======================================================================
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
- 
- -->

** Affects: python-markdown (Ubuntu)
     Importance: Undecided
     Assignee: Simon Poirier (simpoir)
         Status: New


** Tags: dcr-incoming ftbfs

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to python-markdown in Ubuntu.
https://bugs.launchpad.net/bugs/2124999

Title:
  python-markdown ftbfs in questing archive rebuild

Status in python-markdown package in Ubuntu:
  New

Bug description:
  The package fails to build in the recent archive rebuild
  https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

  
  ======================================================================
  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_raw_unclosed_tag_in_code_span (tests.test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_unclosed_tag_in_code_span)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 668, in test_raw_unclosed_tag_in_code_span
      self.assertMarkdownRenders(
      ~~~~~~~~~~~~~~~~~~~~~~~~~~^
          self.dedent(
          ^^^^^^^^^^^^
      ...<15 lines>...
          )
          ^
      )
      ^
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
      self.assertMultiLineEqual(output, expected)
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
    <p><code>&lt;div</code>.</p>
  - <p><div>
  ? ---
  + <div>
    hello
  - </div></p>
  ?       ----
  + </div>

  
  ======================================================================
  FAIL: test_raw_unclosed_tag_in_code_span_space (tests.test_syntax.blocks.test_html_blocks.TestHTMLBlocks.test_raw_unclosed_tag_in_code_span_space)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 689, in test_raw_unclosed_tag_in_code_span_space
      self.assertMarkdownRenders(
      ~~~~~~~~~~~~~~~~~~~~~~~~~~^
          self.dedent(
          ^^^^^^^^^^^^
      ...<15 lines>...
          )
          ^
      )
      ^
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
      self.assertMultiLineEqual(output, expected)
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
    <p><code>&lt;div</code>.</p>
  - <p><div>
  ? ---
  + <div>
    hello
  - </div></p>
  ?       ----
  + </div>

  
  ======================================================================
  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_raw_unclosed_tag_in_code_span (tests.test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_raw_unclosed_tag_in_code_span)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 668, in test_raw_unclosed_tag_in_code_span
      self.assertMarkdownRenders(
      ~~~~~~~~~~~~~~~~~~~~~~~~~~^
          self.dedent(
          ^^^^^^^^^^^^
      ...<15 lines>...
          )
          ^
      )
      ^
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
      self.assertMultiLineEqual(output, expected)
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
    <p><code>&lt;div</code>.</p>
  - <p><div>
  ? ---
  + <div>
    hello
  - </div></p>
  ?       ----
  + </div>

  
  ======================================================================
  FAIL: test_raw_unclosed_tag_in_code_span_space (tests.test_syntax.extensions.test_md_in_html.TestDefaultwMdInHTML.test_raw_unclosed_tag_in_code_span_space)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/tests/test_syntax/blocks/test_html_blocks.py", line 689, in test_raw_unclosed_tag_in_code_span_space
      self.assertMarkdownRenders(
      ~~~~~~~~~~~~~~~~~~~~~~~~~~^
          self.dedent(
          ^^^^^^^^^^^^
      ...<15 lines>...
          )
          ^
      )
      ^
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_markdown/build/markdown/test_tools.py", line 77, in assertMarkdownRenders
      self.assertMultiLineEqual(output, expected)
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  AssertionError: '<p><code>&lt;div</code>.</p>\n<p><div>\nhello\n</div></p>' != '<p><code>&lt;div</code>.</p>\n<div>\nhello\n</div>'
    <p><code>&lt;div</code>.</p>
  - <p><div>
  ? ---
  + <div>
    hello
  - </div></p>
  ?       ----
  + </div>

  
  ======================================================================
  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
  - 
  - -->

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-markdown/+bug/2124999/+subscriptions



Follow ups