New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'sphinx.domains.c' has no attribute 'CMacroObject' #495
Comments
Workaround breathe-doc/breathe#495 Reported-by: Jeremy L. Thompson <jeremy.thompson@colorado.edu>
Breathe >= 4.15.0 explicitly requires Sphinx >= 3.0, as can be seen in https://github.com/michaeljones/breathe/blob/v4.15.0/setup.py#L18. I suppose you are force-installing things somehow and/or are ignoring dependency versions. Sphinx 3.0.0 definitely has |
Thanks. I expect other people will encounter this on ReadTheDocs where the default Sphinx is even older. Our requirements.txt only had |
Thing is it should refuse to install in such a case, as the dependency cannot be satisfied, for example on microsoft/LightGBM#2982 the resulting error is:
I expect |
See breathe-doc/breathe#495 breathe-doc/breathe#496 RTD does not yet provide Sphinx 3.0
RTD does not yet provide Sphinx 3 but Breathe 4.15.0+ requires Sphinx 3. Ref.: breathe-doc/breathe#495
RTD does not yet provide Sphinx 3 but the Breathe extension in version 4.15.0+ requires Sphinx 3. Ref.: breathe-doc/breathe#495
RTD does not yet provide Sphinx 3 but Breathe 4.15.0+ requires Sphinx 3. Ref.: breathe-doc/breathe#495
RTD does not yet provide Sphinx 3 but the Breathe extension in version 4.15.0+ requires Sphinx 3. Ref.: breathe-doc/breathe#495
This just showed up on upgrade to v4.15.0; cf. cee5cd1
The text was updated successfully, but these errors were encountered: