• Bug#1067361: pymdown-extensions: FTBFS: dh_auto_test: error: pybuild --

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:20:17 2024
    Source: pymdown-extensions
    Version: 9.5-4
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240319 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    debian/rules binary
    dh binary --with python3 --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:305: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx
    * Building wheel...
    Successfully built pymdown_extensions-9.5-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
    I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" module
    I: pybuild base:305: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx
    * Building wheel...
    Successfully built pymdown_extensions-9.5-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with "installer" module
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build; python3.12 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>
    configfile: tox.ini
    collected 350 items

    tests/test_extensions/test_arithmatex.py .......... [ 2%]
    tests/test_extensions/test_b64.py ..... [ 4%]
    tests/test_extensions/test_betterem.py ...... [ 6%]
    tests/test_extensions/test_details.py ............... [ 10%]
    tests/test_extensions/test_emoji.py ... [ 11%]
    tests/test_extensions/test_escapeall.py ... [ 12%]
    tests/test_extensions/test_highlight.py ......................... [ 19%]
    tests/test_extensions/test_inlinehilite.py ................... [ 24%]
    tests/test_extensions/test_legacy_slugs.py ...... [ 26%]
    tests/test_extensions/test_magiclink.py ............ [ 29%]
    tests/test_extensions/test_pathconverter.py ............................ [ 37%]
    ................. [ 42%]
    tests/test_extensions/test_saneheaders.py .......... [ 45%]
    tests/test_extensions/test_slugs.py ........ [ 47%]
    tests/test_extensions/test_snippets.py .................... [ 53%]
    tests/test_extensions/test_striphmtl.py . [ 53%]
    tests/test_extensions/test_superfences.py .............................. [ 62%]
    ........................ [ 69%]
    tests/test_extensions/test_tabbed.py ............. [ 72%]
    tests/test_extensions/test_tabbed_alternate.py ............. [ 76%]
    tests/test_syntax.py ...................................F............... [ 91%]
    .............. [ 95%]
    tests/test_targeted.py ............. [ 98%]
    tests/test_versions.py .... [100%]

    =================================== FAILURES ===================================
    __________________________ test_extensions[compare35] __________________________

    compare = (OrderedDict({'extensions': OrderedDict({'markdown.extensions.smarty': None, 'pymdownx.smartsymbols': None}), 'css': [...own-extensions-9.5/.pybuild/cpython3_3.12_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).txt')

    def test_extensions(compare):
    """Test extensions."""

    compare_results(*compare)

    tests/test_syntax.py:150:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    tests/test_syntax.py:51: in compare_results
    check_markdown(testfile, extension, extension_config, wrapper, update)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    testfile = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).txt'
    extension = ['markdown.extensions.smarty', 'pymdownx.smartsymbols'] extension_config = {}, wrapper = '%s', update = False

    def check_markdown(testfile, extension, extension_config, wrapper, update=False):
    """Check the markdown."""

    expected_html = os.path.splitext(testfile)[0] + '.html'
    with codecs.open(testfile, 'r', encoding='utf-8') as f:
    source = f.read()

    results = wrapper % markdown.Markdown(
    extensions=extension, extension_configs=extension_config
    ).convert(source)

    try:
    with codecs.open(expected_html, 'r', encoding='utf-8') as f:
    expected = f.read().replace("\r\n", "\n")
    except Exception:
    expected = ''

    diff = [
    l for l in difflib.unified_diff(
    expected.splitlines(True),
    results.splitlines(True),
    expected_html,
    os.path.join(os.path.dirname(testfile), 'results.html'),
    n=3
    )
    ]
    if diff:
    if update:
    print('Updated: %s' % expected_html)
    with codecs.open(expected_html, 'w', encoding='utf-8') as f:
    f.write(results)
    else:
    raise Exception(
    'Output from "%s" failed to match expected '
    'output.\n\n%s' % (testfile, ''.join(diff))
    E Exception: Output from "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).txt" failed to match expected output.
    E
    E --- /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).html
    E +++ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/tests/extensions/smartsymbols/results.html
    E @@ -1,3 +1,3 @@
    E -<p>right arrow &rarr;
    E -left arrow &larr;
    E -double arrow &harr;</p>+<p>right arrow &ndash;&gt;
    E +left arrow &lt;&ndash;
    E +double arrow &lt;&ndash;&gt;</p>

    tests/test_syntax.py:86: Exception
    =============================== warnings summary ===============================
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_details.py: 38 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 1 warning
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 1 warning
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/details.py:88: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    while last_child:

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_details.py: 19 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/details.py:90: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    sibling and block.startswith(' ' * self.tab_length * 2) and

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_details.py: 14 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/details.py:91: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    last_child and last_child.tag in ('ul', 'ol', 'dl')

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_details.py: 11 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/details.py:97: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    last_child = self.lastChild(sibling) if sibling else None

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_emoji.py::TestEmojiOldIndex::test_old_index
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_emoji.py::TestEmojiOldIndex::test_warning
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/emoji.py:250: DeprecationWarning: Using emoji indexes with no arguments is now deprecated.
    Emoji indexes now take 2 arguments: 'options' and 'md'.
    Please update your custom index accordingly.

    util.warn_deprecated(MSG_INDEX_WARN)

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugify::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify' is deprecated. 'uslugify' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugifyEncoded::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify_encoded' is deprecated. 'uslugify_encoded' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugifyCased::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify_cased' is deprecated. 'uslugify_cased' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugifyCasedEncoded::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify_cased_encoded' is deprecated. 'uslugify_cased_encode' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestGFM::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'gfm' is deprecated. 'gfm' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestGFMEncoded::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'gfm_encoded' is deprecated. 'gfm_encoded' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 12 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 12 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:171: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    sibling and sibling.tag.lower() == 'div' and

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 42 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 42 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:94: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    child_class = last_child.attrib.get('class', '') if last_child else ''

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 47 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 47 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:96: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    while last_child:

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 38 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 38 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:98: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    sibling and block.startswith(' ' * self.tab_length * 2) and

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 16 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 16 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:99: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    last_child and (

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 11 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 11 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:114: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    child_class = last_child.attrib.get('class', '') if last_child else ''

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 11 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 11 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:119: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    last_child = self.lastChild(sibling) if sibling else None

    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed.py: 5 warnings
    .pybuild/cpython3_3.12_pymdownx/build/tests/test_extensions/test_tabbed_alternate.py: 5 warnings
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pymdownx/build/pymdownx/tabbed.py:120: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    child_class = last_child.attrib.get('class', '') if last_child else ''

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    FAILED tests/test_syntax.py::test_extensions[compare35] - Exception: Output f...
    ================= 1 failed, 349 passed, 456 warnings in 4.47s ==================
    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
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx/build; python3.11 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>
    configfile: tox.ini
    collected 350 items

    tests/test_extensions/test_arithmatex.py .......... [ 2%]
    tests/test_extensions/test_b64.py ..... [ 4%]
    tests/test_extensions/test_betterem.py ...... [ 6%]
    tests/test_extensions/test_details.py ............... [ 10%]
    tests/test_extensions/test_emoji.py ... [ 11%]
    tests/test_extensions/test_escapeall.py ... [ 12%]
    tests/test_extensions/test_highlight.py ......................... [ 19%]
    tests/test_extensions/test_inlinehilite.py ................... [ 24%]
    tests/test_extensions/test_legacy_slugs.py ...... [ 26%]
    tests/test_extensions/test_magiclink.py ............ [ 29%]
    tests/test_extensions/test_pathconverter.py ............................ [ 37%]
    ................. [ 42%]
    tests/test_extensions/test_saneheaders.py .......... [ 45%]
    tests/test_extensions/test_slugs.py ........ [ 47%]
    tests/test_extensions/test_snippets.py .................... [ 53%]
    tests/test_extensions/test_striphmtl.py . [ 53%]
    tests/test_extensions/test_superfences.py .............................. [ 62%]
    ........................ [ 69%]
    tests/test_extensions/test_tabbed.py ............. [ 72%]
    tests/test_extensions/test_tabbed_alternate.py ............. [ 76%]
    tests/test_syntax.py ...................................F............... [ 91%]
    .............. [ 95%]
    tests/test_targeted.py ............. [ 98%]
    tests/test_versions.py .... [100%]

    =================================== FAILURES ===================================
    __________________________ test_extensions[compare35] __________________________

    compare = (OrderedDict([('extensions', OrderedDict([('markdown.extensions.smarty', None), ('pymdownx.smartsymbols', None)])), ('...own-extensions-9.5/.pybuild/cpython3_3.11_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).txt')

    def test_extensions(compare):
    """Test extensions."""

    compare_results(*compare)

    tests/test_syntax.py:150:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    tests/test_syntax.py:51: in compare_results
    check_markdown(testfile, extension, extension_config, wrapper, update)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    testfile = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).txt'
    extension = ['markdown.extensions.smarty', 'pymdownx.smartsymbols'] extension_config = {}, wrapper = '%s', update = False

    def check_markdown(testfile, extension, extension_config, wrapper, update=False):
    """Check the markdown."""

    expected_html = os.path.splitext(testfile)[0] + '.html'
    with codecs.open(testfile, 'r', encoding='utf-8') as f:
    source = f.read()

    results = wrapper % markdown.Markdown(
    extensions=extension, extension_configs=extension_config
    ).convert(source)

    try:
    with codecs.open(expected_html, 'r', encoding='utf-8') as f:
    expected = f.read().replace("\r\n", "\n")
    except Exception:
    expected = ''

    diff = [
    l for l in difflib.unified_diff(
    expected.splitlines(True),
    results.splitlines(True),
    expected_html,
    os.path.join(os.path.dirname(testfile), 'results.html'),
    n=3
    )
    ]
    if diff:
    if update:
    print('Updated: %s' % expected_html)
    with codecs.open(expected_html, 'w', encoding='utf-8') as f:
    f.write(results)
    else:
    raise Exception(
    'Output from "%s" failed to match expected '
    'output.\n\n%s' % (testfile, ''.join(diff))
    E Exception: Output from "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).txt" failed to match expected output.
    E
    E --- /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx/build/tests/extensions/smartsymbols/smartsymbols (with smarty).html
    E +++ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx/build/tests/extensions/smartsymbols/results.html
    E @@ -1,3 +1,3 @@
    E -<p>right arrow &rarr;
    E -left arrow &larr;
    E -double arrow &harr;</p>+<p>right arrow &ndash;&gt;
    E +left arrow &lt;&ndash;
    E +double arrow &lt;&ndash;&gt;</p>

    tests/test_syntax.py:86: Exception
    =============================== warnings summary ===============================
    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_emoji.py::TestEmojiOldIndex::test_old_index
    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_emoji.py::TestEmojiOldIndex::test_warning
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx/build/pymdownx/emoji.py:250: DeprecationWarning: Using emoji indexes with no arguments is now deprecated.
    Emoji indexes now take 2 arguments: 'options' and 'md'.
    Please update your custom index accordingly.

    util.warn_deprecated(MSG_INDEX_WARN)

    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugify::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify' is deprecated. 'uslugify' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugifyEncoded::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify_encoded' is deprecated. 'uslugify_encoded' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugifyCased::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify_cased' is deprecated. 'uslugify_cased' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestUslugifyCasedEncoded::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'uslugify_cased_encoded' is deprecated. 'uslugify_cased_encode' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestGFM::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'gfm' is deprecated. 'gfm' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    .pybuild/cpython3_3.11_pymdownx/build/tests/test_extensions/test_legacy_slugs.py::TestGFMEncoded::test_slug
    /usr/lib/python3/dist-packages/markdown/extensions/toc.py:381: DeprecationWarning: 'gfm_encoded' is deprecated. 'gfm_encoded' is deprecated in favor of the configurable 'slugify' function. See documentation for more info.
    el.attrib["id"] = unique(self.slugify(html.unescape(name), self.sep), used_ids)

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    FAILED tests/test_syntax.py::test_extensions[compare35] - Exception: Output f...
    ================== 1 failed, 349 passed, 8 warnings in 4.28s ===================
    E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pymdownx/build; python3.11 -m pytest tests
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/03/19/pymdown-extensions_9.5-4_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)