Package: src:pymdown-extensions Version: 10.8.1-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx * Building wheel... Successfully built pymdown_extensions-10.8.1-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build; python3.12 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build configfile: pyproject.toml collected 532 items tests/test_extensions/test_arithmatex.py .......... [ 1%] tests/test_extensions/test_b64.py ..... [ 2%] tests/test_extensions/test_betterem.py ...... [ 3%] tests/test_extensions/test_blocks/test_admonitions.py ............ [ 6%] tests/test_extensions/test_blocks/test_definition.py ..... [ 7%] tests/test_extensions/test_blocks/test_details.py ........... [ 9%] tests/test_extensions/test_blocks/test_general_blocks.py ............... [ 12%] ..................... [ 15%] tests/test_extensions/test_blocks/test_html.py ................ [ 18%] tests/test_extensions/test_blocks/test_legacy_tab.py ........ [ 20%] tests/test_extensions/test_blocks/test_tab.py ........... [ 22%] tests/test_extensions/test_details.py ............... [ 25%] tests/test_extensions/test_emoji.py .. [ 25%] tests/test_extensions/test_escapeall.py .... [ 26%] tests/test_extensions/test_highlight.py FF............................ [ 32%] tests/test_extensions/test_inlinehilite.py .......FF............ [ 36%] tests/test_extensions/test_keys.py . [ 36%] tests/test_extensions/test_legacy_slugs.py ...... [ 37%] tests/test_extensions/test_magiclink.py ............................ [ 42%] tests/test_extensions/test_pathconverter.py ............................ [ 47%] ................. [ 51%] tests/test_extensions/test_saneheaders.py .......... [ 53%] tests/test_extensions/test_slugs.py ........ [ 54%] tests/test_extensions/test_smartsymbols.py ........... [ 56%] tests/test_extensions/test_snippets.py ................................. [ 62%] ................. [ 65%] tests/test_extensions/test_striphmtl.py . [ 66%] tests/test_extensions/test_superfences.py .............................. [ 71%] ............................ [ 77%] tests/test_extensions/test_tabbed.py ..................... [ 81%] tests/test_extensions/test_tabbed_alternate.py ..................... [ 84%] tests/test_syntax.py ................................................... [ 94%] ............ [ 96%] tests/test_targeted.py ............. [ 99%] tests/test_versions.py .... [100%] =================================== FAILURES =================================== ________________________ TestHighlightGuess.test_guess _________________________ self = <tests.test_extensions.test_highlight.TestHighlightGuess testMethod=test_guess> def test_guess(self): """Test guessing."""
self.check_markdown(
r''' ``` import test test.test() ``` ''', ''' <div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">test</span> <span class="n">test</span><span class="o">.</span><span class="n">test</span><span class="p">()</span> </code></pre></div> ''', True ) tests/test_extensions/test_highlight.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util.py:91: in check_markdown self.assertTrue(not diff) E AssertionError: False is not true ----------------------------- Captured stdout call ----------------------------- --- Expected +++ Actual @@ -1,3 +1,3 @@ -<div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">test</span> +<div class="highlight"><pre><span></span><code><span class="kn">import</span><span class="w"> </span><span class="nn">test</span> <span class="n">test</span><span class="o">.</span><span class="n">test</span><span class="p">()</span> </code></pre></div> ___________________ TestHighlightGuessBlock.test_guess_block ___________________ self = <tests.test_extensions.test_highlight.TestHighlightGuessBlock testMethod=test_guess_block> def test_guess_block(self): """Test guessing for block."""
self.check_markdown(
r''' ``` import test test.test() ``` ''', ''' <div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">test</span> <span class="n">test</span><span class="o">.</span><span class="n">test</span><span class="p">()</span> </code></pre></div> ''', True ) tests/test_extensions/test_highlight.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util.py:91: in check_markdown self.assertTrue(not diff) E AssertionError: False is not true ----------------------------- Captured stdout call ----------------------------- --- Expected +++ Actual @@ -1,3 +1,3 @@ -<div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">test</span> +<div class="highlight"><pre><span></span><code><span class="kn">import</span><span class="w"> </span><span class="nn">test</span> <span class="n">test</span><span class="o">.</span><span class="n">test</span><span class="p">()</span> </code></pre></div> _____________________ TestInlineHiliteGuess.test_guessing ______________________ self = <tests.test_extensions.test_inlinehilite.TestInlineHiliteGuess testMethod=test_guessing> def test_guessing(self): """Ensure guessing can be enabled."""
self.check_markdown(
r'`import module`.', r'<p><code class="inlinehilite"><span class="kn">import</span> <span class="nn">module</span></code>.</p>' ) tests/test_extensions/test_inlinehilite.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util.py:91: in check_markdown self.assertTrue(not diff) E AssertionError: False is not true ----------------------------- Captured stdout call ----------------------------- --- Expected +++ Actual @@ -1 +1 @@ -<p><code class="inlinehilite"><span class="kn">import</span> <span class="nn">module</span></code>.</p>+<p><code class="inlinehilite"><span class="kn">import</span><span class="w"> </span><span class="nn">module</span></code>.</p> _______________ TestInlineHiliteGuessInline.test_guessing_inline _______________ self = <tests.test_extensions.test_inlinehilite.TestInlineHiliteGuessInline testMethod=test_guessing_inline> def test_guessing_inline(self): """Ensure guessing can be enabled for inline only."""
self.check_markdown(
r'`import module`.', r'<p><code class="inlinehilite"><span class="kn">import</span> <span class="nn">module</span></code>.</p>' ) tests/test_extensions/test_inlinehilite.py:252: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util.py:91: in check_markdown self.assertTrue(not diff) E AssertionError: False is not true ----------------------------- Captured stdout call ----------------------------- --- Expected +++ Actual @@ -1 +1 @@ -<p><code class="inlinehilite"><span class="kn">import</span> <span class="nn">module</span></code>.</p>+<p><code class="inlinehilite"><span class="kn">import</span><span class="w"> </span><span class="nn">module</span></code>.</p> =========================== short test summary info ============================ FAILED tests/test_extensions/test_highlight.py::TestHighlightGuess::test_guess FAILED tests/test_extensions/test_highlight.py::TestHighlightGuessBlock::test_guess_block FAILED tests/test_extensions/test_inlinehilite.py::TestInlineHiliteGuess::test_guessing FAILED tests/test_extensions/test_inlinehilite.py::TestInlineHiliteGuessInline::test_guessing_inline ======================== 4 failed, 528 passed in 3.42s ========================= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build; python3.12 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 returned exit code 13 make: *** [debian/rules:5: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202407/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not 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 affects, so that this is still visible in the BTS web page for this package. Thanks.