Closed manodeep closed 8 months ago
Maybe infinite recursion if __getattr__()
is used in construction?
Would autodoc_mock_imports
work here? That's what I usually use: https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports
Since RTD will require an yml file (as I found out from a different project), I was checking out the Corrfunc settings on RTD. Turns out we are using python2.7 on RTD. When I changed that to CPython3.x (python3.7), then the RTD build with an error message about reaching maximum recursion. I have reverted the change, but we will have to deal with this error sooner or later.
The error is many many lines like the following:
Likely culprit are these lines: https://github.com/manodeep/Corrfunc/blob/master/docs/source/conf.py#L21-L34 @lgarrison Is there something specific in those lines that work for py2 but not py3? Also @lgarrison can you please send me your RTD username so I can add you as a maintainer for Corrfunc on RTD.
Related: While solving this, perhaps we can also update the intersphinx mappings for numpy/scipy and pick the relevant ones from: