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.