Bug#1061006: sphinxcontrib-bibtex: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Tue Jan 16 19:42:11 GMT 2024
Source: sphinxcontrib-bibtex
Version: 2.6.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240115 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> sphinx-build -b html -d _build/doctrees . _build/html
> Running Sphinx v7.2.6
> making output directory... done
> loading intersphinx inventory from /usr/share/doc/python3-doc/html/objects.inv...
> loading intersphinx inventory from /usr/share/doc/sphinx-doc/html/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> writing output...
> building [html]: targets for 17 source files that are out of date
> updating environment: [new config] 17 added, 0 changed, 0 removed
> [2Kreading sources... [ 6%] api
> [2Kreading sources... [ 12%] api/bibfile
> [2Kreading sources... [ 18%] api/directives
> [2Kreading sources... [ 24%] api/domains
> [2Kreading sources... [ 29%] api/interface
> [2Kreading sources... [ 35%] api/nodes
> [2Kreading sources... [ 41%] api/plugin
> [2Kreading sources... [ 47%] api/pybtex
> [2Kreading sources... [ 53%] api/referencing
> [2Kreading sources... [ 59%] api/roles
> [2Kreading sources... [ 65%] api/transforms
> [2Kreading sources... [ 71%] changes
> [2Kreading sources... [ 76%] index
> [2Kreading sources... [ 82%] license
> [2Kreading sources... [ 88%] quickstart
> [2Kreading sources... [ 94%] related
> [2Kreading sources... [100%] usage
>
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying static files... done
> copying extra files... done
> done
> [2Kwriting output... [ 6%] api
> [2Kwriting output... [ 12%] api/bibfile
> [2Kwriting output... [ 18%] api/directives
> [2Kwriting output... [ 24%] api/domains
> [2Kwriting output... [ 29%] api/interface
> [2Kwriting output... [ 35%] api/nodes
> [2Kwriting output... [ 41%] api/plugin
> [2Kwriting output... [ 47%] api/pybtex
> [2Kwriting output... [ 53%] api/referencing
> [2Kwriting output... [ 59%] api/roles
> [2Kwriting output... [ 65%] api/transforms
> [2Kwriting output... [ 71%] changes
> [2Kwriting output... [ 76%] index
> [2Kwriting output... [ 82%] license
> [2Kwriting output... [ 88%] quickstart
> [2Kwriting output... [ 94%] related
> [2Kwriting output... [100%] usage
>
> generating indices... genindex py-modindex done
> [2Khighlighting module code... [ 4%] pybtex.style.template
> [2Khighlighting module code... [ 9%] sphinxcontrib.bibtex
> [2Khighlighting module code... [ 13%] sphinxcontrib.bibtex.bibfile
> [2Khighlighting module code... [ 17%] sphinxcontrib.bibtex.directives
> [2Khighlighting module code... [ 22%] sphinxcontrib.bibtex.domain
> [2Khighlighting module code... [ 26%] sphinxcontrib.bibtex.foot_directives
> [2Khighlighting module code... [ 30%] sphinxcontrib.bibtex.foot_domain
> [2Khighlighting module code... [ 35%] sphinxcontrib.bibtex.foot_roles
> [2Khighlighting module code... [ 39%] sphinxcontrib.bibtex.nodes
> [2Khighlighting module code... [ 43%] sphinxcontrib.bibtex.plugin
> [2Khighlighting module code... [ 48%] sphinxcontrib.bibtex.richtext
> [2Khighlighting module code... [ 52%] sphinxcontrib.bibtex.roles
> [2Khighlighting module code... [ 57%] sphinxcontrib.bibtex.style.names.last
> [2Khighlighting module code... [ 61%] sphinxcontrib.bibtex.style.referencing
> [2Khighlighting module code... [ 65%] sphinxcontrib.bibtex.style.referencing.author_year
> [2Khighlighting module code... [ 70%] sphinxcontrib.bibtex.style.referencing.basic_author_year
> [2Khighlighting module code... [ 74%] sphinxcontrib.bibtex.style.referencing.basic_label
> [2Khighlighting module code... [ 78%] sphinxcontrib.bibtex.style.referencing.extra_author
> [2Khighlighting module code... [ 83%] sphinxcontrib.bibtex.style.referencing.extra_label
> [2Khighlighting module code... [ 87%] sphinxcontrib.bibtex.style.referencing.extra_year
> [2Khighlighting module code... [ 91%] sphinxcontrib.bibtex.style.referencing.label
> [2Khighlighting module code... [ 96%] sphinxcontrib.bibtex.style.template
> [2Khighlighting module code... [100%] sphinxcontrib.bibtex.transforms
>
> writing additional pages... search done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded.
>
> The HTML pages are in _build/html.
>
> Build finished. The HTML pages are in _build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.bibtex/build; python3.12 -m pytest "-k not test_citation_rinoh"
> ============================= test session starts ==============================
> platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pytest.ini
> collected 123 items / 4 deselected / 119 selected
>
> test/test_autoapi.py E [ 0%]
> test/test_autodoc.py ... [ 3%]
> test/test_backrefs.py . [ 4%]
> test/test_bibfiles.py .........x [ 12%]
> test/test_bibliography.py .................. [ 27%]
> test/test_citation.py ...................x [ 44%]
> test/test_citation_target.py .................... [ 61%]
> test/test_debug.py .... [ 64%]
> test/test_duplicate.py ...... [ 69%]
> test/test_filter.py .... [ 73%]
> test/test_footcite.py ... [ 75%]
> test/test_latex.py ... [ 78%]
> test/test_list.py .... [ 81%]
> test/test_natbib.py ...... [ 86%]
> test/test_parallel.py . [ 87%]
> test/test_plugin.py ... [ 89%]
> test/test_root_doc.py . [ 90%]
> test/test_sphinx.py . [ 91%]
> test/test_spurious_div.py .. [ 93%]
> test/test_style.py ..... [ 97%]
> test/test_template.py ... [100%]
>
> ==================================== ERRORS ====================================
> ________________________ ERROR at setup of test_autoapi ________________________
>
> self = <sphinx.events.EventManager object at 0x7f190d9fb050>
> name = 'builder-inited', allowed_exceptions = (), args = ()
> results = [None, None, None, None]
> listeners = [EventListener(id=1, handler=<function validate_config_values at 0x7f190d9e0180>, priority=500), EventListener(id=9, h...880>, priority=500), EventListener(id=68, handler=<function process_generate_options at 0x7f190ccad580>, priority=500)]
>
> def emit(self, name: str, *args: Any,
> allowed_exceptions: tuple[type[Exception], ...] = ()) -> list:
> """Emit a Sphinx event."""
>
> # not every object likes to be repr()'d (think
> # random stuff coming via autodoc)
> with contextlib.suppress(Exception):
> logger.debug('[app] emitting event: %r%s', name, repr(args)[:100])
>
> results = []
> listeners = sorted(self.listeners[name], key=attrgetter("priority"))
> for listener in listeners:
> try:
> > results.append(listener.handler(self.app, *args))
>
> /usr/lib/python3/dist-packages/sphinx/events.py:97:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/autoapi/extension.py:164: in run_autoapi
> if sphinx_mapper_obj.load(
> /usr/lib/python3/dist-packages/autoapi/mappers/python/mapper.py:306: in load
> data = self.read_file(path=path, dir_root=dir_root)
> /usr/lib/python3/dist-packages/autoapi/mappers/python/mapper.py:323: in read_file
> parsed_data = Parser().parse_file(path)
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:41: in parse_file
> return self._parse_file(
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:38: in _parse_file
> return self.parse(node)
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:254: in parse
> data = parse_func(node)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <autoapi.mappers.python.parser.Parser object at 0x7f190cd0b7d0>
> node = <Module.some_module l.0 at 0x7f190c0b1ac0>
>
> def parse_module(self, node):
> path = node.path
> if isinstance(node.path, list):
> path = node.path[0] if node.path else None
>
> type_ = "module"
> if node.package:
> type_ = "package"
>
> self._name_stack = [node.name]
> self._encoding = node.file_encoding
>
> data = {
> "type": type_,
> "name": node.name,
> "full_name": node.name,
> > "doc": _prepare_docstring(node.doc or ""),
> "children": [],
> "file_path": path,
> "encoding": node.file_encoding,
> "all": astroid_utils.get_module_all(node),
> }
> E AttributeError: 'Module' object has no attribute 'doc'
>
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:229: AttributeError
>
> The above exception was the direct cause of the following exception:
>
> test_params = {'shared_result': None}
> app_params = _app_params(args=['html'], kwargs={'srcdir': PosixPath('/tmp/pytest-of-user42/pytest-18/autoapi')})
> make_app = <function make_app.<locals>.make at 0x7f190da3bd80>
> shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f190d9faa20>
>
> @pytest.fixture()
> def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
> shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
> """
> Provides the 'sphinx.application.Sphinx' object
> """
> args, kwargs = app_params
> > app_ = make_app(*args, **kwargs)
>
> /usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:139:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
> app_: Any = SphinxTestApp(*args, **kwargs)
> /usr/lib/python3/dist-packages/sphinx/testing/util.py:120: in __init__
> super().__init__(srcdir, confdir, outdir, doctreedir,
> /usr/lib/python3/dist-packages/sphinx/application.py:271: in __init__
> self._init_builder()
> /usr/lib/python3/dist-packages/sphinx/application.py:342: in _init_builder
> self.events.emit('builder-inited')
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <sphinx.events.EventManager object at 0x7f190d9fb050>
> name = 'builder-inited', allowed_exceptions = (), args = ()
> results = [None, None, None, None]
> listeners = [EventListener(id=1, handler=<function validate_config_values at 0x7f190d9e0180>, priority=500), EventListener(id=9, h...880>, priority=500), EventListener(id=68, handler=<function process_generate_options at 0x7f190ccad580>, priority=500)]
>
> def emit(self, name: str, *args: Any,
> allowed_exceptions: tuple[type[Exception], ...] = ()) -> list:
> """Emit a Sphinx event."""
>
> # not every object likes to be repr()'d (think
> # random stuff coming via autodoc)
> with contextlib.suppress(Exception):
> logger.debug('[app] emitting event: %r%s', name, repr(args)[:100])
>
> results = []
> listeners = sorted(self.listeners[name], key=attrgetter("priority"))
> for listener in listeners:
> try:
> results.append(listener.handler(self.app, *args))
> except allowed_exceptions:
> # pass through the errors specified as *allowed_exceptions*
> raise
> except SphinxError:
> raise
> except Exception as exc:
> if self.app.pdb:
> # Just pass through the error, so that it can be debugged.
> raise
> modname = safe_getattr(listener.handler, '__module__', None)
> > raise ExtensionError(__("Handler %r for event %r threw an exception") %
> (listener.handler, name), exc, modname=modname) from exc
> E sphinx.errors.ExtensionError: Handler <function run_autoapi at 0x7f190ccaf880> for event 'builder-inited' threw an exception (exception: 'Module' object has no attribute 'doc')
>
> /usr/lib/python3/dist-packages/sphinx/events.py:108: ExtensionError
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
> /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
> from cgi import parse_header
>
> ../../../../../../usr/lib/python3/dist-packages/pybtex/plugin/__init__.py:26
> /usr/lib/python3/dist-packages/pybtex/plugin/__init__.py:26: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
> import pkg_resources
>
> .pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/test/test_autoapi.py::test_autoapi
> /usr/lib/python3/dist-packages/autoapi/mappers/python/mapper.py:300: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
> for dir_root, path in sphinx.util.status_iterator(
>
> .pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_header
> .pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_header
> .pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_empty_no_header
> .pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_empty_no_header
> .pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_multi_foot
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/sphinxcontrib/bibtex/domain.py:233: DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.
> settings = docutils.frontend.OptionParser(
>
> .pybuild/cpython3_3.12_sphinxcontrib.bibtex/build/test/test_bibliography.py: 345 warnings
> /usr/lib/python3.12/optparse.py:1000: DeprecationWarning: The frontend.Option class will be removed in Docutils 0.21 or later.
> option = self.option_class(*args, **kwargs)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR test/test_autoapi.py::test_autoapi - sphinx.errors.ExtensionError: Hand...
> ===== 116 passed, 4 deselected, 2 xfailed, 353 warnings, 1 error in 15.61s =====
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.bibtex/build; python3.12 -m pytest "-k not test_citation_rinoh"
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinxcontrib.bibtex/build; python3.11 -m pytest "-k not test_citation_rinoh"
> ============================= test session starts ==============================
> platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pytest.ini
> collected 123 items / 4 deselected / 119 selected
>
> test/test_autoapi.py E [ 0%]
> test/test_autodoc.py ... [ 3%]
> test/test_backrefs.py . [ 4%]
> test/test_bibfiles.py .........x [ 12%]
> test/test_bibliography.py .................. [ 27%]
> test/test_citation.py ...................x [ 44%]
> test/test_citation_target.py .................... [ 61%]
> test/test_debug.py .... [ 64%]
> test/test_duplicate.py ...... [ 69%]
> test/test_filter.py .... [ 73%]
> test/test_footcite.py ... [ 75%]
> test/test_latex.py ... [ 78%]
> test/test_list.py .... [ 81%]
> test/test_natbib.py ...... [ 86%]
> test/test_parallel.py . [ 87%]
> test/test_plugin.py ... [ 89%]
> test/test_root_doc.py . [ 90%]
> test/test_sphinx.py . [ 91%]
> test/test_spurious_div.py .. [ 93%]
> test/test_style.py ..... [ 97%]
> test/test_template.py ... [100%]
>
> ==================================== ERRORS ====================================
> ________________________ ERROR at setup of test_autoapi ________________________
>
> self = <sphinx.events.EventManager object at 0x7fb14a998c50>
> name = 'builder-inited', allowed_exceptions = (), args = ()
> results = [None, None, None, None]
> listeners = [EventListener(id=1, handler=<function validate_config_values at 0x7fb14a6e36a0>, priority=500), EventListener(id=9, h...800>, priority=500), EventListener(id=68, handler=<function process_generate_options at 0x7fb1498a1bc0>, priority=500)]
>
> def emit(self, name: str, *args: Any,
> allowed_exceptions: tuple[type[Exception], ...] = ()) -> list:
> """Emit a Sphinx event."""
>
> # not every object likes to be repr()'d (think
> # random stuff coming via autodoc)
> with contextlib.suppress(Exception):
> logger.debug('[app] emitting event: %r%s', name, repr(args)[:100])
>
> results = []
> listeners = sorted(self.listeners[name], key=attrgetter("priority"))
> for listener in listeners:
> try:
> > results.append(listener.handler(self.app, *args))
>
> /usr/lib/python3/dist-packages/sphinx/events.py:97:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/autoapi/extension.py:164: in run_autoapi
> if sphinx_mapper_obj.load(
> /usr/lib/python3/dist-packages/autoapi/mappers/python/mapper.py:306: in load
> data = self.read_file(path=path, dir_root=dir_root)
> /usr/lib/python3/dist-packages/autoapi/mappers/python/mapper.py:323: in read_file
> parsed_data = Parser().parse_file(path)
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:41: in parse_file
> return self._parse_file(
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:38: in _parse_file
> return self.parse(node)
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:254: in parse
> data = parse_func(node)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <autoapi.mappers.python.parser.Parser object at 0x7fb149916b50>
> node = <Module.some_module l.0 at 0x7fb14a998b50>
>
> def parse_module(self, node):
> path = node.path
> if isinstance(node.path, list):
> path = node.path[0] if node.path else None
>
> type_ = "module"
> if node.package:
> type_ = "package"
>
> self._name_stack = [node.name]
> self._encoding = node.file_encoding
>
> data = {
> "type": type_,
> "name": node.name,
> "full_name": node.name,
> > "doc": _prepare_docstring(node.doc or ""),
> "children": [],
> "file_path": path,
> "encoding": node.file_encoding,
> "all": astroid_utils.get_module_all(node),
> }
> E AttributeError: 'Module' object has no attribute 'doc'
>
> /usr/lib/python3/dist-packages/autoapi/mappers/python/parser.py:229: AttributeError
>
> The above exception was the direct cause of the following exception:
>
> test_params = {'shared_result': None}
> app_params = _app_params(args=['html'], kwargs={'srcdir': PosixPath('/tmp/pytest-of-user42/pytest-19/autoapi')})
> make_app = <function make_app.<locals>.make at 0x7fb14a6e18a0>
> shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7fb14a93c610>
>
> @pytest.fixture()
> def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
> shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
> """
> Provides the 'sphinx.application.Sphinx' object
> """
> args, kwargs = app_params
> > app_ = make_app(*args, **kwargs)
>
> /usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:139:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
> app_: Any = SphinxTestApp(*args, **kwargs)
> /usr/lib/python3/dist-packages/sphinx/testing/util.py:120: in __init__
> super().__init__(srcdir, confdir, outdir, doctreedir,
> /usr/lib/python3/dist-packages/sphinx/application.py:271: in __init__
> self._init_builder()
> /usr/lib/python3/dist-packages/sphinx/application.py:342: in _init_builder
> self.events.emit('builder-inited')
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <sphinx.events.EventManager object at 0x7fb14a998c50>
> name = 'builder-inited', allowed_exceptions = (), args = ()
> results = [None, None, None, None]
> listeners = [EventListener(id=1, handler=<function validate_config_values at 0x7fb14a6e36a0>, priority=500), EventListener(id=9, h...800>, priority=500), EventListener(id=68, handler=<function process_generate_options at 0x7fb1498a1bc0>, priority=500)]
>
> def emit(self, name: str, *args: Any,
> allowed_exceptions: tuple[type[Exception], ...] = ()) -> list:
> """Emit a Sphinx event."""
>
> # not every object likes to be repr()'d (think
> # random stuff coming via autodoc)
> with contextlib.suppress(Exception):
> logger.debug('[app] emitting event: %r%s', name, repr(args)[:100])
>
> results = []
> listeners = sorted(self.listeners[name], key=attrgetter("priority"))
> for listener in listeners:
> try:
> results.append(listener.handler(self.app, *args))
> except allowed_exceptions:
> # pass through the errors specified as *allowed_exceptions*
> raise
> except SphinxError:
> raise
> except Exception as exc:
> if self.app.pdb:
> # Just pass through the error, so that it can be debugged.
> raise
> modname = safe_getattr(listener.handler, '__module__', None)
> > raise ExtensionError(__("Handler %r for event %r threw an exception") %
> (listener.handler, name), exc, modname=modname) from exc
> E sphinx.errors.ExtensionError: Handler <function run_autoapi at 0x7fb149b51800> for event 'builder-inited' threw an exception (exception: 'Module' object has no attribute 'doc')
>
> /usr/lib/python3/dist-packages/sphinx/events.py:108: ExtensionError
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
> /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
> from cgi import parse_header
>
> ../../../../../../usr/lib/python3/dist-packages/pybtex/plugin/__init__.py:26
> /usr/lib/python3/dist-packages/pybtex/plugin/__init__.py:26: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
> import pkg_resources
>
> .pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/test/test_autoapi.py::test_autoapi
> /usr/lib/python3/dist-packages/autoapi/mappers/python/mapper.py:300: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
> for dir_root, path in sphinx.util.status_iterator(
>
> .pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_header
> .pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_header
> .pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_empty_no_header
> .pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_empty_no_header
> .pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/test/test_bibliography.py::test_bibliography_multi_foot
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/sphinxcontrib/bibtex/domain.py:233: DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.
> settings = docutils.frontend.OptionParser(
>
> .pybuild/cpython3_3.11_sphinxcontrib.bibtex/build/test/test_bibliography.py: 345 warnings
> /usr/lib/python3.11/optparse.py:1000: DeprecationWarning: The frontend.Option class will be removed in Docutils 0.21 or later.
> option = self.option_class(*args, **kwargs)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR test/test_autoapi.py::test_autoapi - sphinx.errors.ExtensionError: Hand...
> ===== 116 passed, 4 deselected, 2 xfailed, 353 warnings, 1 error in 14.46s =====
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinxcontrib.bibtex/build; python3.11 -m pytest "-k not test_citation_rinoh"
> 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/01/15/sphinxcontrib-bibtex_2.6.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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.
More information about the debian-science-maintainers
mailing list