Skip to content
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

[BUG] readthedocs build failing with AttributeError("'TocTree' object has no attribute 'get_toctree_ancestors'") #5117

Closed
fkiraly opened this issue Aug 17, 2023 · 3 comments · Fixed by #5119
Labels
bug Something isn't working documentation Documentation & tutorials maintenance Continuous integration, unit testing & package distribution

Comments

@fkiraly
Copy link
Collaborator

fkiraly commented Aug 17, 2023

Readthedocs builds are erroring out with sphinx.errors.ThemeError: An error happened in rendering the page about. Reason: AttributeError("'TocTree' object has no attribute 'get_toctree_ancestors'"), since yesterday, I think?

I can identify no immediate reason why they would.

This seems high priority as it prevents us from updating documentation.

@fkiraly fkiraly added bug Something isn't working documentation Documentation & tutorials labels Aug 17, 2023
@fkiraly
Copy link
Collaborator Author

fkiraly commented Aug 17, 2023

Might be due to the sphinx 7.2.0 release 12 hours ago, so attempted fix adds an upper bound: #5118

@fkiraly
Copy link
Collaborator Author

fkiraly commented Aug 17, 2023

Update: that fixes it, though we should still understand what we need to do to make our doc build compatible with 7.2.0 and above.

@fkiraly fkiraly added the maintenance Continuous integration, unit testing & package distribution label Aug 17, 2023
@yarnabrina
Copy link
Collaborator

This is definitely caused by the new Sphinx release: sphinx-doc/sphinx#11608

There's a new release as well, going to try in a new MNT PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Documentation & tutorials maintenance Continuous integration, unit testing & package distribution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants