Bug#959558: this fix breaks things

2020-06-03 Thread Dmitry Shachnev
Hi Rebecca!

On Sat, May 30, 2020 at 10:37:02PM +0100, Rebecca N. Palmer wrote:
> 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.

Thanks for the heads up, fixed in 2.4.3-4:

https://tracker.debian.org/news/1150253/accepted-sphinx-243-4-source-into-unstable/

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#959558: this fix breaks things

2020-05-30 Thread Rebecca N. Palmer
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.