Bug#973037: sphinxcontrib-bibtex's autopkg tests are failing with python3.9

Matthias Klose doko at debian.org
Tue Oct 27 12:45:47 GMT 2020


Package: src:sphinxcontrib-bibtex
Version: 1.0.0-1
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9


======================================================================
ERROR: test_issue4.test_encoding
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/sphinx_testing/util.py", line 171, in
decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File
"/tmp/autopkgtest-lxc.__y4ypab/downtmp/autopkgtest_tmp/test/test_issue4.py",
line 22, in test_encoding
    app.builder.build_all()
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 260,
in build_all
    self.build(None, summary=__('all source files'), method='all')
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 311,
in build
    updated_docnames = set(self.read())
  File "/usr/lib/python3.9/contextlib.py", line 124, in __exit__
    next(self.gen)
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 213, in
pending_warnings
    memhandler.flushTo(logger)
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 178, in flushTo
    logger.handle(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 1587, in handle
    self.callHandlers(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 1649, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 944, in handle
    rv = self.filter(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 802, in filter
    result = f.filter(record)
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 421, in filter
    raise exc
sphinx.errors.SphinxWarning:
/tmp/autopkgtest-lxc.__y4ypab/downtmp/autopkgtest_tmp/test/issue4/index.rst:3:Error
in "bibliography" directive:
invalid option value: (option: "encoding"; value: 'latex+utf')
unknown encoding: "latex+utf".

.. bibliography:: test.bib
   :all:
   :encoding: latex+utf

----------------------------------------------------------------------
Ran 29 tests in 8.494s

FAILED (errors=1)



More information about the debian-science-maintainers mailing list