Source: mkautodoc
Version: 0.1.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom 
> PYBUILD_TEST_ARGS="PYTHONPATH={build_dir}:/<<PKGBUILDDIR>>/tests/mocklib 
> {interpreter} -m pytest tests/ -v" dh_auto_test
> I: pybuild base:239: 
> PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mkautodoc/build:/<<PKGBUILDDIR>>/tests/mocklib
>  python3.10 -m pytest tests/ -v
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0+repack -- 
> /usr/bin/python3.10
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> plugins: cov-3.0.0
> collecting ... collected 2 items
> 
> tests/test_extension.py::test_docstring FAILED                           [ 
> 50%]
> tests/test_extension.py::test_members FAILED                             
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ________________________________ test_docstring 
> ________________________________
> 
>     def test_docstring():
>         content = """
>     # Example
>     
>     ::: mocklib.example_function
>         :docstring:
>     """
> >       output = markdown.markdown(content, extensions=["mkautodoc"])
> 
> tests/test_extension.py:11: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/markdown/core.py:386: in markdown
>     md = Markdown(**kwargs)
> /usr/lib/python3/dist-packages/markdown/core.py:96: in __init__
>     self.registerExtensions(extensions=kwargs.get('extensions', []),
> /usr/lib/python3/dist-packages/markdown/core.py:123: in registerExtensions
>     ext = self.build_extension(ext, configs.get(ext, {}))
> /usr/lib/python3/dist-packages/markdown/core.py:162: in build_extension
>     module = importlib.import_module(ext_name)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1050: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1027: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:688: in _load_unlocked
>     ???
> <frozen importlib._bootstrap_external>:883: in exec_module
>     ???
> <frozen importlib._bootstrap>:241: in _call_with_frames_removed
>     ???
> mkautodoc/__init__.py:1: in <module>
>     from .extension import MKAutoDocExtension, makeExtension
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
>     from markdown import Markdown
>     from markdown.extensions import Extension
>     from markdown.blockprocessors import BlockProcessor
> >   from markdown.util import etree
> E   ImportError: cannot import name 'etree' from 'markdown.util' 
> (/usr/lib/python3/dist-packages/markdown/util.py)
> 
> mkautodoc/extension.py:4: ImportError
> _________________________________ test_members 
> _________________________________
> 
>     def test_members():
>         content = """
>     # Example
>     
>     ::: mocklib.ExampleClass
>         :docstring:
>         :members:
>     """
> >       output = markdown.markdown(content, extensions=["mkautodoc"])
> 
> tests/test_extension.py:29: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/markdown/core.py:386: in markdown
>     md = Markdown(**kwargs)
> /usr/lib/python3/dist-packages/markdown/core.py:96: in __init__
>     self.registerExtensions(extensions=kwargs.get('extensions', []),
> /usr/lib/python3/dist-packages/markdown/core.py:123: in registerExtensions
>     ext = self.build_extension(ext, configs.get(ext, {}))
> /usr/lib/python3/dist-packages/markdown/core.py:162: in build_extension
>     module = importlib.import_module(ext_name)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1050: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1027: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:688: in _load_unlocked
>     ???
> <frozen importlib._bootstrap_external>:883: in exec_module
>     ???
> <frozen importlib._bootstrap>:241: in _call_with_frames_removed
>     ???
> mkautodoc/__init__.py:1: in <module>
>     from .extension import MKAutoDocExtension, makeExtension
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
>     from markdown import Markdown
>     from markdown.extensions import Extension
>     from markdown.blockprocessors import BlockProcessor
> >   from markdown.util import etree
> E   ImportError: cannot import name 'etree' from 'markdown.util' 
> (/usr/lib/python3/dist-packages/markdown/util.py)
> 
> mkautodoc/extension.py:4: ImportError
> =========================== short test summary info 
> ============================
> FAILED tests/test_extension.py::test_docstring - ImportError: cannot import 
> n...
> FAILED tests/test_extension.py::test_members - ImportError: cannot import 
> nam...
> ============================== 2 failed in 0.09s 
> ===============================
> E: pybuild pybuild:369: test: plugin custom failed with: exit code=1: 
> PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_mkautodoc/build:/<<PKGBUILDDIR>>/tests/mocklib
>  python3.10 -m pytest tests/ -v
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/mkautodoc_0.1.0-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lu...@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 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