Package: src:pymdown-extensions
Version: 10.13-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

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/202512/

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:pymdown-extensions, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymdownx  
* Building wheel...
Successfully built pymdown_extensions-10.13-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pymdownx  
* Building wheel...
Successfully built pymdown_extensions-10.13-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymdownx/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymdownx/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 685 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 ............       [  5%]
tests/test_extensions/test_blocks/test_captions.py ..................... [  8%]
...................                                                      [ 10%]
tests/test_extensions/test_blocks/test_definition.py .....               [ 11%]
tests/test_extensions/test_blocks/test_details.py ...........            [ 13%]
tests/test_extensions/test_blocks/test_general_blocks.py ............... [ 15%]
.....................                                                    [ 18%]
tests/test_extensions/test_blocks/test_html.py ................          [ 20%]
tests/test_extensions/test_blocks/test_legacy_tab.py ........            [ 22%]
tests/test_extensions/test_blocks/test_tab.py ...........                [ 23%]
tests/test_extensions/test_caret.py .......................              [ 27%]
tests/test_extensions/test_details.py ...............                    [ 29%]
tests/test_extensions/test_emoji.py ...                                  [ 29%]
tests/test_extensions/test_escapeall.py ....                             [ 30%]
tests/test_extensions/test_fancylists.py ............................... [ 34%]
.................                                                        [ 37%]
tests/test_extensions/test_highlight.py ..............................   [ 41%]
tests/test_extensions/test_inlinehilite.py .....................         [ 44%]
tests/test_extensions/test_keys.py .                                     [ 44%]
tests/test_extensions/test_legacy_slugs.py ......                        [ 45%]
tests/test_extensions/test_magiclink.py ..............................   [ 50%]
tests/test_extensions/test_pathconverter.py .....................F...... [ 54%]
.......F.........                                                        [ 56%]
tests/test_extensions/test_saneheaders.py ..........                     [ 58%]
tests/test_extensions/test_slugs.py ........                             [ 59%]
tests/test_extensions/test_smartsymbols.py ...........                   [ 60%]
tests/test_extensions/test_snippets.py ................................. [ 65%]
...........................                                              [ 69%]
tests/test_extensions/test_striphmtl.py .                                [ 69%]
tests/test_extensions/test_superfences.py .............................. [ 74%]
..................................                                       [ 79%]
tests/test_extensions/test_tabbed.py .....................               [ 82%]
tests/test_extensions/test_tabbed_alternate.py .....................     [ 85%]
tests/test_extensions/test_tilde.py ........................             [ 88%]
tests/test_syntax.py ................................................... [ 96%]
........                                                                 [ 97%]
tests/test_targeted.py ..............                                    [ 99%]
tests/test_versions.py ....                                              [100%]

=================================== FAILURES ===================================
_______________________ TestAbsolute.test_relative_path ________________________

self = <tests.test_extensions.test_pathconverter.TestAbsolute 
testMethod=test_relative_path>

    def test_relative_path(self):
        """Test relative path."""
    
>       self.check_markdown(
            r'![picture](./test_extensions/_assets/bg.png)',
            r'<p><img alt="picture" 
src="/Some/fake/path/test_extensions/_assets/bg.png" /></p>'
        )

tests/test_extensions/test_pathconverter.py:182: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
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><img alt="picture" src="/Some/fake/path/test_extensions/_assets/bg.png" 
/></p>+<p><img alt="picture" 
src="/////Some/fake/path/test_extensions/_assets/bg.png" /></p>
__________________ TestAbsoluteFileScheme.test_relative_path ___________________

self = <tests.test_extensions.test_pathconverter.TestAbsoluteFileScheme 
testMethod=test_relative_path>

    def test_relative_path(self):
        """Test relative path."""
    
>       self.check_markdown(
            r'![picture](./test_extensions/_assets/bg.png)',
            r'<p><img alt="picture" 
src="file:///Some/fake/path/test_extensions/_assets/bg.png" /></p>'
        )

tests/test_extensions/test_pathconverter.py:292: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
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><img alt="picture" 
src="file:///Some/fake/path/test_extensions/_assets/bg.png" /></p>+<p><img 
alt="picture" src="file://///Some/fake/path/test_extensions/_assets/bg.png" 
/></p>
=============================== warnings summary ===============================
tests/test_extensions/test_snippets.py: 57 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymdownx/build/pymdownx/snippets.py:346:
 DeprecationWarning: codecs.open() is deprecated. Use open() instead.
    with codecs.open(snippet, 'r', encoding=self.encoding) as f:

tests/test_syntax.py: 59 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymdownx/build/tests/test_syntax.py:58: 
DeprecationWarning: codecs.open() is deprecated. Use open() instead.
    with codecs.open(testfile, 'r', encoding='utf-8') as f:

tests/test_syntax.py: 59 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymdownx/build/tests/test_syntax.py:66: 
DeprecationWarning: codecs.open() is deprecated. Use open() instead.
    with codecs.open(expected_html, 'r', encoding='utf-8') as f:

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
tests/test_extensions/test_pathconverter.py::TestAbsolute::test_relative_path
FAILED 
tests/test_extensions/test_pathconverter.py::TestAbsoluteFileScheme::test_relative_path
================= 2 failed, 683 passed, 175 warnings in 2.98s ==================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymdownx/build; python3.14 -m pytest 
tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pymdownx/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pymdownx/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 685 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 ............       [  5%]
tests/test_extensions/test_blocks/test_captions.py ..................... [  8%]
...................                                                      [ 10%]
tests/test_extensions/test_blocks/test_definition.py .....               [ 11%]
tests/test_extensions/test_blocks/test_details.py ...........            [ 13%]
tests/test_extensions/test_blocks/test_general_blocks.py ............... [ 15%]
.....................                                                    [ 18%]
tests/test_extensions/test_blocks/test_html.py ................          [ 20%]
tests/test_extensions/test_blocks/test_legacy_tab.py ........            [ 22%]
tests/test_extensions/test_blocks/test_tab.py ...........                [ 23%]
tests/test_extensions/test_caret.py .......................              [ 27%]
tests/test_extensions/test_details.py ...............                    [ 29%]
tests/test_extensions/test_emoji.py ...                                  [ 29%]
tests/test_extensions/test_escapeall.py ....                             [ 30%]
tests/test_extensions/test_fancylists.py ............................... [ 34%]
.................                                                        [ 37%]
tests/test_extensions/test_highlight.py ..............................   [ 41%]
tests/test_extensions/test_inlinehilite.py .....................         [ 44%]
tests/test_extensions/test_keys.py .                                     [ 44%]
tests/test_extensions/test_legacy_slugs.py ......                        [ 45%]
tests/test_extensions/test_magiclink.py ..............................   [ 50%]
tests/test_extensions/test_pathconverter.py ............................ [ 54%]
.................                                                        [ 56%]
tests/test_extensions/test_saneheaders.py ..........                     [ 58%]
tests/test_extensions/test_slugs.py ........                             [ 59%]
tests/test_extensions/test_smartsymbols.py ...........                   [ 60%]
tests/test_extensions/test_snippets.py ................................. [ 65%]
...........................                                              [ 69%]
tests/test_extensions/test_striphmtl.py .                                [ 69%]
tests/test_extensions/test_superfences.py .............................. [ 74%]
..................................                                       [ 79%]
tests/test_extensions/test_tabbed.py .....................               [ 82%]
tests/test_extensions/test_tabbed_alternate.py .....................     [ 85%]
tests/test_extensions/test_tilde.py ........................             [ 88%]
tests/test_syntax.py ................................................... [ 96%]
........                                                                 [ 97%]
tests/test_targeted.py ..............                                    [ 99%]
tests/test_versions.py ....                                              [100%]

============================= 685 passed in 3.45s ==============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to