[Python-modules-team] Bug#959558: this fix breaks things
Rebecca N. Palmer
rebecca_palmer at zoho.com
Sat May 30 22:37:02 BST 2020
This fix causes Sphinx to fail if documenting an object whose
__getattr__ fails, e.g. flask.request. This causes at least snakemake
to FTBFS.
Details and fix:
https://github.com/sphinx-doc/sphinx/pull/7520
A workaround in failing packages is to add
autodoc_default_options = {'exclude-members': 'request'}
(or whatever object triggers the error) to conf.py, but if there are
more than just snakemake, I suggest instead fixing sphinx itself.
More information about the Python-modules-team
mailing list