Closed maxrjones closed 1 year ago
Hmm, wondering if it's a sphinx issue. A quick search yielded https://github.com/sphinx-doc/sphinx/issues/10943 and https://stackoverflow.com/questions/73372315/autosummary-fails-to-import-the-methods-from-the-package-classes-locally which looks related? Something about the docs build not working when the package is installed in editable mode.
Thanks @weiji14! I hadn't thought to try a non-editable install. That runs without errors, so I'll close this as an upstream issue.
If we wanted an automatic workaround we could modify the sphinx Makefile as in https://github.com/alteryx/featuretools/pull/2367, but this is an uncommon issue and that would slow builds down for all other cases so I don't think it's necessary.
Description of the problem
Since last year, I haven't been able to build the PyGMT docs locally on my M1 MacBook. The same steps work fine on a Linux VM and no online solutions have worked except changing the imports layout so that the methods are within the class rather than importing outside the top-level.
Minimal Complete Verifiable Example
Full error message
System information