Source: python-readme-renderer
Version: 24.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> copying readme_renderer/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> copying readme_renderer/markdown.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> copying readme_renderer/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> copying readme_renderer/__about__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> copying readme_renderer/rst.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> copying readme_renderer/clean.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> copying readme_renderer/txt.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer/integration
> copying readme_renderer/integration/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer/integration
> copying readme_renderer/integration/distutils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/readme_renderer/integration
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> copying readme_renderer/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> copying readme_renderer/markdown.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> copying readme_renderer/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> copying readme_renderer/__about__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> copying readme_renderer/rst.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> copying readme_renderer/clean.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> copying readme_renderer/txt.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer/integration
> copying readme_renderer/integration/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer/integration
> copying readme_renderer/integration/distutils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/readme_renderer/integration
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; 
> python3.10 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 67 items
> 
> tests/test_clean.py .                                                    [  
> 1%]
> tests/test_integration_distutils.py ......                               [ 
> 10%]
> tests/test_markdown.py .F....F..................................         [ 
> 71%]
> tests/test_noextra.py ss                                                 [ 
> 74%]
> tests/test_rst.py ................                                       [ 
> 98%]
> tests/test_txt.py .                                                      
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _ 
> test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_highlight.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_highlight.html-GFM]
>  _
> 
> md_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_highlight.md'
> html_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_highlight.html'
> variant = 'GFM'
> 
>     @pytest.mark.parametrize(
>         ("md_filename", "html_filename", "variant"),
>         MD_FIXTURES,
>     )
>     def test_md_fixtures(md_filename, html_filename, variant):
>         # Get our Markup
>         with io.open(md_filename, encoding='utf-8') as f:
>             md_markup = f.read()
>     
>         # Get our expected
>         with io.open(html_filename, encoding="utf-8") as f:
>             expected = f.read()
>     
> >       assert render(md_markup, variant=variant) == expected
> E       assert '<p>This is n...an>\n</pre>\n' == '<p>This is 
> n...an>\n</pre>\n'
> E         Skipping 231 identical leading characters in diff, use -v to show
> E         + unc</span><span class="w"> </span><span 
> class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
> E         + <span class="w">    </span><span class="k">return</span><span 
> class="w"></span>
> E         - unc</span> <span class="nx">ThisIsGo</span><span 
> class="p">(){</span>
> E         ? -----------             ^^  ^^^^^^^^                    ^  ---
> E         + <span class="p">}</span><span class="w"></span>
> E         ?              ^  ^                    ^...
> E         
> E         ...Full output truncated (4 lines hidden), use '-vv' to show
> 
> tests/test_markdown.py:36: AssertionError
> _ 
> test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_doublequotes.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_doublequotes.html-GFM]
>  _
> 
> md_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_doublequotes.md'
> html_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_doublequotes.html'
> variant = 'GFM'
> 
>     @pytest.mark.parametrize(
>         ("md_filename", "html_filename", "variant"),
>         MD_FIXTURES,
>     )
>     def test_md_fixtures(md_filename, html_filename, variant):
>         # Get our Markup
>         with io.open(md_filename, encoding='utf-8') as f:
>             md_markup = f.read()
>     
>         # Get our expected
>         with io.open(html_filename, encoding="utf-8") as f:
>             expected = f.read()
>     
> >       assert render(md_markup, variant=variant) == expected
> E       assert '<p>This is n...an>\n</pre>\n' == '<p>This is 
> n...an>\n</pre>\n'
> E         Skipping 316 identical leading characters in diff, use -v to show
> E         + unc</span><span class="w"> </span><span 
> class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
> E         + <span class="w">    </span><span class="k">return</span><span 
> class="w"></span>
> E         - unc</span> <span class="nx">ThisIsGo</span><span 
> class="p">(){</span>
> E         ? -----------             ^^  ^^^^^^^^                    ^  ---
> E         + <span class="p">}</span><span class="w"></span>
> E         ?              ^  ^                    ^...
> E         
> E         ...Full output truncated (4 lines hidden), use '-vv' to show
> 
> tests/test_markdown.py:36: AssertionError
> =============================== warnings summary 
> ===============================
> tests/test_integration_distutils.py:1
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/test_integration_distutils.py:1:
>  DeprecationWarning: The distutils package is deprecated and slated for 
> removal in Python 3.12. Use setuptools or check PEP 632 for potential 
> alternatives
>     import distutils.dist
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> tests/test_markdown.py::test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_highlight.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_highlight.html-GFM]
> FAILED 
> tests/test_markdown.py::test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_doublequotes.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/fixtures/test_GFM_doublequotes.html-GFM]
> ============== 2 failed, 63 passed, 2 skipped, 1 warning in 1.12s 
> ==============
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; 
> python3.9 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 67 items
> 
> tests/test_clean.py .                                                    [  
> 1%]
> tests/test_integration_distutils.py ......                               [ 
> 10%]
> tests/test_markdown.py .F....F..................................         [ 
> 71%]
> tests/test_noextra.py ss                                                 [ 
> 74%]
> tests/test_rst.py ................                                       [ 
> 98%]
> tests/test_txt.py .                                                      
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _ 
> test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_highlight.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_highlight.html-GFM]
>  _
> 
> md_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_highlight.md'
> html_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_highlight.html'
> variant = 'GFM'
> 
>     @pytest.mark.parametrize(
>         ("md_filename", "html_filename", "variant"),
>         MD_FIXTURES,
>     )
>     def test_md_fixtures(md_filename, html_filename, variant):
>         # Get our Markup
>         with io.open(md_filename, encoding='utf-8') as f:
>             md_markup = f.read()
>     
>         # Get our expected
>         with io.open(html_filename, encoding="utf-8") as f:
>             expected = f.read()
>     
> >       assert render(md_markup, variant=variant) == expected
> E       assert '<p>This is n...an>\n</pre>\n' == '<p>This is 
> n...an>\n</pre>\n'
> E         Skipping 231 identical leading characters in diff, use -v to show
> E         + unc</span><span class="w"> </span><span 
> class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
> E         + <span class="w">    </span><span class="k">return</span><span 
> class="w"></span>
> E         - unc</span> <span class="nx">ThisIsGo</span><span 
> class="p">(){</span>
> E         ? -----------             ^^  ^^^^^^^^                    ^  ---
> E         + <span class="p">}</span><span class="w"></span>
> E         ?              ^  ^                    ^...
> E         
> E         ...Full output truncated (4 lines hidden), use '-vv' to show
> 
> tests/test_markdown.py:36: AssertionError
> _ 
> test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_doublequotes.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_doublequotes.html-GFM]
>  _
> 
> md_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_doublequotes.md'
> html_filename = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_doublequotes.html'
> variant = 'GFM'
> 
>     @pytest.mark.parametrize(
>         ("md_filename", "html_filename", "variant"),
>         MD_FIXTURES,
>     )
>     def test_md_fixtures(md_filename, html_filename, variant):
>         # Get our Markup
>         with io.open(md_filename, encoding='utf-8') as f:
>             md_markup = f.read()
>     
>         # Get our expected
>         with io.open(html_filename, encoding="utf-8") as f:
>             expected = f.read()
>     
> >       assert render(md_markup, variant=variant) == expected
> E       assert '<p>This is n...an>\n</pre>\n' == '<p>This is 
> n...an>\n</pre>\n'
> E         Skipping 316 identical leading characters in diff, use -v to show
> E         + unc</span><span class="w"> </span><span 
> class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
> E         + <span class="w">    </span><span class="k">return</span><span 
> class="w"></span>
> E         - unc</span> <span class="nx">ThisIsGo</span><span 
> class="p">(){</span>
> E         ? -----------             ^^  ^^^^^^^^                    ^  ---
> E         + <span class="p">}</span><span class="w"></span>
> E         ?              ^  ^                    ^...
> E         
> E         ...Full output truncated (4 lines hidden), use '-vv' to show
> 
> tests/test_markdown.py:36: AssertionError
> =========================== short test summary info 
> ============================
> FAILED 
> tests/test_markdown.py::test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_highlight.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_highlight.html-GFM]
> FAILED 
> tests/test_markdown.py::test_md_fixtures[/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_doublequotes.md-/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/test_GFM_doublequotes.html-GFM]
> =================== 2 failed, 63 passed, 2 skipped in 0.75s 
> ====================
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 
> 3.9" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/python-readme-renderer_24.0-3_unstable.log

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 marking 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.

Reply via email to