Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.8 failures #167

Closed
hroncok opened this issue Apr 22, 2019 · 0 comments · Fixed by #168
Closed

Python 3.8 failures #167

hroncok opened this issue Apr 22, 2019 · 0 comments · Fixed by #168

Comments

@hroncok
Copy link
Contributor

hroncok commented Apr 22, 2019

$ tox -e py38
GLOB sdist-make: .../sphinxcontrib-bibtex/setup.py
py38 inst-nodeps: .../sphinxcontrib-bibtex/.tox/.tmp/package/1/sphinxcontrib-bibtex-1.0.0a0.zip
py38 installed: alabaster==0.7.12,Babel==2.6.0,certifi==2019.3.9,chardet==3.0.4,coverage==4.5.3,cssselect==1.0.3,docutils==0.14,idna==2.8,imagesize==1.1.0,Jinja2==2.10.1,latexcodec==1.0.6,lxml==4.3.3,MarkupSafe==1.1.1,nose==1.3.7,oset==0.1.3,packaging==19.0,pybtex==0.22.2,pybtex-docutils==0.2.1,Pygments==2.3.1,pyparsing==2.4.0,pyquery==1.4.0,pytz==2019.1,PyYAML==5.1,requests==2.21.0,six==1.12.0,snowballstemmer==1.2.1,Sphinx==2.0.1,sphinx-testing==1.0.0,sphinxcontrib-applehelp==1.0.1,sphinxcontrib-bibtex==1.0.0a0,sphinxcontrib-devhelp==1.0.1,sphinxcontrib-htmlhelp==1.0.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.2,sphinxcontrib-serializinghtml==1.1.3,Tinkerer==1.7.1,urllib3==1.24.1
py38 run-test-pre: PYTHONHASHSEED='2012606271'
py38 runtests: commands[0] | python -m nose
E..EEE...FE...E.E....EEEE..
======================================================================
ERROR: test_bibfile_out_of_date.test_bibfile_out_of_date
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_bibfile_out_of_date.py", line 33, in test_bibfile_out_of_date
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41de5f40> in filter expression

======================================================================
ERROR: test_custom_style.test_custom_style
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_custom_style.py", line 22, in test_custom_style
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41b161c0> in filter expression

======================================================================
ERROR: test_filter.test_filter
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_filter.py", line 22, in test_filter
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e419a76d0> in filter expression

======================================================================
ERROR: test_filter_fix_author_keyerror.test_filter_fix_author_keyerror
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_filter_fix_author_keyerror.py", line 22, in test_filter_fix_author_keyerror
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41b9dc10> in filter expression

======================================================================
ERROR: test_issue14_2.test_label_prefix
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_issue14_2.py", line 22, in test_label_prefix
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41ae95e0> in filter expression

======================================================================
ERROR: test_issue4.test_encoding
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_issue4.py", line 22, in test_encoding
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41a35040> in filter expression

======================================================================
ERROR: test_issue62.test_local_bibliographies
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_issue62.py", line 75, in test_local_bibliographies
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e417654c0> in filter expression

======================================================================
ERROR: test_latex_refs.test_latex_refs
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_latex_refs.py", line 22, in test_latex_refs
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41765d30> in filter expression

======================================================================
ERROR: test_list_bullet.test_list_bullet
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_list_bullet.py", line 22, in test_list_bullet
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e419b9a90> in filter expression

======================================================================
ERROR: test_list_citation.test_list_citation
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_list_citation.py", line 28, in test_list_citation
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41a2b760> in filter expression

======================================================================
ERROR: test_list_enumerated.test_list_enumerated
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_list_enumerated.py", line 22, in test_list_enumerated
    app.builder.build_all()
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 284, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/lib64/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1598, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1660, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 959, in handle
    rv = self.filter(record)
  File "/usr/lib64/python3.8/logging/__init__.py", line 820, in filter
    result = f.filter(record)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 428, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: syntax error in :filter: expression; invalid node <_ast.Constant object at 0x7f5e41c3af70> in filter expression

======================================================================
FAIL: test_issue14.test_duplicate_label
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File ".../sphinxcontrib-bibtex/.tox/py38/lib/python3.8/site-packages/sphinx_testing/util.py", line 166, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
  File ".../sphinxcontrib-bibtex/test/test_issue14.py", line 29, in test_duplicate_label
    assert re.search(
AssertionError

Name                                 Stmts   Miss Branch BrPart  Cover
----------------------------------------------------------------------
sphinxcontrib/bibtex/__init__.py        64      3     22      3    93%
sphinxcontrib/bibtex/cache.py          171      0     82      0   100%
sphinxcontrib/bibtex/directives.py      81      0     20      0   100%
sphinxcontrib/bibtex/nodes.py            3      0      0      0   100%
sphinxcontrib/bibtex/roles.py           15      0      4      0   100%
sphinxcontrib/bibtex/transforms.py      58      0     20      0   100%
----------------------------------------------------------------------
TOTAL                                  392      3    148      3    99%
----------------------------------------------------------------------
Ran 27 tests in 4.399s

FAILED (errors=11, failures=1)
ERROR: InvocationError for command '.../sphinxcontrib-bibtex/.tox/py38/bin/python -m nose' (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py38: commands failed

See python/cpython#9445 and https://bugs.python.org/issue32892

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant