Closed
Description
Describe the bug
methods decorated with @contextmanager
trigger errors similar to this when built with sphinx 3.1.0 (this worked in 3.0.4):
error while formatting arguments for flake8.options.manager.OptionManager.group:
To Reproduce
Steps to reproduce the behavior:
$ git clone https://github.com/pycqa/flake8
$ cd flake8
$ tox -e docs
Expected behavior
This should work!
Your project
https://github.com/pycqa/flake8
Screenshots
N/A
Environment info
- OS: ubuntu 20.04
- Python version: 3.8.2
- Sphinx version: 3.1.0
- Sphinx extensions: sphinx-rtd-theme, sphinx-prompt
- Extra tools: N/A
Additional context
N/A
From a bisection, this is the commit which introduced the regression: 3a81ffa
CC @tk0miya
Metadata
Metadata
Assignees
Projects
Relationships
Development
No branches or pull requests
Activity
skip sphinx 3.1.0
dvorapa commentedon Jun 9, 2020
Might have similar cause to @classproperty issue described in #7805
cupyx.optimizing.optimize
cupy/cupy#3397tk0miya commentedon Jun 13, 2020
Note: I confirmed with following Dockerfile:
I got this traceback:
Fix autodoc: Show detailed warning when type_comment is mismatched (r…
Fix sphinx-doc#7807: autodoc: wrong signature is shown for the functi…
Fix sphinx-doc#7807: autodoc: wrong signature is shown for the functi…
Merge pull request #7831 from tk0miya/7807_contextmanager